39,323 Topics

Member Avatar for
Member Avatar for durgeshmandal

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

Member Avatar for alan.davies
0
453
Member Avatar for ivay14

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 #********** **********# …

1
420
Member Avatar for lester_2

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 …

0
304
Member Avatar for Ram Krishna_2

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 …

Member Avatar for alan.davies
0
728
Member Avatar for Michael_89

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 …

Member Avatar for kinhkha1984
0
2K
Member Avatar for sashiksu

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 …

Member Avatar for kinhkha1984
0
523
Member Avatar for Andry_1

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.

0
244
Member Avatar for Gurjit_2

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 …

Member Avatar for alan.davies
0
878
Member Avatar for joshmac

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. …

Member Avatar for jkon
0
471
Member Avatar for davy_yg

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 …

Member Avatar for rproffitt
1
462
Member Avatar for sashiksu

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" …

Member Avatar for alan.davies
0
4K
Member Avatar for annya

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 …

Member Avatar for alan.davies
0
217
Member Avatar for tun712

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 …

Member Avatar for tun712
0
996
Member Avatar for Krishna_31

How i do remove duplicate questions from my excel file??? There are more then 150 questions in my excel file

Member Avatar for White_4
0
309
Member Avatar for Jara_1

$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 …

Member Avatar for ryantroop
0
433
Member Avatar for sashiksu

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 …

0
575
Member Avatar for Risky_1

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'; …

Member Avatar for pty
0
378
Member Avatar for phphp

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']; } …

Member Avatar for dev_10
0
359
Member Avatar for Maqsood_4
Member Avatar for pty
0
142
Member Avatar for James_103

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 …

Member Avatar for pty
0
355
Member Avatar for davy_yg

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 …

Member Avatar for davy_yg
0
496
Member Avatar for annya

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 …

Member Avatar for rproffitt
0
2K
Member Avatar for prashant_17

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( …

0
256
Member Avatar for mgn2683

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 …

Member Avatar for Shibli_1
0
3K
Member Avatar for Natalia_3

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! …

Member Avatar for Anas_7
0
163
Member Avatar for Robert_79

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 …

Member Avatar for alan.davies
0
452
Member Avatar for UK-1991

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 …

Member Avatar for tejpal_3
0
2K
Member Avatar for mysterious_1

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 …

Member Avatar for mysterious_1
0
655
Member Avatar for Mohd_13

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) …

Member Avatar for Dani
0
404
Member Avatar for Sergi_1

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 …

Member Avatar for rproffitt
0
292

The End.