[PHP-DB]how to handle exception in php

2010-05-01 Thread Bavithra R
hi friends I am doing a simple student mark details project. for calculating rank I need to compare the total marks one by one. To do so i use *for loop.* so atlast while reaching the end of the table it shows the following warning. * Warning*: mysql_result() [function.mysql-result

Re: [PHP-DB] how to upgrade php in linux

2010-05-04 Thread Bavithra R
> i have downloaded the tar file from php.net but dont know how to complile >the same for the linux. > > Hi Chaitanya > > > As you have downloaded the tar file you need to extract it. > Try this *Extraction: *tar -jxvf php-5.3.2.tar.bz2 where php-5.3.2.tar.bz2 is the filename y

Re: [PHP-DB]how to handle exception in php

2010-05-08 Thread Bavithra R
hi friends... Thanks for your suggestions..but i could not get the exact rank list properly.. My code is as below.. $sql2="SELECT * FROM rank"; $result=mysql_query($sql2,$con); $num=mysql_num_rows($result); for($i=0;$i<$num;$i++) { $f1=mysql_result($result,$i,"regno"); $d6=mysql_result($result,$i

Re: [PHP-DB] Need Help in error msg

2010-06-14 Thread Bavithra R
hi.. Try to change the root password by System->administration->users and groups. Unlock the key and double click the root.Change the root password and try downloading again.I hope this works. --Bavithra

[PHP-DB] input statement in php

2010-07-26 Thread Bavithra R
hi friends.. Is there any equivalent statement in php for "scanf" or "cin" in c or c++? That is without using html and creating forms. Thanks in advance regards --Bavithra.R