-
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, $......
-
public function getAllUsers(){ $args = array( 'where' => "id != ".$_SESSION['user_id'] ); return $this->select($args); }how can I add status ......
-
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 ......
-
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; ......
-
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 ......
-
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 ......
-
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" /> ......
-
I'm working on converting some old PHP code from version 5.6 to 7.3. I had a syntax error and the message I got was:[14-Nov-2020 11:33:16 America/Los_Angeles] syntax error, unexpected '=', expecting ......
-
<?phprequire_once("../includes/db.php");if(isset($_POST["image"])){ $data = $input->post("image"); $name = $input->post("name"); $......
-
i will like to put this text :By clicking on this button you agree with "Policy" and "Terms" of this site...
-
I am using tDPDF to use unicode font. The problem is that i am creating my web page using xampp, testing on Raspberry Pi LAMP server and uploading on my server. All of them have different server ......