A simple function to replicate the funcationality of the depreciated mysql_list_fields() function. It returns a simple array with a numeric index of the column / field names. $database – String – The database you want to use $connect_string – String – Your connection string $table – String – The...
How to's, Web Development
|
Posted byOliveron 13 May 2008
|
0
There are two ‘main’ forms of arrays within PHP, these are numerical (or zero based) and associative arrays. Creating a new array The code below demonstrates creating a new array: $arr = new array(); This is the same for numerical and associative arrays. Numerical Arrays You can think of...
Web Development
|
Posted byOliveron 13 Jul 2006
|
0