intval()
! does not work on arrays and objects.
Walter
"tim2boles" <
tim2boles@forum.codecharge> schreef in bericht
news:546b69cd92f3de@news.codecharge.com...
> Hello all,
>
> I am a newbie to PHP and codecharger. I am trying to get something to
> work and
> can not find the right combination of things to make to go.
>
> I have two tables that are connected with a foreign key.
> clients. client_id pk
> contacts.client_id fk
>
> Lets say that the clients.client_id is a text field (just because I need
> it to
> be that way for this example). I have created a list box that has the
> bounded
> column as clients.client_id and the textcolumn as clients.client_name.
>
> Now I want to have a variable IntClient_id that is an integer. Can
> someone
> help me figure out how to cast the bounded column clients.client_id to an
> integer and set the variable IntClient_id the results.
>
> IntClient_id=tointeger(bounded column from list)
>
> Regards
> Tim
> ---------------------------------------
> Sent from YesSoftware forum
>
http://forums.codecharge.com/
>