| Peter Lovatt 2004-06-26, 3:59 am |
|
Hi
assuming you want to check the variable in php you need gettype()
http://uk2.php.net/manual/en/function.gettype.php
the text box can only be done with javascript combined with an event
eg
<body onload="myform.my_text_box.focus()"
<form action="somescript.php" method="post" name="myform" id="myform">
<input type="text" name="my_text_box" id="my_text_box"value="" size="30">
</form>
If you need more on the javascript then a specialist javascript list would
be better :)
Peter
> -----Original Message-----
> From: Rinku [mailto:rinku_pgsql@yahoo.com]
> Sent: 26 June 2004 08:13
> To: php-db@lists.php.net
> Subject: [PHP-DB] require function detail with example
>
>
> 1)I need to check a variable weather it is numeric or
> character. Could any of you answer for the query ?
> 2)I want to set the focus of one particular textbox.
> So could you pls answer how to setfocus ?
>
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail - 50x more storage than other providers!
> http://promotions.yahoo.com/new_mail
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
|