View Single Post
  #4 (permalink)  
Old 05-24-2008, 09:52 AM
orjan's Avatar   
orjan orjan is offline
Learning Programmer
 
Join Date: Sep 2007
Location: Sunne, Värmland, Sweden
Posts: 75
Rep Power: 4
orjan will become famous soon enough
Default Re: Not outputting selected values?

I know the problem.

you used mysql_fetch_row() instead of mysql_fetch_array()

mysql_fetch_row() makes an array with index numbers only, mysql_fetch_array() makes an named array with fieldnames as keys to the field information.

it's simple, but hard to find in code.

then, you wrote $_Get first, and now $_GET, don't know if that makes difference ...

Last edited by orjan; 05-24-2008 at 09:59 AM.
Reply With Quote