HELP

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
scotty2hotty
Forum Newbie
Posts: 1
Joined: Wed Apr 23, 2003 4:01 am
Location: UK

HELP

Post 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);

?>
User avatar
d1223m
Forum Commoner
Posts: 80
Joined: Mon Mar 31, 2003 5:15 am
Location: UK, West Sussex

Post by d1223m »

do you want to use some punctuation or something?
Post Reply