RE: require function detail with example

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx]
> Sent: 26 June 2004 08:13
> To: php-db@xxxxxxxxxxxxx
> Subject:  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

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux