Forums
This topic is locked
Passing data without forms
Posted 21 Aug 2005 21:29:10
1
has voted
21 Aug 2005 21:29:10 Angela Stephens posted:
is there a way to pass data via the URL without using forms? How is it done? I can see in this forum that the data is passed. and I can see in my page that the data is sent via the URL, but the target page isn't "GETting" the data and retrieving the data from the database.Note: my database is working. My overview page contains all the data. The <a href> link uses this to send the data to the details page via the URL:
<a href="details.php?=<?php echo $row_ShowAllAsc['nameID']; ?>"><?php echo $row_ShowAllAsc['name']; ?>:</a>
No errors show up on either page, just no data either <img src=../images/dmxzone/forum/icon_smile_sad.gif border=0 align=middle>
-A
Replies
Replied 02 Sep 2005 02:08:13
02 Sep 2005 02:08:13 Head Mr. replied:
ok your url should kick out details.php?N=<?php echo $row_ShowAllAsc['nameID']; ?>
so for instance, you would see details?N=Gorinzilo
then your going to use <?php echo $HTTP_GET_VARS['N']; ?> to retrieve teh data on the next page
-I am beyond the line of Morality and therefore, beyond caring.
so for instance, you would see details?N=Gorinzilo
then your going to use <?php echo $HTTP_GET_VARS['N']; ?> to retrieve teh data on the next page
-I am beyond the line of Morality and therefore, beyond caring.