Jump to content

Maq

Administrators
  • Posts

    9,363
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by Maq

  1. Usually this means a syntax error like missing semi colon or what thorpe said, unclosed quotes, or not using quotes, w/e.
  2. How is it submitted? A button with $_POST for example...
  3. me either @wmguk in your subject you have "JS prompt for input to work with PHP", so i believe this belongs in the javascript section. But yes you can check with PHP and if($var == "ABC") { // your javascript pop up code } else { // go to next page or w/e } We need to see your current code where you want to do this.
  4. Nice, I think that looks a lot better
  5. Maq

    Desktop SS

    Halloween..... Children of the pumpkins!
  6. I think what you're referring to is Pagination. There is a good tutorial for pagination on this site, check it out!
  7. cool solved then?
  8. That's one of the reasons I was wondering if there was some standard for naming in PHP. I really haven't done any research but from the built in functions it doesn't point to any clear standard.
  9. I use camel case for functions (cause I learned java first) and lowercase + underscores for my vars. I don't even know what the standard is, or if there even is one...
  10. Maq

    Desktop SS

    shuuuutup, lol
  11. Looks a lot better. You should change the headings to a different color for, "Categories" and "Latest". It's still hard to see. Other than that looks good, I'm sure it will look a lot better with the pictures though.
  12. Maq

    ?= pages

    Sure, it's pretty straightforward.
  13. That's a hard thing to do, congratulations!
  14. We need to see your code...
  15. Please read normalization. You said: which implies that you are only using 1 or were thinking about only using 1 table. I was telling you that in order for you to have a high level of normalization you need to have more than 1 table in your situation.
  16. I already have the mail setup, code please...?
  17. sorry to hear that
  18. It's like fettuccine pasta except wider, i think... i enjoy any kind of Italian food, with very few exceptions.
  19. I bet wordpress uses this to convert special characters (and quotes): htmlentities($var, ENT_QUOTES);
  20. *** Make sure you're in the same directory as the .sql script.
  21. Seems like you have to run this in a command prompt, have you tried that?
  22. You kind of have to have more than 1 table in a database or it's going be impossible for you to pull out information. You should really google a good design example and maybe implement it into yours.
  23. Try this: mysql_connect('localhost','dname','pass'); mysql_select_db('test'); $query="SELECT * FROM tbname"; $result = mysql_query($query) or die(mysql_error()); while ($res=mysql_fetch_array($result)) { echo $res['name1']; echo $res['name2']; } ?>
  24. Haha yeah, just upgrade the whole computer.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.