Jump to content

Button Link php htm


yeahyeahyeah

Recommended Posts

just a quick one

 

trying to make a button that when clicked goes to the page  EditSite.php?site_id=**  where the stars are the number generated from the php varible $site_id. When I run this code below it just takes me to EditSite.php

 

<form action="EditSite.php?site_id=<?php echo $site_id; ?>" method="get">

<input type="submit" value="Edit Site" />

</form>

 

where have i gone wrong?

 

thanks

Link to comment
https://forums.phpfreaks.com/topic/44694-button-link-php-htm/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.