Jump to content

ThYGrEaTCoDeR201

Members
  • Posts

    21
  • Joined

  • Last visited

    Never

Everything posted by ThYGrEaTCoDeR201

  1. If you want to get the last row in a Mysql table, you can just LIMIT it.
  2. sometimes you may have to use ob_start(); if you don't want to get a bunch of errors.
  3. I just tried to download it and it worked fine for me?
  4. Yea inside the mysql query that inserts, you cant have VALUES("HELLO") instead have VALUES('HELLO')
  5. header("refresh: 5; url=www.phpfreaks.com"); In this example, the page will be redirected in 5 seconds..This way the user can see the echo's of the errors before being redirected.
  6. Also remember that a whitespace in a variable can be a true value. Example: $var1 = ""; this will be empty $var2 = " "; this is the same as 1
  7. Umm if you want to update multiple rows with php, the best thing to do is use a loop.
  8. A function will also work inside a function as long as the function is defined.
  9. Well I can't really see anything wrong with it, except for your queries. For good practice always use INSERT INTO instead of insert into. This will help you in the future, and it also helps you fix scripts easily.
×
×
  • 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.