www.php.net/header
Adam
On Tue, 1 Oct 2002, Anna Gyor wrote:
Hi,
how can I call a html site from my php script? I want to redirect the user
to different html site depends on the php script result.
Thanks!
--
PHP General Mailing List (http://www.php.net/)
how can I call a html site from my php script? I want to redirect the
user
to different html site depends on the php script result.
Header(Location: http://www.domain.com/page.html;);
---John Holmes...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
header(location:http://yourstuff;);
Do this before any output to the user. eg echos or displaying html
John
- Original Message -
From: Anna Gyor [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, October 01, 2002 8:40 PM
Subject: [PHP] Call HTML from php
Hi,
how can I call a
First thanks a lot, but
I have the following code:
?
$database=PH;
mysql_connect(localhost,test,test);
@mysql_select_db($database);
$query = SELECT ph_user.FIRST_NAME, FROM ph_user WHERE (ph_user.FIRST_NAME
= \test\ );
$result=mysql_query($query);
$num=mysql_num_rows($result);
mysql_close();
what is on line 3?
is the ? tag online 1?
- Original Message -
From: Anna Gyor [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, October 01, 2002 9:35 PM
Subject: Re: [PHP] Call HTML from php
First thanks a lot, but
I have the following code:
?
$database=PH;
mysql_connect
?
- Original Message -
From: Anna Gyor [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, October 01, 2002 9:35 PM
Subject: Re: [PHP] Call HTML from php
First thanks a lot, but
I have the following code:
?
$database=PH;
mysql_connect(localhost,test,test);
@mysql_select_db
-
From: Anna Gyor [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, October 01, 2002 2:35 PM
Subject: Re: [PHP] Call HTML from php
First thanks a lot, but
I have the following code:
?
$database=PH;
mysql_connect(localhost,test,test);
@mysql_select_db($database
7 matches
Mail list logo