Re: [PHP] [php] passing variables doesn't work

2006-10-26 Thread Richard Lynch
Every HTTP request is separate. Nothing is preserved from one to the next unless you program it to be preserved. You can pass around hidden inputs. You can use sessions. You can store stuff in the DB. You can use shared memory. But ain't nothing gonna get shared that you don't make it be shar

Re: [PHP] [php] passing variables doesn't work

2006-10-25 Thread Ivo F.A.C. Fokkema
On Wed, 25 Oct 2006 10:19:24 +0200, Max Belushkin wrote: > Whatever form information you want to pass has to be part of the form. > >> WILLEMS Wim (BMB) wrote: >> > > In the second script, the value of this will be in $_POST["database"]. ... which will contain absolutely nothing, since you hav

Re: [PHP] [php] passing variables doesn't work

2006-10-25 Thread Jochem Maas
http://google.com/search?q=phpmyadmin phpmyadmin has all the functionality you are trying to build - and it implements it securely - even if you are writing the code/tool mentioned below as a learning exercise (as opposed to writing it because you need to be able to execute arbitrary queries easil

Re: [PHP] [php] passing variables doesn't work

2006-10-25 Thread Max Belushkin
Whatever form information you want to pass has to be part of the form. WILLEMS Wim (BMB) wrote: In the second script, the value of this will be in $_POST["database"]. $wim isn't part of your form - it will /not/ get saved into the next PHP script. You can handle it through input type hid

Re: [PHP] [php] passing variables doesn't work

2006-10-25 Thread Chris
WILLEMS Wim (BMB) wrote: Dear all, I am trying to pass variables from one php-file to another but that doesn't seem to work. Anyone an idea what I am doing wrong? The first file shows a dropdown with all the databases on the server (only 1 for me). You have to select a database and put an S

[PHP] [php] passing variables doesn't work

2006-10-25 Thread WILLEMS Wim \(BMB\)
Dear all, I am trying to pass variables from one php-file to another but that doesn't seem to work. Anyone an idea what I am doing wrong? The first file shows a dropdown with all the databases on the server (only 1 for me). You have to select a database and put an SQL query in the textarea. Pus