$config = array();
$sql = "SELECT config_name, config_desc,config_value FROM ".$db_prefix."config";
$result = mysql_query($sql ,$db);
if ($myrow = mysql_fetch_array($result)) {
do {
$config[$myrow['config_name']] = $myrow['config_value'];
} while ($myrow = mysql_fetch_array($result));
} else {
PageError ('ALERT: 12 There was an error with your request');
} How To Make Mysql Query Into Array
How To Make Mysql Query Into Array
How To Make Mysql Query Into Array
Post Description:
Post Tags: how, to, make, mysql, query, into, array
This Post Has Been Viewed 203 Times Since Sat Apr 26, 2008 9:04 pm Posted By hostman with 0 replies
Post Description:
Post Tags: how, to, make, mysql, query, into, array
This Post Has Been Viewed 203 Times Since Sat Apr 26, 2008 9:04 pm Posted By hostman with 0 replies
| How To Make Mysql Query Into Array |
i often use this handy sql query to make my queries from mysql database into an array like this:
Leave Your Comments [ dejar commentarios ]
Comments and replies About How To Make Mysql Query Into Array
(0) Comments

