RE: [PHP-DB] require function detail with example
| From: | Peter Lovatt | Date: | Sat, 26 Jun 2004 07:27:56 +0000 |
| Subject: | RE: [PHP-DB] require function detail with example | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-34976@lists.php.net to get a copy of this message | ||
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