Guest Posted June 24, 2007 Share Posted June 24, 2007 Is it possible to change a post variable like $_POST['IdListing'] = "12"; Link to comment https://forums.phpfreaks.com/topic/56971-solved-change-post/ Share on other sites More sharing options...
AndyB Posted June 24, 2007 Share Posted June 24, 2007 No. Why would you want to? Link to comment https://forums.phpfreaks.com/topic/56971-solved-change-post/#findComment-281433 Share on other sites More sharing options...
DJTim666 Posted June 24, 2007 Share Posted June 24, 2007 You should be putting $_POST into a variable and then calling it. Example <?php $var = $_POST['IdListing']; //this will be w.e was posted on the previous page echo "The ID Listing is $var"; // echo the result of $var ?> -- DJ Link to comment https://forums.phpfreaks.com/topic/56971-solved-change-post/#findComment-281436 Share on other sites More sharing options...
bigbob Posted June 24, 2007 Share Posted June 24, 2007 I think u can do this: <?php $var = $_POST['var']; $var = 4; ?> Link to comment https://forums.phpfreaks.com/topic/56971-solved-change-post/#findComment-281449 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.