I\'m only new and learning so thanks for any advice you can give :) I\'m making a really simple tool to retrieve specific data from a Twitter API 1.1 GET request for a school pr
If $getfield = '?screen_name=TWITTER_SCREEN_NAME'; works without form data, then you should just need to change the line
$getfield = $_GET['screen_name'];
to
$getfield = "?screen_name=".$_GET['screen_name'];
Assuming you're only passing through the @handle through in the form
Also, (this is not pertinent to your issue) the line if(!empty($_GET ['screen_na... shouldn't have a space inbetween the $_GET and the [.