Your problem is the paren's
echo "'some text' $aFunction 'some more text'";
You need double quotes for the entire string, but single quotes around
the text so it knows it is text.
Alicia Riggs
Professional Services Group
Senior Web Development Engineer
2
rom: John Hicks [mailto:[EMAIL PROTECTED]
Sent: Friday, June 11, 2004 11:35 PM
To: PHP
Subject: Re: [PHP] gethostbyaddr
Hi Alicia.
Welcome to the list.
On Friday 11 June 2004 12:58 pm, Alicia Riggs wrote:
> Hi guys, I am new to this list, and signed up
> specifically for this problem.
uot;." . $darr[$cnt - 1];
echo "host = " . $host . "\n";
/*
if($host == "xyz.com")
header("Location: xyz.html");
else
if($host == "abc.com")
header("Location: abc.html");
else
header("Location: error.html");
*/
3 matches
Mail list logo