blueman378 Posted December 6, 2007 Share Posted December 6, 2007 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 Quote Link to comment https://forums.phpfreaks.com/topic/80420-solved-just-a-quickie/ Share on other sites More sharing options...
PHP_PhREEEk Posted December 6, 2007 Share Posted December 6, 2007 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 Quote Link to comment https://forums.phpfreaks.com/topic/80420-solved-just-a-quickie/#findComment-407746 Share on other sites More sharing options...
blueman378 Posted December 6, 2007 Author Share Posted December 6, 2007 yeah, i worked that out after a while... thats what happens when you try to combine 2 completely separate scripts, jsut as a matter of interest, how long have you been coding? Quote Link to comment https://forums.phpfreaks.com/topic/80420-solved-just-a-quickie/#findComment-407747 Share on other sites More sharing options...
PHP_PhREEEk Posted December 6, 2007 Share Posted December 6, 2007 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 Quote Link to comment https://forums.phpfreaks.com/topic/80420-solved-just-a-quickie/#findComment-407756 Share on other sites More sharing options...
blueman378 Posted December 6, 2007 Author Share Posted December 6, 2007 hmm lol u have been coding for longer than i have been breathing lol ( im 16) Quote Link to comment https://forums.phpfreaks.com/topic/80420-solved-just-a-quickie/#findComment-407758 Share on other sites More sharing options...
PHP_PhREEEk Posted December 6, 2007 Share Posted December 6, 2007 Well... my perception would be that you are doing something infinitely more productive with your computer than most 16 yr olds... hehe Keep at it man... at 16, you learn faster and easier! PhREEEk Quote Link to comment https://forums.phpfreaks.com/topic/80420-solved-just-a-quickie/#findComment-407760 Share on other sites More sharing options...
blueman378 Posted December 6, 2007 Author Share Posted December 6, 2007 lol true, haha well ive been coding html sinse i was 11 and this year decided it is time to advance it from just html so php was the logical step, but thanks for all your help and a donation will be coming towards php freaks soon! Quote Link to comment https://forums.phpfreaks.com/topic/80420-solved-just-a-quickie/#findComment-407761 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.