[PHP] function for $array

2003-03-20 Thread pei_world
I want to use the following function the test the array elements, if all element is number return true, otherwise false; but the command marked, it print out only the first char of every strings in the array; can help? ie: ++0++ for 0.234 function check_int_float($array){ $result=true;

[PHP] Re: number function

2003-03-20 Thread pei_world
){ $result=true; for($i=0; $i wrote in message news:[EMAIL PROTECTED] > anyone how to write a good number valid function? > regonise numbers like: real int > > > > > > -- > Sincerely your; > > pei_world ( .::IT::. ) > > > > > > >

[PHP] number function

2003-03-20 Thread pei_world
anyone how to write a good number valid function? regonise numbers like: real int -- Sincerely your; pei_world ( .::IT::. ) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] simple arithmetic problem

2003-03-16 Thread pei_world
ts($fp); echo ">>>".($new - $old)."<<<"; ouput ====== 1047832384>> 1047832349 = >>>1047832384<<< -- Sincerely your; pei_world ( .::IT::. ) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Loading var from txt or php file

2003-02-28 Thread pei_world
I have a flash written to receive var from php file. but I found one problem, my problem is just can load the var from the file. I have following AS code from a button. when I click this button twice, it load up the var but How can I load it befor the moive is going to play? there is no point to

[PHP] Re: Flash interaction with PHP

2003-02-24 Thread pei_world
I only found the actionscript for click button to load the varialbes. but If I want to load variable when the moive start? on (release) { gotoAndPlay(2); Status = "Beginning Login Process.. Please Hold"; loadVariablesNum ("Login.php?Name="+Name, "0"); }

[PHP] Re: Dynamic combobox in Flash with PHP

2003-02-23 Thread pei_world
how to active the variablesLoad("test.php",0) when the flash start to play I mean auto load the variables -- Sincerely your; pei_world ( .::IT::. ) "Michiel Van Heusden" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > my experience is > that i

[PHP] Re: Variables not being received from form

2003-02-23 Thread pei_world
cann't see any thing without your form! I think it is misstyping error, check your form variables name, specially upper case or lower case! but try $rank = $HTTP_POST_VARS[rank]; $title_new = $HTTP_POST_VARS[titles]; -- Sincerely your; pei_world ( .::IT::. ) "Peter Gumbrell" &l

[PHP] Flash interaction with PHP

2003-02-23 Thread pei_world
do you know how to load the variables from php automatically when the flash start? I need to stick the loadvariable into a button click action,which is not what i want. thx -- Sincerely your; pei_world ( .::IT::. ) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

[PHP] Dynamic combobox in Flash with PHP

2003-02-23 Thread pei_world
I have the following PHP code to generate output to the flash //=== $query = "SELECT currencyCode,currencyName,country,buyPrice,sellPrice FROM $CURRENCIES_TABLE order by currencyCode;"; $db_linker = db_c

[PHP] how to get the array

2003-02-21 Thread pei_world
if my post variable is $_POST[array] How can I get the individual element of that array? I found one way to do this is $two_array=$_POST[array], but is there any other way to do so? thx -- Sincerely your; pei_world ( .::IT::. ) -- PHP General Mailing List (http://www.php.net/) To

[PHP] Re: new to php, need help..

2003-02-21 Thread pei_world
; pei_world ( .::IT::. ) "Jonathan" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > hi all, i've only begun learning php around 1 week ago, i'm having trouble > with this code, > > > > Untitled Document &

[PHP] problem in PHP with ADODB connection, Microsoft JET Database

2003-02-19 Thread pei_world
Database Engine Description: Syntax error in FROM clause. ----- thx -- Sincerely your; pei_world ( .::IT::. ) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php