what's my query to link to another page

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
php_postgresql
Forum Newbie
Posts: 13
Joined: Sat Apr 19, 2008 9:37 am

what's my query to link to another page

Post by php_postgresql »

***** 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\\\

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);
help...
Post Reply