Deviant Logo

PHP variable in echo statment?

post details top
May 12th, 2010
post details top


$redirURL = “google.com”;
$login = ‘

Username:


Password:

‘;
echo $login;

Post to Twitter Post to Delicious Post to Digg Post to Facebook Post to Reddit Post to StumbleUpon

1 Comment

  • tiger2380

    It is possible. You have to do it like this: ” ‘.$redirURL.’ ” . I had modify the code for you. So just copy and paste it if you like. You have to use the full url and the “get” method.

    $redirURL = “http://www.google.com”;
    $login = ‘

    Username:


    Password:

    ‘;

Leave a Reply

Search

  • Partner links