frames and forms

They have: 461 posts

Joined: Jul 2003

i've used both before, but trying to combine them i'm having a small issue.

in the past using two frames and i want one to be a control page for the other i name one something like "interface" and the other one i leave unnamed

i then have the links all have target="interface"

i'm trying to make a page that has administrative functions in a select box and the functions appear on the lower frame. i figured

for some reason it keeps bringing the page up in a new frame.

the page simple reads function elected:

<?php
$_POST
['fn']
?>
and it's not getting anything from that. the select box is named fn

does anyone know why this is happening? it's on a server with apache 2.0.40 and php 4.2.2

i don't understand why that is happening. i'd like to know why so i can fix it

POSIX. because a stable os that doesn't have memory leaks and isn't buggy is always good.

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

m3rajk, I've reviewed your question again, and it seems to be related to how to get PHP to render the form information, not a question of how to make an HTML form. Would that be accurate? If so, this is the right forum, but you may want to provide an example url as well as more clarification of what's happening and what should be happening in your estimation.

Mark Hensler's picture

He has: 4,048 posts

Joined: Aug 2000

Sounds to me like the question is "How do you get an HTML form to submit to another frame?" I don't believe this is directly possible, but may be achieved using Javascript.

Mark Hensler
If there is no answer on Google, then there is no question.

They have: 461 posts

Joined: Jul 2003

if you look at the post a third time, please pay attention to what i talk about up until this line:"the page simple reads function elected:

<?php
$_POST
['fn']
?>
and it's not getting anything from that. the select box is named fn" thatis telling people what the page i am calling with the form does. i have no idea if what that does would cause the issue with the form. but forms suuport the target="" option, which is why i don't understand why it's not displaying in the other page

POSIX. because a stable os that doesn't have memory leaks and isn't buggy is always good.

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

Baby, I have no idea what you're asking or what you're trying to do.

"It's not getting anything from that" means it should be? Or it shouldn't be?

The whole frame isn't showing up? The select box isn't getting the data?

Example URLs would go a LONG way to solving this problem.

They have: 461 posts

Joined: Jul 2003

http://24.91.157.113/findyourdesire/htmlSetUp/admin-frameset.html

that's my server. if it's down there's eithr another thunderstorm going through the area or my rents turned it off.... i believe i lose the nice server space at brandeis august first. it's too bad. the server is much faster. and the tech is much newer. this is from94.95... i put in a new hd and needed to replace the power supply. that was all. it's a pentium 1 pre-mmx and the hardware can't support a hd over 8 gigs, but the bios gets fooled when using linux with less than 8 gig partitions, but i found that mysql has weird things happen ... like i can enter without a password on any user and it'll give me a warped version of a read-only mode on whatever the user has access to. so the i'm not entirely sure of where issues i have might lie.

i figure if i can get everything working right on this server, then i know it should work anywhere as long as i have php 4.2.2 (the version of php i have) and mysql 3.23.56 (the version i have). like i said, i don't know why it's not going into the other window

POSIX. because a stable os that doesn't have memory leaks and isn't buggy is always good.

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

PHP is not being parsed, that's the problem, in a nutshell, right? Perhaps because the frameset isn't parsing (.html instead of .php)?

So right off the bat I'm getting the raw directory listing instead of the right information.

Same with the top frame in the frameset and all subsequent documents. PHP doesn't work unless it's parsed? So all the documents should be .php documents, not .html?

Mark Hensler's picture

He has: 4,048 posts

Joined: Aug 2000

He's also got HTML comment tags *within* the tags in the frameset. Is this legal? I've never seen it done before.

They have: 461 posts

Joined: Jul 2003

i'm trying to getthe html to work right.

i'm not concerned with the php. im'm going to comment that out and change the function reader to a php page to see if that helps.

interestingly enough, mark seemed to have it. the comment inside of the frame call was screwing it up. i thought comments could go anywhere

POSIX. because a stable os that doesn't have memory leaks and isn't buggy is always good.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.