Page 1 of 1

HELP

Posted: Wed Apr 23, 2003 4:01 am
by scotty2hotty
I am having problems with linking and getting the correct layout for some of my php code the code below is the basic structure, where I am then pullin the module out of this for a column heading, with the subjects that are contained for the module below this column whilst linking to a page question.php and carrying the value forward to the next page the only problem is I do not know how to do the layout and get the value carred forward if I use HREF tags can anyone help me please

<?
$db = mysql_connect("localhost","root");
mysql_select_db("Studenttest",$db);
$result = mysql_query("SELECT Module.Module_id, Module, Subject, Subject.Subject_id From Module, module_subject_link, Subject Where Module.Module_id = module_subject_link.Module_id AND module_subject_link.Subject_id = Subject.subject_id", $db);
$row = mysql_fetch_array($result);

?>

Posted: Wed Apr 23, 2003 6:35 am
by d1223m
do you want to use some punctuation or something?