ahhhh THANKS.... IT WORKS hahahaha.....
Oh and also for those of you who wants to know how to grab and fetch stuff from database then this is the code
Before you can use the code below you first need to import global.php by doing
require_once('./global.php');
$results = $db->query_read(
"YOUR SQL QUERY GOES HERE"
);
while($rows = $db->fetch_array($results))
{
//This will walk through each row that is returned from $result and stored them in $rows on each walk through, if your query only returned 1 row results maximum then no need to put $rows = $db->detch_array($results) inside while loop
}
Hope the above code will help out some of you guys
|