Re: [PHP-DB] Help creating tables and fields

2007-03-29 Thread bedul
- Original Message - From: Karl James To: 'bedul' Sent: Thursday, March 29, 2007 10:40 AM Subject: RE: [PHP-DB] Help creating tables and fields bedul, wow great information and so quick. very greatfull for that. Would you mine baby stepping for me? [bedul] i don't understand what u

[PHP-DB] echo

2007-03-29 Thread elk dolk
thanks to Chris and Dimiter, I think I am close but still the problem is not solved, when I add echo img src='/album/img/.$row[photoFileName].' / to the code as it was sugested by Dimiter there is parse Error : PHP Parse error: syntax error, unexpected $end in

Re: [PHP-DB] echo

2007-03-29 Thread Brad Bonkoski
elk dolk wrote: thanks to Chris and Dimiter, I think I am close but still the problem is not solved, when I add echo img src='/album/img/.$row[photoFileName].' / to the code as it was sugested by Dimiter there is parse Error : PHP Parse error: syntax error, unexpected $end in

[PHP-DB] DBX

2007-03-29 Thread Phares Kariuki
Hello, Is there a DBX module for php5 on debian... I have just installed zCI on my debian box and I keep getting this error Fatal error: Call to undefined function dbx_query() in /var/www/zci/frontend/registered_device.php on line 79 I have been unable to locate the module... Please help. -- PHP

[PHP-DB] echo

2007-03-29 Thread elk dolk
thank you all, it did it! [EMAIL PROTECTED] You need a trailing you have echo img src='/album/img/.$row[photoFileName].' / it needs to be echo img src='/album/img/.$row[photoFileName].' /; - Bored stiff? Loosen up... Download and play hundreds of games

RE: [PHP-DB] echo

2007-03-29 Thread Bastien Koert
try echo img src='/album/img/{$row[photoFileName]}' / ; warpping the array element in braces allows for proper evaluation bastien From: elk dolk [EMAIL PROTECTED] To: php-db@lists.php.net Subject: [PHP-DB] echo Date: Thu, 29 Mar 2007 05:08:36 -0700 (PDT) thanks to Chris and Dimiter, I

RE: [PHP-DB] DBX

2007-03-29 Thread Bastien Koert
Hve you tried the ODBC connections instead? http://ca3.php.net/manual/en/ref.dbx.php bastien From: Phares Kariuki [EMAIL PROTECTED] To: php-db@lists.php.net Subject: [PHP-DB] DBX Date: Thu, 29 Mar 2007 15:25:12 +0300 Hello, Is there a DBX module for php5 on debian... I have just installed

[PHP-DB] array

2007-03-29 Thread elk dolk
Hi all, I want to put result of query in a two dimensional array like this: title[0]=x description [0]=y title[1]=z description [1]=w . any idea would be appreciated $query = SELECT * FROM photo; $result=mysql_query($query); while ($row =

Re: [PHP-DB] DBX

2007-03-29 Thread Chris
Phares Kariuki wrote: Hello, Is there a DBX module for php5 on debian... I have just installed zCI on my debian box and I keep getting this error Fatal error: Call to undefined function dbx_query() in /var/www/zci/frontend/registered_device.php on line 79 I have been unable to locate the

RE: [PHP-DB] array

2007-03-29 Thread Bastien Koert
That is not a two dimensional array. Its two one dimensional arrays and yo do it like this while ($row = mysql_fetch_array($result)) { $title[] =$row['title']; $description[] =$row['description']; } bastien From: elk dolk [EMAIL PROTECTED] To: php-db@lists.php.net

[PHP-DB] tables

2007-03-29 Thread elk dolk
Hi list, How can you show some pictures in separate tables in one page with echo? - Don't pick lemons. See all the new 2007 cars at Yahoo! Autos.