deansaddigh Posted February 22, 2010 Share Posted February 22, 2010 Can someone tell me whts wrong with my querystring echo 'Course name: ' . ucfirst($row['course_name']) . '<a href="course_enquiry.php?courseid =.$row['course_name']&schoolname=$row['school_name']"><img src="images/email.jpg" alt="enquire about this course" title="click to enquire about this course"></a><br />'."\r\n"; basically just trying to pass through school_name and course-name to an enquiry page getting an error though Quote Link to comment Share on other sites More sharing options...
sader Posted February 22, 2010 Share Posted February 22, 2010 u missed some ' around $row // echo 'Course name: ' . ucfirst($row['course_name']) . '<a href="course_enquiry.php?courseid ='.$row['course_name'].'&schoolname='.$row['school_name'].'"><img src="images/email.jpg" alt="enquire about this course" title="click to enquire about this course"></a><br />'."\r\n"; Quote Link to comment Share on other sites More sharing options...
deansaddigh Posted February 22, 2010 Author Share Posted February 22, 2010 What a donut, thats what 12 hours of coding gets you lol Thanks for the help Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.