On Tue, Dec 15, 2009 at 12:48 PM, Vinay Kannan viny...@gmail.com wrote:
Hi,
I have 2 pages on php, the first page has a small form to accept a
membership number from the user, which checks for membership number in the
DB, if the membership no does not exist, gives an error saying 'you are not
Thanks Bastien,
To be honest I have no clue as to how to hold the form in the buffer. I've
copied the code below, that might help I guess.
?php include(header.php);
include(lib/funcs.php);
$url=$_SERVER['REQUEST_URI'];
$member_no=$_POST['member_no'];
you could also validate the form in a seperate php file with no output
and then redirect to the error and the another page ?
Bastien Koert schrieb:
On Tue, Dec 15, 2009 at 12:48 PM, Vinay Kannan viny...@gmail.com wrote:
Hi,
I have 2 pages on php, the first page has a small form to accept
Yep, that would work, but then if the user is not a member, then the link to
the membership should be printed on the form that has the validation and not
the one that has the form?
On Tue, Dec 15, 2009 at 10:21 AM, Christoph Rosse c...@okto.tv wrote:
you could also validate the form in a
On Tue, Dec 15, 2009 at 1:25 PM, Vinay Kannan viny...@gmail.com wrote:
Yep, that would work, but then if the user is not a member, then the link to
the membership should be printed on the form that has the validation and not
the one that has the form?
On Tue, Dec 15, 2009 at 10:21 AM,
Hello gfmb,
Tuesday, December 2, 2003, 11:18:40 AM, you wrote:
gli I have a problem.How can I redirect from a PHP script to
gli another script in asp, php or a HTML page?
gli This script redirect to another script in function of the values of a variable.
This isn't really a database related
header( Location: http://...; ) ;
_
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, December 02, 2003 12:18
Subject: [PHP-DB] Redirect.
Hi all,
I have a problem.How can I redirect from a PHP script to another script in
asp, php
Don't know if I fully understand your question, but, in general, you can
handle redirects with the header() function, e.g.,
header(Location:
http://www.yoursite.com/yourscript.php?msg=0storyID=.$newstory.;);
As you can see, you can include variable=value pairs at the end of the URL
as well (msg
Dan Liu wrote:
Hi all,
Has anyone used 'Module mod_rewrite URL Rewriting Engine'?
I need to do a redirect from
http://url1/cgi-bin/mapserv?map=/dir1/county.map
to
http://url2/cgi-bin/mapserv?map=/dir2/county.map
But it is not working. Does somebody know why?
Thanks in Advance.
Dan
Dan -
Wrong list to ask on -- you are looking for an Apache mailing list.
http://apache.org/ read the manual page on mod_rewrite
On Mon, 27 Oct 2003, Dan Liu wrote:
Hi all,
Has anyone used 'Module mod_rewrite URL Rewriting Engine'?
I need to do a redirect from
Nevermind, I found the answer, and why it wasn't working. Now I was
wondering how I can format a number to be a currency? Like if
$totalprice = 14.343 have it print 14.34.
thanks
-Original Message-
From: Jeremi Bergman [mailto:[EMAIL PROTECTED]
Sent: Saturday, March 01, 2003 2:13 PM
Nevermind, I found the answer, and why it wasn't working. Now I was
wondering how I can format a number to be a currency? Like if
$totalprice = 14.343 have it print 14.34.
Number_format() or printf()
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your
At 04:33 PM 3/1/2003 -0500, Jeremi Bergman wrote:
www.php.net/round
find the answer there, you will :-)
~kurth
Nevermind, I found the answer, and why it wasn't working. Now I was
wondering how I can format a number to be a currency? Like if
$totalprice = 14.343 have it print 14.34.
thanks
If you really want to redirect and not just display a message that no
records were found, then this will work:
$num = mysql_numrows($result);
if ($num == 0)
{
header(Location: sorry.php);
exit;
} ELSE {
while ...
--- Rankin, Randy [EMAIL PROTECTED] wrote:
Nato,
Try something like
header ("Location: http://www.php.net"); /* Redirect browser
-Original Message-
From: Julio Cuz, Jr. [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 22, 2001 4:23 PM
To: [EMAIL PROTECTED]
Subject: [PHP-DB] Redirect command?
Hi--
I've been looking for a "redirect" command
if ( $x==true) {
print "script language='javascript'\n";
print "window.open('b.php','_self');\n";
print "/script\n";
die;
}
-Original Message-
From: Julio Cuz, Jr. [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 22, 2001 3:23 PM
To: [EMAIL PROTECTED]
Subject:
16 matches
Mail list logo