[PHP] to Bryan Lipscy Re: [PHP] mysql trouble

2003-02-26 Thread Luis A
the mysql server guives to me this error now tk a look ¡Gracias! Hemos recibido sus datos. Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in c:\apache group\apache\htdocs\1\2\registered.php3 on line 39 Warning: mysql_close(): supplied argument is not a

[PHP] to Bryan Lipscy Re: [PHP] mysql trouble

2003-02-26 Thread Luis A
i dont know whyyy he does not inser into the databse the values ?? take a look ?php $DB_HOST = localhost; $DB_USER = db; // Do not do this. Make a different user. $DB_PASS = luisito; $DB_DB = mydb; // connect to the database server $db= @mysql_pconnect ( $DB_HOST , $DB_USER , $DB_PASS

Re: [PHP] to Bryan Lipscy Re: [PHP] mysql trouble

2003-02-26 Thread Jason Wong
On Thursday 27 February 2003 01:00, Luis A wrote: ?php $link = mysql_connect(localhost, nobody); mysql_select_db(mydb, $link); $result = mysql_query(SELECT * FROM opina, $link); echo Nombre: .mysql_result($result, 0, nombre).br; [snip] You need to use the mysql_fetch_*() functions as well.