CrazyGaz
08-15-2003, 10:11 AM
is there an equivelant to the asp instr for PHP?
cheers, Gaz.
cheers, Gaz.
|
Click to See Complete Forum and Search --> : instr CrazyGaz 08-15-2003, 10:11 AM is there an equivelant to the asp instr for PHP? cheers, Gaz. Quasibobo 08-15-2003, 11:37 AM I googled this: ASP:<%= instr([nombre,]chaine,ch1) %> PHP:<? echo strpos($chaine,$ch1[,$nombre]); ?> Javascript:<script>document.write(chaine.indexOf(ch1[,nombre]))</script> CrazyGaz 08-15-2003, 11:41 AM thanks a lot that was exactly what I was after :) Cheers, Gaz. webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |