mike12255 Posted February 17, 2009 Share Posted February 17, 2009 so i got this code: print "<tr class='mainrow'><td><A /thref='message.php?id=$getthreads3[postid]'>$getthreads3[title]</a><d><td>$getthreads3[author]</td><td>$getthreads3[numreplies]</td><td> <b>$getthreads3[lastposter]</b></tr></br> $name </td>"; and i need to add math=area to the url, how do i do it? the url is this line: print "<tr class='mainrow'><td><A /thref='message.php?id=$getthreads3[postid]'>$getthreads3[title]</a><d> Link to comment https://forums.phpfreaks.com/topic/145646-solved-passing-two-vars-in-url/ Share on other sites More sharing options...
Brian W Posted February 17, 2009 Share Posted February 17, 2009 variables are delimitation by "&" ?var1=one&var2=two&math=area echo $_GET['math']; //returns "area" Link to comment https://forums.phpfreaks.com/topic/145646-solved-passing-two-vars-in-url/#findComment-764608 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.