If i post my variables thru the URL this works
<?php $txt1 = $_GET[txt1]; $txt2 = $_GET[txt2]; Print $txt1."<br>".$txt2; ?>
If i use the forms POST method it just shows as a blank page... Am i forgetting something?
yeah you need to use $_POST when you use the forms POST method
<?php $txt1 = $_POST[txt1]; $txt2 = $_POST[txt2]; echo $txt1."<br>".$txt2; ?>
If you are simply taking variables on to the end of the URL (?id=000&user=bob) those are accessible as $GET (or you can use $SERVER['QUERY_STRING'], and probably a couple of other arrays) but not $POST. $POST variables are creating by using a form that uses POST as it's method (or you can use cURL, etc).
ahh cool thanks😃