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 rep

[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 ,); $result=mysql_db_query("salzert","SELECT * FROM Benutzer WHER

RE: [PHP-DB] Scriptproblem

2006-01-24 Thread Bastien Koert
You seem to be mixing OO and procedural coding styles...try ,); $result=mysql_db_query("salzert","SELECT * FROM Benutzer WHERE ID=$id"); $row = mysql_fetch_array($result); //get the data into an array echo ''; echo ""; echo " Vorname"; echo ''; echo ""; echo ""; echo " Name"; echo ''; 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) Of course some error handling may c

[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 winnt

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 +080

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;