correct way to write this
Posted: Thu Aug 15, 2002 1:42 pm
I'm trying to make a link using some info i am getting from a post and mysql query but i am writing it wrong. How should this look?
$_REQUEST['cats'] is from a POST from a form
'view.php?' is plain text
echo $record['id'] is from a mysql query
echo $record['title']; will be how you see the link
how do i put them how i have htem above but written correctly because i get an error how i have it above.
Code: Select all
<p align="center"><b><a href="<?php $_REQUESTї'cats'] . 'view.php?' . echo $recordї'id']?>"><BR><?php echo $recordї'title']; ?></a></b></p>'view.php?' is plain text
echo $record['id'] is from a mysql query
echo $record['title']; will be how you see the link
how do i put them how i have htem above but written correctly because i get an error how i have it above.