Jump to content
scottf

Simple Data Transfer

Recommended Posts

So the user enters a number. the number is stored as the javascript value "fname". When the user goes to a new page, i want that number to still display, but it does not. how can i push that number to the next messages? I looked at the php get method, but i don't see how i could automatically set the entry. So i just need to get this number to the next page. I don't really want to use cookies, i want to use the URL.

Share this post


Link to post
Share on other sites

Cookies or php session or mysql table. Since this is posted in the html section, cookies might be easiest for you.

Edited by niche

Share this post


Link to post
Share on other sites

To use the URL, you would need to dynamically change all the hyperlinks on the page to include the number (and if the user manually enters in a URL that won't work anyway).

Share this post


Link to post
Share on other sites

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.   Paste as plain text instead

  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.

Loading...

×
×
  • Create New...