bug in php 3.2.3?

General discussions related to php

Moderators: macek, egami, gesf

ujohnc00
New php-forum User
New php-forum User
Posts: 3
Joined: Wed Oct 09, 2002 3:51 pm

bug in php 3.2.3?

Postby ujohnc00 » Wed Oct 09, 2002 3:52 pm

Hello,
I installed php, mySQL, and phpMyAdmin, but when I try to create a table in phpMyAdmin, I get the following error:
"You have an error in your SQL syntax near..."
I know the syntax is correct and it worked with php 3.2.2, but now it doesn't. I read somewhere that I should compile php without the following argument:
--enable-mbstr-enc-trans

Can I change this in my php.ini?
I am on Win2K.
Cheers!

DoppyNL

Postby DoppyNL » Wed Oct 09, 2002 11:37 pm

"You have an error in your SQL syntax near..."

allthough you say there is no error in you're query, there is!!! otherwise it wouldn't be saying that. It is probably has something to do with quotes.
Printout the query on you're page so you know exactly what php is executing, then "fix" the problem.

Greetz Daan

Jay

Postby Jay » Thu Oct 10, 2002 1:26 am

Please don't post topics twice

Closing


Return to “PHP General”

Who is online

Users browsing this forum: No registered users and 1 guest