[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, visit:

[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 Mai

Re: [PHP] howto set variablevalue with link?

2003-08-01 Thread Kalle Saarinen
$_GET array like so: > > $_GET['var'] > > Cheers! > > Rick > > "What lies behind us and what lies before us are tiny matters compared to > what lies within us." - Oliver Wendell Holmes > > > From: "Kalle Saarinen" <[EMAIL PROTECTED]&g

[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 solution?

[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