I have a parse error in this query help..


Posted on 16th Feb 2014 07:03 pm by admin

Code: $query1="INSERT INTO `rating` (`item_name`, `rating`, `ip_address`, `date_rated`) VALUES ('{$varItem}', {$varRating}, '{$ipAddress}', NOW())", "InsertRating";
Parse error produced by the query above
Quotebr />
<b>Parse error</b>: parse error in <b>C:wampwwwstoresclassesrating.class.php</b> on line <b>92</b><br />
Did you know?Explore Trending and Topic pages for more stories like this.

Help please.
No comments posted yet

Your Answer:

Login to answer
163 Like 35 Dislike
Previous forums Next forums
Other forums

Get relative path from absolute path
How would one go about getting the relative path to a file from its absolute path?

sendmail code suddenly not working
Hi Guys, I maintain 3 sites (including my own) I use the following code from a french webmaster that

very easy question about SQL info
Hello,
I think that I have a very easy question.
I know how to create a form using php SQL and

problems with contact forms that are only protected against SQL injections
What could be a potential problem with contact forms that are only protected against SQL injections

IF Statement & Two Tables With Different Echoes
I'm retrieving two tables in a single query using UNION ALL, like so:

Code: $query = "SE

controlling/creating accounts with privileges
hi all,
i'm trying to figure out how i can create/control account with privileges, for instance a

data type in column definition
Hi,
I create a table with column called "Direction of Travel code ".
The travel codes in t

admin with my register system?
Hey i wana make it so i can make a admin level on my register system , I'm kinda new to php to im no

Slashes
Have a small problem and I'm not able to understand why I'm getting the results I'm getting... and i

Cant display mysql data
Hey all,

I am learning php and my first goal is to create a simple CMS. At the moment I am st

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash