|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
php script mysql_fetch_row error
I made mysql_fetch_row script and once i tested it it said "Could not query: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1"
my code is: PHP Code:
what is the problem and how can i fix it? |
|
#2
|
||||
|
||||
|
In the following line, is localhost, user, and password defined as constants? Otherwise, why are these not quoted?
Quote:
Quote:
PHP Code:
PHP Code:
__________________
__________________________________________________ _ Wil Moore III, MCP | Integrations Specialist | Senior Consultant Are You Listed...? | DigitallySmooth Inc. |
![]() |
| Viewing: Dev Articles Community Forums > Databases > MySQL Development > php script mysql_fetch_row error |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|