Programming DiscussionWeb Hosting Forums - Discussions related to web programming languages and other related issues. Topics may include configuration, optimization, practical usage and database connectivity.
This message will go away once you are registered. Also, by registering, you will have access to all post topics, communicate privately with other members (PM), respond to polls, upload graphics, and access other special features! Registration is fast, simple and absolutely free so please Click Here to join our Web Hosting community today!
$getFile=mysql_query("SELECT * FROM student_table WHERE category = 1 ORDER BY id,title",$db);
if ($fileInfo=mysql_fetch_array($getFile)) {
do {
echo $fileinfo[name] . "<br/>"
} while($fileInfo=mysql_fetch_array($getFile));
}
This message will go away once you are registered. Also, by registering, you will have access to all post topics, communicate privately with other members (PM), respond to polls, upload graphics, and access other special features! Registration is fast, simple and absolutely free so please Click Here to join our Web Hosting community today!
I think it would be better if you use an existing script for CMS at first, then play around with it and learn how it works and connects with MySQL. Then when you're comfortable with it, you can code your own.