Re: [PHP-DB] Help need please?

2006-01-24 Thread JeRRy
Hi, Thanks for this, got a few reposnses regarding this. This seems a more professional approach, I will try this and let you know about it when I do it. Thanks for your time. Jerry Ross Honniball [EMAIL PROTECTED] wrote: Get rid of both your onload= statements and

[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
You seem to be mixing OO and procedural coding styles...try ? mysql_connect(localhost,user,password); $result=mysql_db_query(salzert,SELECT * FROM Benutzer WHERE ID=$id); $row = mysql_fetch_array($result); //get the data into an array echo 'input type=text name=id value='; echo $id; echo '';

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_,

[PHP-DB] Problem installing mssql extension

2006-01-24 Thread Andrew Kleimeyer
I've read all the documentation, and tried every suggestion, but I'm still unable to run the mssql extension. When I uncomment the line in php.ini, PHP crashes. My system: Windows 2000 IIS 5.0 PHP Version 5.1.2-dev What I have tried: I've placed the ntwdblib.dll that came with php into the

RE: [PHP-DB] Problem installing mssql extension

2006-01-24 Thread Bastien Koert
Have you added the path to the extensions in the path/dir section to point to the extensions directory? ext_dir = c:\php5\ext; bastien From: Andrew Kleimeyer [EMAIL PROTECTED] To: php-db@lists.php.net Subject: [PHP-DB] Problem installing mssql extension Date: Wed, 25 Jan 2006 12:56:09 +0800

Re: [PHP-DB] Problem installing mssql extension

2006-01-24 Thread Andrew Kleimeyer
Yes. My extensions directory is c:\php\extensions and I'm already successfully running the mysql extension. On 1/25/06, Bastien Koert [EMAIL PROTECTED] wrote: Have you added the path to the extensions in the path/dir section to point to the extensions directory? ext_dir = c:\php5\ext;