This topic is locked

EditID

8/30/2006 12:59:37 PM
PHPRunner General questions
grivera author

I had a project in PHP Runner 3.0 and I changed to 3.1 and now the $_REQUEST["editid"] is not working. The variable $lastedit is empty.
Here is the code:

$lastedit = $_REQUEST["editid"];

$query = "SELECT * FROM propinf where prop_id = ";

$query .= strval($lastedit);

$result = db_query($query,$conn);

J
Jane 8/31/2006

Giovanni,
use $_REQUEST["editid1"] instead of $_REQUEST["editid"]:

$lastedit = $_REQUEST["editid1"];

$query = "SELECT * FROM propinf where prop_id = ";

$query .= strval($lastedit);

$result = db_query($query,$conn);