Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.

Search found 1 match
Smarty Forum Index
Author Message
  Topic: Smarty array with a sql db?
KyleFYI

Replies: 1
Views: 6476

PostForum: Smarty Development   Posted: Sun Mar 25, 2012 5:40 pm   Subject: Smarty array with a sql db?
Okay I want to do a array and grab the items from a sql db.
This is what I have so far.

PHP

$query = mysql_query('SELECT * FROM user');
$data = array('users');
while($row ...
 
Page 1 of 1
All times are GMT
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP