<[EMAIL PROTECTED]> wrote in message

>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

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

Reply via email to