Jump to content

[SOLVED] just a quickie


blueman378

Recommended Posts

hi guys im having a few probs with this:

mysql_query"DELETE FROM
".games."
WHERE gName='$name'
AND gThumb='$thumb'
  ") 

 

basically its the ".games." part,

 

error:

Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in C:\wamp\www\admin\gameuninstaller.php on line 154

 

thanks

Link to comment
https://forums.phpfreaks.com/topic/80420-solved-just-a-quickie/
Share on other sites

What is the actual tablename? Is it games? You are also missing an opening paren and a semi-colon

 

If it is games, then:

 

<?php
mysql_query("DELETE FROM `games`
             WHERE gName='$name'
             AND gThumb='$thumb'
            ");

 

PhREEEk

Link to comment
https://forums.phpfreaks.com/topic/80420-solved-just-a-quickie/#findComment-407746
Share on other sites

I started out programming in BASIC 2.0 on a Commodore 64 back around '89. Moved up to BASIC 7.0 on a Commodore 128, then eventually learned machine language. Went PC and went with hardware instead of software. Took up HTML around '98, and eventually PHP in 2002. So, all in total, I've been programming on and off for around 18 years... Hope that was interesting... lol

 

PhREEEk

Link to comment
https://forums.phpfreaks.com/topic/80420-solved-just-a-quickie/#findComment-407756
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.