For Programmers: Free Programming Magazines  


Home > Archive > PHP DB > June 2004 > RE: [PHP-DB] require function detail with example









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author RE: [PHP-DB] require function detail with example
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

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com