<[EMAIL PROTECTED]> wrote in message
001301c20ad8$5539f2f0$67b8fea9@JohnH">news:001301c20ad8$5539f2f0$67b8fea9@JohnH...

>How can I echo(or include) two variables?
>
>ie include $DOCUMENT_ROOT then $row['location']

Simply refer to them within double quotes as if they were words:

echo "This is $DOCUMENT_ROOT at $row['location'].<BR>";

or bundle them together as a string:

echo "This is " . $DOCUMENT_ROOT . " at " . $row['location'] . ".<BR>";

You can shove as many variables as you like into the string like this...


--
--------------------------------------------
_ _
o o    Jason Teagle
 <      [EMAIL PROTECTED]
 v
--------------------------------------------



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to