PHP Variables
Posted: Tue Mar 13, 2007 11:04 pm
hi i am new to php and i am trying to create a variable for instance
$servername = "http://190.11.24.80";
and assing it to a button with mix html and php
href="<?php $servername ;?>/contact.php />
where contact.php is stored on the root of that server
but the variable doesnt work and i dont get any syntax errors.
thanks
$servername = "http://190.11.24.80";
and assing it to a button with mix html and php
href="<?php $servername ;?>/contact.php />
where contact.php is stored on the root of that server
but the variable doesnt work and i dont get any syntax errors.
thanks