Jump to content

Maq

Administrators
  • Posts

    9,363
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by Maq

  1. Ermmmmm, something like? echo "" . $player->username . "";
  2. I found this reply for a similar problem on MySQL, http://dev.mysql.com/doc/refman/5.0/en/example-auto-increment.html Hope this helps.
  3. Lol, same here. pravakar, we're going to need more information in order for anybody to help you.
  4. As far as what? Looks, design, navigational ease, SEO, etc... You have to be more specific. Again, for what? Yes, this one: http://www.phpfreaks.com/forums/index.php/board,10.0.html
  5. I second that. What exactly is "cart cracking", some sort of hack? * googles * .... EDIT: Google found nothing but thought I meant "cat cracking". You made need to clarify your problem.
  6. They provide a "How to fix" section for each error, have you read that?
  7. Bottom right tab, looks like [sOLVED].
  8. You don't need single quotes around the table: $testActive = mysql_query("SELECT * FROM ActiveUsers WHERE Usr = '$varUsr'") or die(mysql_error());
  9. Well you need to build your query depending on whether or not your POST values are set.
  10. You can use UPDATE.
  11. Then please mark as [sOLVED].
  12. You can use backticks if you want, it won't hurt, it just makes things messy when you have them, single quotes and double quotes.
  13. Try this: $select = mysql_query("UPDATE example_table SET hits = hits+1 WHERE title_music='{$_GET['track']}'") or die(mysql_error()); NOTE: You don't need all those backticks. The only time you need them is when you're using reserved MySQL words. You can also escape the single quotes from your GET, which is how you retrieve variables from the URL, with { and }.
  14. Probably the line that has " Your query is probably failing change this line to: $testActive = mysql_query("SELECT * FROM 'ActiveUsers' WHERE Usr = '$varUsr'") or die(mysql_error());
  15. Hehehe, I only said cause you said it in the other thread...
  16. Wow, I'm really not into Wall-E, in fact I really don't even know what/who it is, but that's impressive.
  17. Your while syntax is wrong, should look like this: while ($row_rs_categories = mysql_fetch_assoc($rs_categories)) { echo "no more error ". } /// Error Here
  18. Is there an echo in here...?
  19. Missing a comma here: $Array = explode(",", $Function);
  20. Sure no problem. Glad it all works now, after that grueling display of modifying and debugging code, but that's how you learn. Please mark [sOLVED]
  21. Can you post your current code and the EXACT error?
  22. Never needed one, no one I know ever "needed" a gun. My friend's father used a gun when his house was robbed, other than that, I don't know anyone who has used one for protection. I would like to get a medium sized pistol to go to the shooting range, but I'm too lazy and/or busy to actually do it.
  23. explode returns and array so you don't need to declare it one. Just use what jack said: $Array = explode(',' $Function);
  24. No need for a regex solution when there is a native function already designed for this.
×
×
  • 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.