[PHP] get back to index.php

2003-10-22 Thread Sudheer Palaparambil
Hi,

  I am calling the insert_user.php like this

  http://www.etooss.com/insert_user.php";
  onsubmit="return verifyIt(this);">

  In insert_user.php, I am inserting the record to mysql db, nothing is 
displayed there. Now how
  do come back to index.php screen.

  Thank you

Sudheer

_
Making your life easy! That is Citibank Suvidha. 
http://server1.msn.co.in/msnleads/citi_cards_sept03/CitiSuvidha.asp Get your 
account now!

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


RE: [PHP] get back to index.php

2003-10-22 Thread Fernando Melo
In insert_user.php

header("Location: index.php");
exit;

make sure nothing is being echoed before you call this.

-Original Message-
From: Sudheer Palaparambil [mailto:[EMAIL PROTECTED] 
Sent: 22 October 2003 14:15
To: [EMAIL PROTECTED]
Subject: [PHP] get back to index.php

Hi,

   I am calling the insert_user.php like this

   http://www.etooss.com/insert_user.php";
   onsubmit="return verifyIt(this);">

   In insert_user.php, I am inserting the record to mysql db, nothing is 
displayed there. Now how
   do come back to index.php screen.

   Thank you

Sudheer

_
Making your life easy! That is Citibank Suvidha. 
http://server1.msn.co.in/msnleads/citi_cards_sept03/CitiSuvidha.asp Get your

account now!

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

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



Re: [PHP] get back to index.php

2003-10-22 Thread Marek Kilimajer
Use
header('Location: http://www.etooss.com/');
exit;
Sudheer Palaparambil wrote:
Hi,

  I am calling the insert_user.php like this

  http://www.etooss.com/insert_user.php";
  onsubmit="return verifyIt(this);">

  In insert_user.php, I am inserting the record to mysql db, nothing is 
displayed there. Now how
  do come back to index.php screen.

  Thank you

Sudheer

_
Making your life easy! That is Citibank Suvidha. 
http://server1.msn.co.in/msnleads/citi_cards_sept03/CitiSuvidha.asp Get 
your account now!

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


Re: [PHP] get back to index.php

2003-10-22 Thread Sudheer Palaparambil
But it is giving the following error message

Warning: Cannot modify header information - headers already sent by (output 
started at D:\websites\clands\clandsadmin\etooss.com\web\insert_user.php:3) 
in D:\websites\clands\clandsadmin\etooss.com\web\insert_user.php on line 29

Thank you.

From: Marek Kilimajer <[EMAIL PROTECTED]>
To: Sudheer Palaparambil <[EMAIL PROTECTED]>
CC: [EMAIL PROTECTED]
Subject: Re: [PHP] get back to index.php
Date: Wed, 22 Oct 2003 14:24:44 +0200
Use
header('Location: http://www.etooss.com/');
exit;
Sudheer Palaparambil wrote:
Hi,

  I am calling the insert_user.php like this

  http://www.etooss.com/insert_user.php";
  onsubmit="return verifyIt(this);">

  In insert_user.php, I am inserting the record to mysql db, nothing is 
displayed there. Now how
  do come back to index.php screen.

  Thank you

Sudheer

_
Making your life easy! That is Citibank Suvidha. 
http://server1.msn.co.in/msnleads/citi_cards_sept03/CitiSuvidha.asp Get 
your account now!


_
Tired of emails bouncing back? Need more space? 
http://server1.msn.co.in/features/general/extrastorage/index.asp Get extra 
storage on Hotmail

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


RE: [PHP] get back to index.php

2003-10-22 Thread Fernando Melo
Make sure there are no blank spaces being echoed.

-Original Message-
From: Sudheer Palaparambil [mailto:[EMAIL PROTECTED] 
Sent: 22 October 2003 14:30
To: [EMAIL PROTECTED]
Subject: Re: [PHP] get back to index.php

But it is giving the following error message

Warning: Cannot modify header information - headers already sent by (output 
started at D:\websites\clands\clandsadmin\etooss.com\web\insert_user.php:3) 
in D:\websites\clands\clandsadmin\etooss.com\web\insert_user.php on line 29

Thank you.

>From: Marek Kilimajer <[EMAIL PROTECTED]>
>To: Sudheer Palaparambil <[EMAIL PROTECTED]>
>CC: [EMAIL PROTECTED]
>Subject: Re: [PHP] get back to index.php
>Date: Wed, 22 Oct 2003 14:24:44 +0200
>
>Use
>header('Location: http://www.etooss.com/');
>exit;
>
>Sudheer Palaparambil wrote:
>>Hi,
>>
>>   I am calling the insert_user.php like this
>>
>>   >action="http://www.etooss.com/insert_user.php";
>>   onsubmit="return verifyIt(this);">
>>
>>   In insert_user.php, I am inserting the record to mysql db, nothing is 
>>displayed there. Now how
>>   do come back to index.php screen.
>>
>>   Thank you
>>
>>Sudheer
>>
>>_
>>Making your life easy! That is Citibank Suvidha. 
>>http://server1.msn.co.in/msnleads/citi_cards_sept03/CitiSuvidha.asp Get 
>>your account now!
>>
>

_
Tired of emails bouncing back? Need more space? 
http://server1.msn.co.in/features/general/extrastorage/index.asp Get extra 
storage on Hotmail

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

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