What you won't get here is the information entered into the form unless you
use Javascript to move the data to the other part of the page. Now if the
data was only there to determine which table to show then you could use this
 or a similar,  technique. I think a simpler method would be to learn a
little Javascript and create DIV's that contain the tables that you want to
hide and show and have them occupy the same location on the page. Then set
the visible property of them depending on the value in the form. It's only a
few lines of code and would be much faster and look cleaner then doing a
re-load of the page to a new anchor.

Jim
 
-------Original Message-------
 
From: Melih Onvural
Date: Wednesday, June 25, 2003 02:18:35 PM
To: Stuart Felenstein; PHP List
Subject: Re: [PHP-WIN] OT[slightly] Tables and layers
 
This is actually really easy to do. make the post or get variable of your
form page.php#($variable) and then define each layer or table further down
the page with an achor name using <a name="anchor1" /> (XHTML close tag).
This will reload the page and direct it to the layer/table the user selected


melih
> 
> From: Stuart Felenstein <[EMAIL PROTECTED]>
> Date: 2003/06/25 Wed PM 12:33:49 EDT
> To: PHP List <[EMAIL PROTECTED]>
> Subject: [PHP-WIN] OT[slightly] Tables and layers
> 
> I'm sure this is possible but not sure where to look to learn. Still
really at the starting stages of PHP but if someone can point me in the
right direction.
> 
> Basically I don't want to swap out pages but as a for instance have a php
enabled form in a table that will send [whatever is returned] to another
table or layer somewhere else in the same page. 
> 
> Is this possible? I know nothing about HTML and will only take in as much
as necessary and rely on WYSIWYG type of programs like Dreamweaver or GoLive
to do the bulk of the dirty work.
> 
> Stuart
> 
> 
> 


-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

. 

Reply via email to