charts and mysql

From: Date: Thu, 29 Jun 2000 10:49:27 +0000
Subject: charts and mysql
Groups: php.general 
Request: Send a blank email to php-general+get-3769@lists.php.net to get a copy of this message
Please look at follwoing piece of code ---------cut include "../pass/inc/config.inc"; $result=mysql_db_query($SQLDB,"SELECT name,click FROM stat "); $row = mysql_fetch_array($result); $GraphWidth = 400; $GraphHeight = 200; $GraphScale = 2; $GraphFont = 5; $GraphData = ? click $GraphLabel = ? name -----cut I want variable $GraphData to take data from row "click" and $GraphLabel from row "name" I tried to do this in many ways but it shown only one column from five available in database Please tell me how to do that or show me any similar code. Bart

« previous php.general (#3769) next »