Re: PHP and FORM
| From: | Ampersand | Date: | Tue, 03 Oct 2000 11:43:20 +0000 |
| Subject: | Re: PHP and FORM | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-18406@lists.php.net to get a copy of this message | ||
Ok.I did it..
No one and last question..
How can i redirect to a page with php.
for examples go.php?id=3 means ../about.php
----- Original Message -----
From: Maxim Maletsky <maxim@japaninc.net>
To: 'Bilgehan' <bilgehan.yildirim@veezy.com>
Cc: 'PHP General List. (E-mail)' <php-general@lists.php.net>
Sent: Tuesday, October 03, 2000 2:35 PM
Subject: RE: [PHP] PHP and FORM
> You already got it:
>
> SELECT url FROM Location WHERE ID=$id
>
> means that it will select 'url' in the row where the column 'id' equals to
> whatever $id equals.
>
> add it manually to your url, like file.php?id=0001
> and you'll see what MySQL will pull you out.
>
> -----Original Message-----
> From: Bilgehan [mailto:bilgehan.yildirim@veezy.com]
> Sent: Tuesday, October 03, 2000 8:22 PM
> Cc: PHP
> Subject: Re: [PHP] PHP and FORM
>
>
> Ok that worked :)) Thanks..
> Another question :
>
> SELECT url FROM Location WHERE ID=$id
>
> I have a db with id and url sections in a table.
> have can i get url of id ?
>
>
>
> ----- Original Message -----
> From: Charles Killian <Charles@AlcatrazDesignGroup.com>
> To: Bilgehan <bilgehan.yildirim@veezy.com>
> Sent: Tuesday, October 03, 2000 2:16 PM
> Subject: Re: [PHP] PHP and FORM
>
>
> > No parsing is necessary. Try this after the submit:
> >
> > print $id;
> >
> > php automatically assigns the get/post/cookie variables a variable.
> >
> > Charles
> >
> >
> > ----- Original Message -----
> > Sent: Tuesday, October 03, 2000 4:10 AM
> > Subject: [PHP] PHP and FORM
> >
> >
> > Hi there!
> > I will try to explain my problem with an example
> >
> > I have a link <a href="go.php?id=4">About</a>
> > and i cache the query string in go.php like
> > $info = $QUERY_STRING;
> >
> > now how can i parse the $info to id and id number..
> >
> > Sorry for my explanation. :)
> >
> >
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>
----------------------------------------------------------------------------
----
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com