10 Posted Topics
Re: [CODE] <? //you used any of the function shown below according to your requirement i am concatinating function parameters and exploding in the function the use them function dynamicFun($val) { $arr=explode(",",$val); foreach($arr as $key=>$value) { print $value."<br>"; } } for($i=1;$i<3;$i++) { print dynamicFun($i); for($j=1;$j<$i;$j++) { $k=$i.",".$j; print dynamicFun($k); } } … | |
Re: [CODE] Give single "=" sign instead of double "==" in follwing line: $connect==mysql_connect("localhost","root",""); This surly works [/CODE] | |
Re: [QUOTE=tarunkhatri;1013354]Hi, I want to pass the parameter of employee_id to a page. My code is working fine and passing parameter to page but the problem is rather then the current parameter , It is passing the previous parameter which was selected in previous submit. Below is the code. [CODE]<form action='manager_employee_select.php?proc_employee_id=<?php … | |
Re: This may solve your problem.. <? if(isset($_POST['tz'])) { // store the selected value for future use in DateTimeZone $_SESSION['tz'] = $_POST['tz']; // timestamp to convert (just an example) $currentdatetime=date("Y-m-d h:i:s A"); $timestamp =strtotime($currentdatetime); //1240349566; // set this to the time zone provided by the user $tz = $_SESSION['tz']; // create … | |
Re: Use below one: $bcc="put email address" $headers =$headers. 'Bcc:'.$bcc.'' . "\r\n"; that will solve your problem | |
Re: [QUOTE=masterjiraya;1011682][CODE=PHP]<?php echo "<html> <head> <title>QUIZ-FINALS</title> </head> <body background=fatcat.jpg> <form method=post> <table border=0> <tr><td colspan=3><b>Enter eight Score:</b><br></td></tr> <tr><td><input type=text name=1></td><td><input type=text name=2></td><td><input type=text name=3></td><td><input type=text name=4></td></tr> <tr><td><input type=text name=5></td><td><input type=text name=6></td><td><input type=text name=7></td><td><input type=text name=8></td></tr> <tr><td colspan=4><input type=hidden name=h value=true> <center><input type=submit value=Compute></center></td></tr> </form></table> <br>"; if($_POST['h']==true) { $n[0]=$_POST['1']; $n[1]=$_POST['2']; $n[2]=$_POST['3']; $n[3]=$_POST['4']; … | |
Re: Instead of $show_all=$_POST['rg01']; Use below one $show_all=$_REQUEST['rg01']; | |
Re: open this code in zend u'll get solution | |
Re: hi, you write below one if($sql_res!="") { $row=mysql_fetch_row($sql_res); $grpcnt[$gkey2]=$row[0]; } instead of $row=mysql_fetch_row($sql_res); $grpcnt[$gkey2]=$row[0]; then it won't give u any error | |
Re: if you are printing anything in that page, so don't print anything over there . Also write ob_start(); after session_start(); |
The End.