Quantcast
Channel: PHP Freaks: PHP Help
Viewing all articles
Browse latest Browse all 13200

Possible to send information through a link?

$
0
0
  while($row = mysql_fetch_array($result2))
    {
    echo "<tr>";
    echo "<td>" . $row['hotel'] . "</td>";
    echo "<td>" . $row['hotelnum'] . "</td>";
    echo "<td>" . $row['price'] . "</td>";
    echo "<td align='center'>" . $row['bedroom'] . "</td>";
    echo "<td>" . $row['descrip'] . "</td>";
    echo "<td>" . $row['level1'] . "</td>";
    echo "<td>" . $row['level2'] . "</td>";
    echo "<td>" . $row['notes'] . "</td>"; ?>
    <td><A HREF="viewhotelnum.php" onClick="return popup(this, 'notes')">view</A></td> <?php
    echo "</tr>";
    }
  echo "</table>";
  mysql_close();
 

I want to send the $row['prim'] to the link viewhotelnum.php. This way when they click the link the viewhotelnum.php I can display the photos for that particular hotel room.   


Viewing all articles
Browse latest Browse all 13200

Trending Articles