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 Link to comment https://forums.phpfreaks.com/topic/193010-php-query-string-help/ 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"; Link to comment https://forums.phpfreaks.com/topic/193010-php-query-string-help/#findComment-1016477 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 Link to comment https://forums.phpfreaks.com/topic/193010-php-query-string-help/#findComment-1016478 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.