[PHP] howto set variablevalue with link?

2003-08-01 Thread Kalle Saarinen
Hello, I was wondering is it possible to set a variable value with html link? I would like to have link button in my page that changes the language. I thought to set $lang variable with the button and later use it to detedmine what to fetch from the database. What wound be the smartest

Re: [PHP] howto set variablevalue with link?

2003-08-01 Thread Kalle Saarinen
before us are tiny matters compared to what lies within us. - Oliver Wendell Holmes From: Kalle Saarinen [EMAIL PROTECTED] Reply-To: Kalle Saarinen [EMAIL PROTECTED] Date: Fri, 1 Aug 2003 11:21:23 +0300 To: [EMAIL PROTECTED] Subject: [PHP] howto set variablevalue with link? Hello

[PHP] reading variables in other script files

2003-08-01 Thread Kalle Saarinen
Hello I was just wondering how can I get value of a variable in php code located in a different file? ie. I have file1.php wich stores $var1 how can I read the value of $var1 in file2.php I have database and I can put it in there (I quess) but is that the only way? -Kalle -- PHP General

[PHP] Frames and variables

2003-08-01 Thread Kalle Saarinen
Hi, I have a site that uses frames. On one frame i have buttons to select the language. When user hits the button to select the language it is supposed to change in both frames. Any idea how to do this? Thanks -Kalle -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

[PHP] Update to DB

2003-05-28 Thread Kalle Saarinen
Hello, I was just wondering how to update data to database from html text field. I have a form that retrieves data from dbase and put's values into text field in a web page. I want to be able to modify data and then save it dbase by hitting save button (also form object). ie. $sql=SELECT col1