View Full Version : Php Code Help
IDontCode
08-18-2002, 06:25 AM
anyone know how to make a code so its like the below yoursite.com/artist.php?id=eminem&content=bio? i already know how to get the yoursite.com/artist.php?id=eminem but i need to know how to do &content=bio..k peace fellow coders
well. you make a link
<a href="http://site/dir/page.php?id=eminem&content=bio">link</a>
content is automaticly made as a variable for php.
<?
echo "id: ". $id ."<br>";
echo "content: ". $content ."<br>";
?>
IDontCode
08-19-2002, 12:26 AM
do i make <?
echo "id: ". $id ."<br>";
echo "content: ". $content ."<br>";
?> a seperate php file or what? where do i put that code?
Galdo
08-19-2002, 07:21 PM
That code would go in the page.php file as that is the page the variables are being passed to.
IDontCode
08-27-2002, 11:39 PM
hhhmm. i dont quite get what you are saying...i tried some stuff but it didnt work at all..
mordred
08-27-2002, 11:58 PM
Post what you tried so we can have a look at it. :)
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.