No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
I'm trying to create a php script to print fibonaaci series. The idea is to add a new number to the series everytime the page is refreshed and print the series. <?php if (!isset($_COOKIE["fno"])) {setcookie("fno",0,time()+3600);} if (!isset($_COOKIE["sno"])) {setcookie("sno",1,time()+3600);} if (!isset($_COOKIE["series"])) { $text="0 1 "; setcookie("series",$text,time()+3600); } $fno=$_COOKIE["fno"]; $sno=$_COOKIE["sno"]; $fibostring=$_COOKIE["series"]; //echo … |
|
i tried everything to get the slider working @ http://din3shie.x10.mx/IndEnt/ index.html file : <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <!-- Design by Free CSS Templates http://www.freecsstemplates.org Released for free under a Creative Commons Attribution 2.5 License Name : Rifle Description: A two-column, fixed-width design with simple color scheme. … |
|
Hi .. I'm not so experienced with php .. I'm getting this error on the bolded line .. Can neone help me figure it out .. Regards, Dinesh Ramchandani [CODE] <?php $con = mysql_connect("localhost","username","password"); if (!$con) { die('Could not connect: ' . mysql_error()); } $db_selected = mysql_select_db('lasagnia_user', $con); if (!$db_selected) … |