Re: passing variables

From: Date: Sat, 03 Mar 2001 14:41:08 +0000
Subject: Re: passing variables
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-42445@lists.php.net to get a copy of this message
Thanks Michael, but what I plan on doing is pulling the name,subject and email address out of the db, then giving the option to view the full message, but i have had to do this using a form so my code looks like <tr><form metod=post action=view_enq.php><input type=hidden name=id value=$row[id]><td bgcolor=#ffffcc>$row[title] $row[name]</td><td bgcolor=#ffffcc>$row[subject]</td >"; echo "<td bgcolor=#ffffcc>$row[email]</td><td align=center bgcolor=#ffffcc><input type=submit name=submit value=view></td></form></ tr>"; } echo "</table></td></tr></table></td></tr></table>"; I plan to add hidden fields for all the information pulled out the db my question is this how do you pass variables into the next page without using a form. can it be done say instead of a form there was a link next to each message which said view, clicking on this takes you to a page where you read the full mail, then there are another 2 links on for reply and one for delete.How could that be done Thanks in advance george

« previous php.general (#42445) next »