39,323 Topics
| |
I have wordpress template in which url is generating in for of xyz.com/?pickup_location=662#038;pickup_date=2018%2F08%2F08&return_date=2018%2F08%2F10 now I want to get pickup_date but I could not I also tried $_SERVER['REQUEST_URI'] but it's giving link till pickup_location | |
Hi guys! I have a problem with login into the system. Everything seem to be fine but it passes an error when i click the login button. Pls help Thank you in advance ////////login.php////// <? /* *********************************************************** **********# Name : Shambhu Prasad Patnaik #***** **********# Company : Aynsoft #********** **********# … | |
This the code in products <?php require_once("inc/header.php"); require_once("inc/navbar.php"); /* if user is logged in then only allow the user to view the page */ if (!isset($_SESSION['id'])){ echo "<h1 class='text-center text-upper text-bs-primary'>please login to view your cart <a class='text-black' href='login.php'>Login</a></h1>"; exit(); } else{ $user_id = $_SESSION['id']; } $carts = $db->FetchAll("*","cart","user_id='$user_id' AND … | |
Hello friends, I want to develop a online typing tutor using codeigniter......for hindi language (typing in computer with the help of **hindi indic 3** or** hindi indic 2 typing tool**) .......i know the php and codeigniter with css.....please give me guidance to develop it......what language i need to learn.....and how … | |
Hello Guys! Please i need help with my dynamic table, everything seems to be working fine except for my onchange event for each dynamically added row, it only inserts into the first row, but when i select an option from the second added row, the feilds to be updated from … | |
Hello everyone. I want to build a special form. It has different kind of input types text, radio,select and combo boxes. Specility of my need is this. *I need to insert one element value as one record to database. Let's assume there are two textboxes and radio button group. It … | |
I'm trying to make SSO like [Yandex](http://yandex.ru/) do. How achive authentication without redirect if user has been already authenticated at another service provider? I am working on SAML, but I could not achieve implementation without a redirect. | |
Hello everyone. I have a string that looks like this (Mango, fruits, and), (Maize, cereals, and), (Mango juice, beverages, and) I would like to convert the above string using php to something similar to this: (Mango[fruits]) AND (Maize[cereals]) AND (Mango juice[beverages]) How can i achieve this in php. I have … | |
I have a function that I need help with. The purpose of the function is to sort an array of objects by field. This function was using the PHP function create_function which is now deprecated in PHP 7.2. I've been trying to rewrite the function, but the results return null. … | |
Hello all, I am quite impress knowing that Python has been the most popular programming language in July 2018. Check this statistic: https://pypl.github.io/PYPL.html It looks like there is a changing in trends - in 2015 PHP is rank no 2 and now rank 4. While Python rank 3 moves up … | |
Recently I'm trying to pass text boxes , radio buttons and checkboxes vaues to database. For that for the clear understanding I'll provide simple way of form. <form method="post"> <input type="text" name="KKK"><br> <input type="text" name="val[]"><br> <input type="text" name="val[]"><br> <input type="text" name="val[]"><br> <input type="radio" class="form-check-input" value="new" name="val[]">New <input type="radio" class="form-check-input" value="recondition" … | |
Hello, Iam not an expert in PHP as I want to echo latest value from the table please help. My table name is : sym_fruit fileds name in the above tables are : id, fruitname, date each day i will add new fruit to this table so the latest fruit … | |
I have css animation for preloader. I need help to update content smoothly without redirecting page, using following functions $(window).on("popstate", function() { }); window.history.pushState({path: ""},"",""); Update link & content of next page after preloader progressbar animation ends `webkitTransitionEnd ` without redirecting to page. Need help to complete following functions function … | |
How i do remove duplicate questions from my excel file??? There are more then 150 questions in my excel file | |
$table = "<table>\n"; for ($i = 0; $i < sizeof($rounds); $i++) { $table .= "<tr><th>Week #: " . ($i + 1) . "</th><th>Match</th><th>Away</th><th>Referee</th></tr>\n";//table headers foreach ($rounds[$i] as $r ) {//iterate through an array $table .= "<tr> <td> Day :</td> <td> $r </td> <td>".$r["Away"]."</td><td> </td></tr>\n"; //i want to store values of … | |
heY guys :) recently I'm on web project which I use MySQL, bootstrap, PHP and Javascript. For this I have generated successfully dynamical forms using PHP. I'm using mysqli commands. I used dynamic forms if it not used I have to create hundred of html pages. So by doing this … | |
i want select then insert in php code but my code do nothing. public function deliverOrders($id_d){ $p=$this->db->prepare("select saldo from admins where name='".$_SESSION['name']."'"); $orders=$p->fetchAll(PDO::FETCH_OBJ); return $orders; if ($orders < 1000){ echo"<script>alert('you deposit less than 1000);</script>"; } else{ $q=$this->db->prepare("update orders_foods set status=1 where id=?"); if($q->execute([$id_d])){ echo"<script>window.location.href='index.php?page=orders'; alert('berhasil di kirim');</script>"; } else{ echo"<script>window.location.href='index.php?page=orders'; … | |
Sir I have these codes <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <style type="text/css"> .box{ margin:0 auto; width:30%; border:2px solid #CCC; height:auto; padding:10px; margin-top:50px; } </style> </head> <?php $my_continent=""; $my_country=""; $my_city=""; $my_zip=""; if(isset($_POST["submit"])){ $my_continent = $_POST['continent']; $my_country = $_POST['country']; $my_city = $_POST['city']; $my_zip = $_POST['zip']; } … | |
Hello Everyone, I need an information about how to join in query in MYSQL. | |
I have a simple MySQL database keyword search that is functional. However results for the search are not being returned if the keywords are not in the same order as entered in the database. For example searching for "dog cat mouse" will return a result, becuase this is the order … | |
Hello, I am planning to do my Thesis on SQLIA and now I am trying to understand something about SQLrand. SQLrand - a system for preventing SQLIA against web servers. The main intuition is that by using a randomized SQL query language, specific to a particular CGI application, it is … | |
Hello, Iam getting an fatal error " PHP Fatal error: Cannot redeclare class MysqlConnect " It was my connection file and the website was working from the past two years. Yesterday on of my friend said my website was down so that time i noticed this issue I got the … | |
I have a script for product Invoice which save details of sold product, but it do not update stock quantity when any product sale. Product quantity in stock remain the same which should decrease.. here is the code to save invoice details using for each loop : <?php function saveInvoice( … | |
I'm new to working with PHP and I am in need of some help. I am currently working on setting up a test using Dreamweaver so that users can log in, then go to the question page, and from there go to a page with a form to answer that … | |
Hello guys, I am looking to create a poll in WordPress using HTML code. I found many usufull into on the web, but i have a problem with undestanding how to put answer keys side-by-side? I imagine it to look somewhat like this : Far Cry 5 Yey! (button) Nay! … | |
Hi I am struggling with some code and was wondering any someone could please help me. My php skills are VERY limited and only get stuff done by reading forums like this and watching YouTube videos :-[. I am enjoying learning so that is why I am sticking with it … | |
Hello, just created a code for login using encrypted password method when user is registering at that time i made a passsword encryption script. But the main problem is that when it comes to verify login how do i veryfy the password as that password is saved as encrypted password … | |
Hello, I am looking for a new IDE. I am currently using netbeans to develop a website in php/mysql. I like a lot of things about netbeans, but I don't like that it doesn't come with built in compilers/debuggers. You have to manually go and add/link them on a language-by-language … | |
if($_REQUEST['subview']=="add") { $title = mysqli_real_escape_string($db->conn,$_POST['title']); $cat_id = mysqli_real_escape_string($db->conn,$_POST['category']); $area = mysqli_real_escape_string($db->conn,$_POST['area']); $bedroom = mysqli_real_escape_string($db->conn,$_POST['bedroom']); $bathroom = mysqli_real_escape_string($db->conn,$_POST['bathroom']); $garage = mysqli_real_escape_string($db->conn,$_POST['garage']); $content=mysqli_real_escape_string($db->conn,$_POST['text']); $data = array("title"=>$title, "cat_id"=>$cat_id, "area"=>$area, "bedroom"=>$bedroom, "bathroom"=>$bathroom, "garage"=>$garage, "content"=>$content, "status"=>"active", "added_date"=>date("Y-m-d H:i:s", time()) ); if($db->insert($data,'bk_property') == true) { $last_id = mysqli_insert_id($db->conn); if($_FILES['image']['name']!="") { $check = getimagesize($_FILES["image"]["tmp_name"]); if($check !== false) … | |
Hello,I need an SMS gateway like Twilio. I am testing it right now, but before investing in a commercial product I would like to map the better alternatives.Plivio was recommended for me, but Plivio PHP based configuration more difficult to integrate. Do you know any good International alternative to Twilio?In … |
The End.