Thanks guys
Thanks guys!
Quoting table and field names with back-ticks (I'd never even noticed such a thing existed!) did the trick.
I had already tried unquoting the table name, which didn't work; but just now I unquoted table name and field names - which I hadn't tried yesterday - and that worked too.
Thanks again.
User Profile
Collapse
-
-
Can't make INSERT into MySQL work...
I don't know whether this belongs here or in the MySQL section.
I'm trying to write a couple of values from a search page to a database: but no matter how I tweak the code, I always end up with "Error, insert query failed"...
The code is:
...Code:<h3><?php echo $_SESSION['SESS_MEMBER_ID']," ",$query; ?></h3> <?php $link = mysql_connect('localhost','root','EC4SPvRn');
No activity results to display
Show More
Leave a comment: