First off, please excuse my ignorance, it has been a while since I have written any code. Trying to run a pretty simple query here to pull data from a MySQL database. The code is as follows;
$sql = 'SELECT type, value FROM ' . $TBLPREFIX . 'config';
$data = mysql_query($sql);
$rs = mysql_fetch_array($data);
The print_r only shows the first row being fetched. There are currently three rows in the table. Not sure what I am missing here.