-
In entrance test, there will be 13944 students. All students would be accommodated in a sports ground with 84 students in each row column. We need to print their roll numbers. The role numbers should ......
-
I am building a program to print the statement using Switch Statement in PHP as per users's input.Whenver any user input any number then i am printing a value.This is my code.if (isset($_POST['......
-
I have a PHP array with points (rooms):array(38) { [90]=> array(3) { ["environment"]=> array(2) { ["name"]=> string(6) "Garden" ......
-
I have two arrays. The first array isArray_A = [a, b, c, d, e, f] and the second array isarray_B = [0,1,2,3,4,5]Now I want to count how many new arrays consisting of 6 words are created from ......
-
I searched in site, but I didn't find anything, unfortunately. I put my problem below:its my DB:class DB{ private static $_instance = null; private $_pdo, $_query, $......
-
I need to calculate next 2 weeks Monday from a fixed date, after reach the next 2 weeks Monday, start calculate this next 2 weeks Monday again. Keep loop this step. Is it possible to do it in PHP or ......
-
public function getAllUsers(){ $args = array( 'where' => "id != ".$_SESSION['user_id'] ); return $this->select($args); }how can I add status ......
-
I watched many videos on Youtube to solve this problem! in vain.I'm just trying to print this string c04637c4-a446-4857-b12c-4a9353125cddAnd here is my code$result = '{"access_token":&......
-
I'm having an issue with PHP for loop, if the initial point number is too long, it will be considered as Float, how to solve it?for ($i=3435764359345435874356345973457392; $i <= ......
-
I have merged two arrays with a total of 6 elements$merge = (array_merge($a1,$a2));I want to find the duplicate values and use this information to call and attach a specific image to those values ......
-
> $sql_get_col = "SELECT ";> > for ($i=0; $i < $select_obj_length ; $i++) { if($i ==> $select_obj_length-1){> $sql_get_col .= $select_obj_arr[$i];> break; ......
-
I have a table and php script. I want to fetch all datas (with PDOStatement->fetchAll() expression). I can do it. But there is a JSON column among my columns in the table. When I fetch this, the ......
-
Hello I've been trying to Update my PHP, I got Both 5.6 and 7.4 running on Server|-php-fpm5.6---2*[php-fpm5.6]|-php-fpm7.4---2*[php-fpm7.4]But the problem is: I dont know how to point that in ......
-
what im trying to do is something like this:enter image description herei have sql:$kursantai = "kursantai";$seminaras = "seminaras";$sql = "SELECT `{$this->kursantai}`......
-
I have a img html tag on my html page. In this img tag, I am passing url of PHP page which return some html. Below is my IMG tag:<img src="http://www.example.com/php_image.php" /> ......