Gamingforce Interactive Forums
85242 35212

Go Back   Exploding Garrmondo Weiner Interactive Swiss Army Penis > Garrmondo Network > Help Desk
Register FAQ GFWiki Community Donate Arcade ChocoJournal Calendar

Notices

Welcome to the Exploding Garrmondo Weiner Interactive Swiss Army Penis.
GFF is a community of gaming and music enthusiasts. We have a team of dedicated moderators, constant member-organized activities, and plenty of custom features, including our unique journal system. If this is your first visit, be sure to check out the FAQ or our GFWiki. You will have to register before you can post. Membership is completely free (and gets rid of the pesky advertisement unit underneath this message).


Complete PHP noob needs help
Reply
 
Thread Tools
Secret Squirrel
River Chocobo


Member 89

Level 24.44

Mar 2006


Reply With Quote
Old Dec 30, 2009, 02:33 PM 1 #1 of 6
I think that the first thing you should do is print out $query and see what it's really trying to do. Since you're not a programmer, you need to learn how to approach a problem like this logically and devise a set of tests to help narrow down the source of the problem.

Here the error message isn't very clear, but usually the target of the WHERE clause is in single quotes (e.g., WHERE `Reporter` LIKE '$source'.) This also means you need to be using double quotes (") for your string instead of single quotes (') so that PhP isn't confused about where the string ends. ($query = "Select ... etc.)

How ya doing, buddy?
Slightly Dark -- updated weekly with rare out-of-print game music.

Last edited by Secret Squirrel; Dec 30, 2009 at 02:35 PM.
Reply


Exploding Garrmondo Weiner Interactive Swiss Army Penis > Garrmondo Network > Help Desk > Complete PHP noob needs help

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Questions from a complete noob about ripping ... Dark Rubes Behind the Music 7 Jan 8, 2007 03:25 AM


All times are GMT -5. The time now is 03:22 PM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2026, vBulletin Solutions, Inc.