deltaforce229 wrote:im not sure how to explain this but heres a line of code
$name = "a name";
what i want is when someone types script.php&name?=a different name $name equals 'a different name'
I think you meant this, unless you've done some config changes to PHP.
script.php?name=a different name
thorpe is right, but hopefully you understand to use $_GET['name'] with caution.