php3-list | 199903

Re: [PHP3] Help, lost in the mixture of php3 and html..... From: Jason Brooke (jason <email protected>)
Date: 03/31/99

Change it to something like:

<a href="display-contents.php3?letter=A">

display-contents.php3 can then access $letter, which would return A in
this case

Jason

Robert Chalmers wrote:
>
> Hi,
> I'm good and proper lost in the mixture of html andphp3 syntax now...
>
> It's simple really. I have a list of the Alphabet.
>
> ABCDEFGHIJKLMNOPQRSTUVWXYZ
>
> At the top of the page basically. Now, if I click on "A" for instance, I
> want a listing of all things in the database starting with "A".
> The database part is ok. no worries. Jumping ot a location in a page is no
> worries, but how do I code the link so that when I click letter A, it takes
> that letter to the code to find the A's in the database.
>
> <a href="display-contents.php3?A"> would I thought have passed the code,
> but I want it all on the same page.
>
> abcdefghi....
> =========
> A....
> A....
> A....
>
> depending on which letter I select... Maybe I should use it in a form? with
> a select? hmmm
>
> Thanks anyway for any pointers folks.
>
> Bob

--
PHP 3 Mailing List   http://www.php.net/
To unsubscribe send an empty message to php3-unsubscribe <email protected>
To subscribe to the digest list:  php3-digest-subscribe <email protected>
For help: php3-help <email protected>  Archive:  http://www.php.net/mailsearch.php3
List administrator:  zeev-list-admin <email protected>