No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
6 Posted Topics
Can anybody tell me how to handle more number of requests on server using PHP ? If there are 1000 request capability of web server at a time and if more number of requests (say 1500) are encounter on server at a time, then how the SEVER maintains and process …
$i=0; while($var[$i]) { mysql_query("Select * FROM table_name WHERE `id` = '$var[$id]'"); // your code $i++; }
use this html special chars / or use rawurlencode() function
Use ctype_alnum() function to check the input data. I give you an example code: function validate_alpha($val) { if(ctype_alnum($var)) return "string is accepted."; else return "string is not accepted"; }
this will may help u : <?php class abc { var $id=null; var $id_cliente = "abc"; var $nome_cliente = null; var $data = null; var $hora = "xyz"; } function UserClassVariable($classname) { $vars=get_class_vars($classname); foreach($vars as $key=>$values) { echo $key." : ".$values; echo "<br/>"; } } $obj=new abc(); $class_name=get_class($obj); UserClassVariable($class_name); ?>
Use while loop,it may be due to retreival of multiple values from table ,coode is: while($row_selecttemptable = mysqli_fetch_array($result_selecttemptable)) { echo $row_selecttemptable['movietitle']; }
The End.
navdeep7489