Jump to content

Trying to avoid iframes


Danieljj39

Recommended Posts

Hello,

 

I am pretty new to php still and need some help. I will get to the point. I am working though a learning exercise. I want a user to be able to enter a number in a text field. When submit is clicked it will echo the value to (this is one of the two important parts) THE SAME SCREEN as the form where it was entered. The second part I am having trouble with is that I want the old previous numbers entered to show as well as the new ones. So it will show as a list. As a part of my learning project I am wanting the growing list to be put into a flat file and as I said, printed back on the form page. I have been trying to work with both readfile() as well as php_self to accomplish this but I cannot get my head wrapped around how this would work. I am not even sure if I am going about this the right way at all. I may be trying to learn something a little too advanced for where I am. Could someone steer me in the right direction please? Thanks much.

 

Daniel

Link to comment
Share on other sites

You don't need AJAX for this, in fact I have no idea why you posted in this section.

 

If you need help with specific code, post it in PHP help (or here if you actually have AJAX code.) 

If you just need advice on your approach, in Application Design.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.