PHPBuilder - Where did they go today? Page 3

RSS Twitter

Where did they go today? - Page 3

by: Sebastian Moericke-Kreutz
July 30, 2000

When you have set up the database and placed the page right you can use it in different ways:
First, you can use it for standard <a href="redir.php3?u_target="> -commands. Second, you can use it in special forms for easy (and logged ;) navigation. Look at this example:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

    <title>Where did they go today?</title>

<form action="redir.php3" method="POST" target="">

<select name="u_target" size="1">
    <option value="">News for Nerds</option>
       <option value="">News for cool Coders</option>
       <option value="">If you can't find it there...</option>
       <option value="">This is my baby...</option>
<input type="Submit">

Third: If you fear of getting 'copied' away with all of you links on your site, you can expand the script, so that the parameter '$u_refferer' is looked up in a separate database and replaced by an address. (Like the one in html: 1 is for, 2 is for, and so on)
Finally: Mail me an other ideas you have! Tell me if you want this code expanded with user-id's, symbolic names for links and so on. I will put this script on an own webpage soon and if I have the time, I will enhance it.

« Previous Page

Comment and Contribute

Your comment has been submitted and is pending approval.

Sebastian Moericke-Kreutz



(Maximum characters: 1200). You have characters left.