[thelist] PHP/Webservice -- send "string as number" or "number as string" ?

Volkan Özçelik volkan.ozcelik at gmail.com
Tue Nov 11 09:14:08 CST 2008


Stefan Schwarzer wrote:
> ("AF"), the other an integer (4).
>   
Can a regular expression trick be the solution?

for instance

^\d*?$

matches "4"; but it does not match "AF"

HTH,

-- 
Volkan Ozcelik
+> Front End Architect, MessengerFX : http://www.messengerfx.com/
+> linkibol.com - in seek for quality links : http://www.linkibol.com/
+> my blog (in Turkish) : http://www.fikribol.com/donkisot/
+> Sardalya JavaScript Library : http://www.sarmal.com/sardalya/ 




More information about the thelist mailing list