Reply to Re: header("Location: ..."); NOT WORKING!?

Your name:

Reply:


Posted by ECRIA Public Mail Buffer on 03/21/06 17:41

> if ($delete)
> { header ("Location: $redirect?del=$code&table=$tab");
> exit;
> ...
> Well the funny thing is that this line worked well since I add the
> third buttom (the delete) after I added it even the post buttom doesn't
> work anymore.

Add the line below to the top of your script file, it may shed some light by
displaying a warning or notice which would not otherwise be displayed. Also,
after adding it, try commenting out the header() and exit() functions, and
just echo $redirect."?del=".$code."&table=".$tab to verify that they are
correct and your script is entering the delete condition.

error_reporting(E_ALL);
// ... your code here

ECRIA
http://www.ecria.com

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация