Re: [PHP] Redirect to a new page?

2003-03-13 Thread David E.S.V.
you can use javascript instead.. for example in a jump menu: function seleccionPerfil(form) { if (form.perfil.selectedIndex == 0) { window.location.href=yourpage1.php; } if (form.perfil.selectedIndex == 1) { window.location.href=yourpage2.php; }

Re: [PHP] Redirect to a new page?

2003-03-13 Thread David E.S.V.
btw in your case would be just if/else cheers David. On Thu, 13 Mar 2003, David E.S.V. wrote: you can use javascript instead.. for example in a jump menu: function seleccionPerfil(form) { if (form.perfil.selectedIndex == 0) { window.location.href=yourpage1

[PHP] foro php

2003-03-12 Thread David E.S.V.
hello folks do you know any site where I can download a free php foro to install? thanks David. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] foro php

2003-03-12 Thread David E.S.V.
that's it... I just forgot the english word...forum... even it sounds latin origin regards David. On Wed, 12 Mar 2003, CPT John W. Holmes wrote: do you know any site where I can download a free php foro to install? wtf is a foro? Ah... gotta love google. In italian it means I pierce,

[PHP] displaying data base information in a website

2003-03-11 Thread David E.S.V.
Hello folks I am learning php and would like to know how to display the information I already have in a mysql database in a homepage... is there is any script, I would like to know it. thanks David. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] mysql and php

2003-03-11 Thread David E.S.V.
great tutorial to do what you want: http://www.freewebmasterhelp.com/tutorials/phpmysql/4 regards, David. On Tue, 11 Mar 2003, Joseph Bannon wrote: How can I have php give me all the data in a table as I would using the prompt in mysql? Joseph

Re: [PHP] Checking for a Valid Email String.

2003-03-11 Thread David E.S.V.
you mean something like this? //checking if the email is valid if (eregi(^[0-9a-z]([-_.]?[0-9a-z])[EMAIL PROTECTED]([-.]?[0-9a-z])*\\.[a-z]{2,3}$, $email, $check)) { if ( !getmxrr(substr(strstr($check[0], '@'), 1), $validate_email_temp) ) $mensaje=server not valid; // checking