what's my query to link to another page
Posted: Sun Apr 20, 2008 9:24 pm
***** PLEASE DO NOT USE NET ABBREVIATIONS OR SHORTHAND IN POSTS *****
***** PLEASE USE THE CODE OR PHP TAG WHEN POSTING *****
i have a prob on how to link to a certain page...i have managed to link to another page but it is still empty because idk what to put in my query there...
i have an origin.php below...... which will output some data from my database...i made it clickable so that if i click on one of those links,,, it should be able to link to another page with its profile...
the problem is..idk what to put in my query in my next.php\\\
help...
***** PLEASE USE THE CODE OR PHP TAG WHEN POSTING *****
i have a prob on how to link to a certain page...i have managed to link to another page but it is still empty because idk what to put in my query there...
i have an origin.php below...... which will output some data from my database...i made it clickable so that if i click on one of those links,,, it should be able to link to another page with its profile...
the problem is..idk what to put in my query in my next.php\\\
Code: Select all
<?php
do
{
$myrow = pg_fetch_row ($result,$row);
?>
<tr> <td> <a href="next.php">
<?php
printf ("%s", $myrow[0]);
?>
</a> </td></tr>
<?php
$row++;
}
while ($row < $numrows);