Jump to content

Silly question


Recommended Posts

Hi guys I know that this is probably too easy for you but...


How can I move a value from one site to another for exapmle via link? or is there any othre way?


For example I have $information in site welcome.php and I want to use it in site transfer.php. What is the best way to do this?

Link to comment
Share on other sites

If its a different page on the SAME site then just use sessions or cookies

if its the same site or even another site you can use POST or GET (html forms)

it its same site you could include the file and all values will work..


can you explain what your trying.

Link to comment
Share on other sites

First of all thaks a lot for every info so far...

I guess I should be more specific. What I need is get a integer that represents a bank balance of customer from a database, store it to a variable for exemple $balance. This should be happening on the first page and I think it's not problem to do for me. On second page I want to use this integer to see if user can transfer some amount of money and in second step decrese his curent balance.

Big deal for me is hov to transfer this balance.

I hope I made my selfe clear.

Thanks for all your help.

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.

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.