Jump to content

maumesh

New Members
  • Posts

    5
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

maumesh's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. $no=123; now how to store 123 in the different variable;
  2. $value=231.25; //echo "$value<br>"; $a=floor($value);  echo $a;// 231 now i want to put the output in the array as a(0)=1     a(1)=3       a(2)=2 how to do that
  3. okkkkkk can u do atleast one favor can u help me out to get the string before the "."  in the number  32.54 i.e to get only 32 <?php   $no = '32.54';   $no1 = stristr($no, '.');   echo $no1; // outputs .54 ?> but i need to print 32 help on this mannnn
  4. <?php $value=$_POST['value']; echo "$value<br>"; if (ereg ("([0-9]{1}[0-9]{1}[0-9]{1}[0-9]{1})", $value, $regs)) {   echo "$regs[1]"; } else {   echo "failure"; } ?> this code really doen't work at alll  i knowww plz help me out
  5. hey frens i am reallly in trouble i have some numbers like 1231.23,254.34,21.2      and so on  ......... now i need a php program that will give the output like 1> 1000       200         30           1 and  23  after the decimal 2> 200       50         4 and 34 after the decimal and so onnnn plz help me fasttttttttttttttttttttttttt
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.