Jump to content

Updating Fields


whelpton

Recommended Posts

As an addon to a previous topic I started about echoing file contents in a text box.

 

I am currently using the code:

<input name="save" type="text" id="save" value="<?php include"/home/alport/public_html/".$_SESSION['s_username']."/text/name.txt" ?>" />

To display the contents of name.txt in a form field.

 

When I submit the form, it changes whatever is in name.txt, but when I come back to the page the old content is still visable in the field.

 

Ive tried using alt+f5 to refresh the page, but nothing seems to work.

 

Is there a php method to ignore any cache and load the file afresh?

Link to comment
https://forums.phpfreaks.com/topic/146265-updating-fields/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.