[PHP-DB] Scriptproblem

2006-01-24 Thread Ruprecht Helms
Hi, how can I display the stored data of an user as value in a formfield. Actualy the formfield vorname shows no entry and the formfield name shows .$row-Name. What is the correct syntax in this case. Regards, Ruprecht ? mysql_connect(localhost,user,password);

RE: [PHP-DB] Scriptproblem

2006-01-24 Thread Bastien Koert
] To: php-db@lists.php.net Subject: [PHP-DB] Scriptproblem Date: Tue, 24 Jan 2006 16:12:53 +0100 Hi, how can I display the stored data of an user as value in a formfield. Actualy the formfield vorname shows no entry and the formfield name shows .$row-Name. What is the correct syntax in this case

Re: [PHP-DB] Scriptproblem

2006-01-24 Thread Balazs Hegedus
Hi, Actually you have an undefined variable called $row which is in this context ($row-Vorname) is an object...but $row has nor content neither type. I think you'd better use arrays...in this way: (according to the PHP manual mysql_db_query() is decrepated) ?php $link = mysql_connect(_host_,