|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
mysql_fetch_array() problem
Please can you help, i connect to my database, but then I cannot get the data from my table. (I am trying to send it to the browser)
PHP Code:
I am well and truly baffled. I get the following error in my browser... Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\...\...\... Any Ideas? Gee ![]() |
|
#2
|
|||
|
|||
|
wouldn't you need:
$query = "SELECT modCode, modTitle "; $query .= "FROM lecfiles "; $query .= "ORDER BY modTitle ASC"; else $query just winds up being "ORDER BY modTitle ASC" |
|
#3
|
|||
|
|||
|
LOL,
ThanX very much. That fixed the problem straight away. Sometimes its the little things I miss and it ends up driving me barmy! (I was trying to debug that for about 2 hours would you believe) Gee ![]() |
![]() |
| Viewing: Dev Articles Community Forums > Databases > MySQL Development > mysql_fetch_array() problem |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|