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 />

Help please.

No comments posted yet

Your Answer:

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

Cache PHP Objects/Classes?
Does anyone have ideas about caching PHP objects using something like: http://memcached.org/

Error with login script
I am getting an error with my login script:

Error:
Code: Warning: Cannot modify header inf

PDO returns erroneous columns from within pdt
Hi All,

This is a truly weird behavior:
When using a simple pdo fetch, erroneous columns a

Need help in Generating Combinations
Need help generating all possible combination of names in an array

Lets say i have the follow

using variables in another page
I have a test database set up on localhost. I have a form that I can type a name into, hit the butto

getAlexaRank($url) function not working
I have made a function to get alexa rank
the site is here: http://mytestsite.rack111.com/1

Need help making a script that moves data into acrhive table
Hi,

I'm kinda new to php/mysql

And i wrote a simple script to store sales lead for a b

PHP MySQL and DATE
Hi everyone

I have a databse and in one of the columns I have date values such as 2009-March-

How to generate a random array of integers subject to a certain constraint
I am writing a program that asks the user to enter an integer N and then generates a random array of

I face problems to extract data from one table and insert it in another one
Hi,

For modifications, I have to extract data from one table and insert it in another one

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