[PHP] Re: mysql_num_rows error

2002-10-08 Thread David Robley
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says... > I have a file. I'll paste from line 32 to 34 > > . > $sql = "select USUARIO from docente where USUARIO = '$usuario'"; > $result = mysql_query($sql, $link); Replace the above line with (all on one line) $result = mysql_query($sql,

[PHP] Re: mysql_num_rows error

2002-10-08 Thread Jonathan Duncan
Omar, I would first take the select statement and try running it in mysql to make sure it actually runs (substituting a valid value for the variable of course). Then if it has problems you can see what error messages mysql gives you. Good Luck, Jonathan Duncan "Omar Campos" <[EMAIL PROTECTED]