Or if you have header.inc.php and the body tag is global then in your
form.inc.php(for example) or in your template, you can do this:
script
Window.onLoad=function(){
document.nameform.inputField.focus();
}
/script
Regards!
-Mensaje original-
De: Philipp Kopf [mailto:[EMAIL
Try changing your direcive extension_dir:
extension_dir=C:/PHP/ext instead of extension_dir=C:\PHP\ext
-Mensaje original-
De: Laszlo Nagy [mailto:[EMAIL PROTECTED]
Enviado el: MiƩrcoles, 26 de Abril de 2006 04:01 a.m.
Para: php-general@lists.php.net
Asunto: [PHP] PHP 5 + Apache 2 on
Only chage method=post for method=get
Regards!
-Mensaje original-
De: Patrick Aljord [mailto:[EMAIL PROTECTED]
Enviado el: Martes, 25 de Abril de 2006 06:19 p.m.
Para: php-general@lists.php.net
Asunto: [PHP] need help to put input text value into url
I have a form like this:
form
I'd try this:
?php
$arr_siirto = array(1,2,3);
print_r($arr_siirto);
$arse = $arr_siirto;
print_r($arse);
Foreach($arr_siirto as $value){
echo input type=text name=\arr_siirto[]\ values='$value';
}
?
And when submit do this:
?
$arr_sirto = $_REQUEST['arr_siirto'];
Print_r($arr_sirto);
You should set a name to your session:
Index.php:
?
session_name(mySession);
session_start();
$_SESSION['myVar'] = something;
?
LogOff.php
?
session_name(mySession);
session_start();
Session_destroy();
Print_r($_SESSION);
?
++
| ISC Edwin Cruz [EMAIL
Are you using the constants predefined?
__FILE__ __LINE__
Or also try using backtrace,
http://mx.php.net/debug_backtrace
Regards!
Edwin.
-Mensaje original-
De: Weber Sites LTD [mailto:[EMAIL PROTECTED]
Enviado el: Jueves, 20 de Abril de 2006 07:43 a.m.
Para:
6 matches
Mail list logo