Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About danm68

  • Rank

Previous Fields

  • Languages
    x(html), css, php (learning)

Contact Methods

  • Website URL
  • ICQ

Profile Information

  • Location
  • Interests
  1. Try posting in the xslt forum? (If you haven't already)
  2. danm68

    Php Projects

    login system, expand it to user management. Feature-ise away
  3. For starters to see all your $_POST data: echo "<pre>";print_r($_POST);echo "</pre>"; The <pre> tags are just so you can view the POST data easier.So to check if the hidden value is sent with the POST data, you can do an if statement like so: if(isset($_POST['submitted'])){ //Form was sent, execute code in these brackets. //eg. set variables to $_POST data.}else{ //Form was not sent // set variables to database values.} (If you aren't already, just name the submit button, and check the name. ($_POST['submitName'])Forgive me I understood this wrong, but basically if th
  4. danm68

    Logging System

    That would be handy.But as a starting point: logging this in a text file and using arrays. You might want to look at a function called file().It reads out each row as an array.dbase.txt:row1 cell1 |&| row1 cell2 |&| row1 cell3row2 cell1 |&| row2 cell2 |&| row2 cell3row3 cell1 |&| row3 cell2 |&| row3 cell3 somephpfile.php: //add code checking if file exists, to stop errors when trying to open...$data = file('dbase.txt');//$data holds this info//$data[0] = row1 cell1 |&| row1 cell2 |&| row1 cell3//$data[1] = row2 cell1 |&| row2 cell2 |&| row2 cell3//$dat
  5. Hahaha, that's gold.I've never thought of using javascript like that. Kinda forgot that you can link to external files.
  6. What's more important? The information, or the twitter posts?My eye's immediately went to the twitter posts.As skemcin said, separate it, and maybe smaller text?More spacing!I think the larger the text, the more space you want. (List just before the bottom of page)And the top of your footer feels a little close, and separate the links as well.
  7. Maybe a different shade of green for the top?Looks ..funny.. to me.I like your version 3 .And definitely a home link on the gallery.Otherwise looks nice.
  8. danm68

    I'm Confused About It

    Admiring the patience shown here. Use a USB.Maybe read DD's post?
  9. I remember when I made my first mock site with php (not that long ago..) I got the layout working/ looking how I wanted it, and converted pieces to php as I went. (Basically your second suggestion) ie: Changed basic navigation to a dynamic navigation, loading different links depending on which directory you are in. Changed "Calendar here" text for an actual calendar. Created login pages that worked with forms already in place, and displaying username on pages if you were logged in.blah blah you get the idea. But if you can I would save your pages as .php extensions, because that way i
  10. You should know that this wasn't made using just html. That would be suicide. It uses PHP. Check out the tutorial if you're interested.PHP generates things dynamically. That site would have a database holding all those items, and the PHP would display them on the page. Whoever made that page did not type out line after line in just html.When you say 'How many pages does this site contain?', if you only count the links on the side, and the products on the main display, only 2 pages.If you look at the link in the status or address bar, the name of the page is the part before the question mark '?
  11. http://edrackham.com/apache/beginners-mod_rewrite-tutorial/Mod rewrite tutorial for you. Hopefully it covers what you want to know.
  12. Or, if you're interested in a method that does not use javascript, only css and html, then check out this: http://meyerweb.com/eric/css/edge/menus/demo.htmlSuppose you could call it a 'dropdown' or 'fly-out' menu.The only problem with the css menu, is that it won't work in Internet Explorer. I think it works in most others? (Firefox, Chrome, Safari, Opera)Correct me if I'm wrong.And that for the submenu to display you rely on keeping the mouse over the menu, so your links can't be too small.Obviously javascript has an advantage with just clicking to keep a submenu active.
  13. ingolme's method is good. Further reading: http://www.alistapart.com/articles/flashsatay
  14. Password protected seems a bit much work for something that you are going to unveil anyway.Why don't you: use Synook's suggestion. use CSS: form{display:none;} or form{visibility:hidden;}, this way no one can see the form and submit anything, (unless they view page source or edit it with firebug or similar) place html comments around it (same issue as above), or place php comments around the form output so the html code is never sent. make another input element, and in your php register code, if that value is not equal to a certain number or string, then don't run php register code. Kind of li
  • Create New...