[PHP-DB] How to put content of databasefield into an array

2006-02-07 Thread Ruprecht Helms
Hi, how can I put the content of a databasefield into a array. I need this to put out a securetyimage for validation. Regards, Ruprecht -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] How to put content of databasefield into an array

2006-02-07 Thread Balazs Hegedus
Hi, 2006/2/7, Ruprecht Helms [EMAIL PROTECTED]: Hi, how can I put the content of a databasefield into a array. It depends on what kind of database server you are using. If you are using MySQL you will need http://www.php.net/mysql . It is a good starting point. BTW you may want to take a look

[PHP-DB] ODBC - PHP - Unicode problem

2006-02-07 Thread Erik .
Hi all, I have an elusive problem with PHP and ODBC. I want to use ODBC to contact a MSSQL server on an NT box, from a linux machine. FreeTDS driver, no problem unixODBC, no problem I can contact the correct database on the NT box through isql and tsql, no problem I can make a command-line

RE: [PHP-DB] Strange rawlist behaviour

2006-02-07 Thread Bastien Koert
$newdata = $contents[0]; for ( $i = 1; $i count($array); $i++ ) { $current = $array[$i]; $structure[$i]['name'] = substr($current, 55, strlen($current) - 0); } Should the array loop thru start at 0 (below)? Not 1 as you have the starting value for $i (above) $newdata =

RE: [PHP-DB] Strange rawlist behaviour

2006-02-07 Thread Dwight Altman
I didn't read all your code, but this jumped out to me also as to Bastien for ( $i = 1; $i count($array); $i++ ) { If you have 1 file, then you probably have 1 1 which does not execute even once. I definitely suggest also $i = 0; -Dwight -Original Message- From: Chris Payne