39,388 Topics

Member Avatar for
Member Avatar for Eugene_15

hi guys, i have a (searchresult.php) in the (index.php), which I trying use ajax post from (searchresult.php) to pass and ID back to (index.php), however my <?php echo $_POST["dataid"]; ?> keep showing empty result, I also check my console log it show result send through but why my <?php echo …

Member Avatar for grant.baker
0
210
Member Avatar for Kathy B

I need help on a new problem. On my women’s golf club web site I have a Members Directory page which consists of a table, 5 columns in width, and enough 2 rows sets to hold the members photo in the odd numbered rows with the members name in the …

Member Avatar for Gieroja
0
1K
Member Avatar for JamieBek04

Heres a pic of my database table ![Screen_Shot_2019-11-16_at_2_35_54_AM.png](/attachments/large/4/0749479693675147a0ccc8219b89e87f.png) Im trying to create a search page with drop down selectors to filter through each of the last 8 columns. I want the the drop down selectors to be able to select multiple entries (I have this working already) I also want …

0
648
Member Avatar for Techmed
Member Avatar for Priyanka25

Hi All, I am trying to create multiple codeigniter sessons for multiple users. I will explain my scenario. I have developed an application using codeigniter and launched in an ecommerce platfomr so that many shop owners installed my application. Now from my admin front, I have access to check for …

Member Avatar for rproffitt
1
1K
Member Avatar for Dani

Someone posted a comment in the [php usleep manual](https://www.php.net/manual/en/function.usleep.php) that usleep() consumes CPU cycles whereas sleep() and time_nanosleep() do not. Is this true for PHP 7.x?

Member Avatar for rproffitt
0
2K
Member Avatar for Muhaimin

Hello DaniWebian's, This is Muhaimin Sheik, I'm a passionate web developer as back and front end. I was very friendly and helpful person. I want more know about the techie knowledge. Please guide me. Thank you all...!Cheers...!

Member Avatar for John_165
0
236
Member Avatar for jtreyes

How do I assign a database query value in such a way that the value becomes the selected value in a drop down box.

Member Avatar for Murshid_2
0
5K
Member Avatar for lanny_1

can someone please help me with coding. I need to create a dropdown menu with the options being the category the user has inputted into a file upload page.

Member Avatar for lanny_1
0
314
Member Avatar for ayesha789

Hi, I can show data from the database using query [CODE=php] <?php $con = mysql_connect("localhost","root","root"); if (!$con) { die('Could not connect: ' . mysql_error()); } $a= $_POST["SiteId"]; mysql_select_db("abc", $con); $result = mysql_query("SELECT * FROM sitepinfo WHERE SiteId='$a'"); echo "<table cellpadding=2 cellspacing=2 width=100% > <tr> <th bgcolor=#5D9BCC>SiteID</th> <th bgcolor=#5D9BCC>Maintained By</th> </tr>"; …

Member Avatar for AhsanZaman
0
8K
Member Avatar for Princecrich

How can someone write a Php script that enable users upload image along with a short description in their member area to the database where admin can receive and treat it??? I will also like to know how history on upload can also be added after each upload to the …

Member Avatar for Dani
0
698
Member Avatar for Cheri Anne

How do I echo selected option? <?php session_start(); if(isset($_SESSION['cherianne'])){ }else{ header("Location:login.php"); } include("../includes/header.php"); // Retrieve our critical page setter variable. $char_id = $_GET['id']; //echo "<h1>$char_id</h1>"; // set this as a default value if (!isset($char_id)) { $result = mysqli_query($con, "SELECT bid FROM cde_blog LIMIT 1"); while ($row = mysqli_fetch_array($result)) { $char_id …

0
303
Member Avatar for Eugene_15

Hi guys, I have repost this problem again, which i still cant solved it , hope you guys can help me is been almost 2 weeks. Im not sure is my value not pass through all my url is wrong. thank you guys so much http://www.intpostfolio.com/intpostfolio/searchresult.php <input type="submit" onClick="openoverlay('<?php echo …

Member Avatar for Dani
0
1K
Member Avatar for Elijah_4

Hello members, I am kind off new to working with self joins oe self referencing tables, I am wondering how one would update a self join table considering the table aliases naming. Your help will be appreciated. If some one can point me to a good resource, I will be …

0
160
Member Avatar for SharkJr

after i key-in the form, the function change the whole column with the same value for example if i put first name JOHN it will update whole column with JOHN <?php session_start(); require_once("connection.php"); if (isset($_POST['edit'])) { session_start(); $s=mysqli_query($con,"UPDATE user SET first_name ='" . $_POST['first_name'] . "'"); $row = mysqli_fetch_assoc($s); if …

Member Avatar for anand9796
0
417
Member Avatar for Eugene_15

hi guys, can anyone advise me how to pass ajax post, my alert message has value but i cant pass to index.php . searchresult.php <input class="lowfliter" onclick="lowprice()" type="submit" id="lprice" name="lprice" value="Lowest"> search.js function lowprice() { var lprice = document.getElementById("lprice").value; var myData = 'lprice='+lprice; jQuery.ajax({ type: "POST", // HTTP method POST …

Member Avatar for Dani
0
1K
Member Avatar for Syera_1

i wish to send another field together with my FormData, so after i googled it, they said to add append to my form data, done it. but it did not send anything to db including the content of the file. here is my code:- $('#upload_csv').on("submit", function(e){ var data = new …

0
231
Member Avatar for Vin vin

So I am really interested in making a database, I have knowledge about html and css, not javascript and I just want to begin learning and making a database. I am going to use this website: https://www.000webhost.com/?utm_source=000webhostapp&utm_campaign=000_logo&utm_medium=website&utm_content=footer_img so you can see my website in the internet, I don't really expect …

Member Avatar for damonmoats
0
568
Member Avatar for Eugene_15

Would appreciate some kind help here as I'm experiencing some issue with regards to sorting of result from my map database. I trying to use onchange="this.form.submit() to activate my dropdown sort function, but somehow I kept getting plain text display of the sorted result. However, it would work fine if …

0
1K
Member Avatar for FANCY07
Member Avatar for Nuel

I have table i wish to count how many times a value appears in all column the table structure id Subject1 Subject1score subject1grade Subject2 Subject2score subject2grade 1 English 100 A Mathematics 100 C HERES MY PREVIOUSLY TRIED CODE <?php $subject1grade='A'; $subject2grade='A'; $subject3grade='B'; $a=array("$subject1grade","$subject2grade","$subject3grade"); print_r(array_count_values($a)); ?> THE RESULT Array ( [A] …

Member Avatar for Bert Pitt
0
1K
Member Avatar for anton.yakushin

I am wondering if anyone could recommend the best CMS for an Airbnb-style marketplace that allows people to sublet their apartments, and other people to search, filter, and pay for the apartments listed. These are the main requirements: - Ability to sign up both buyers and sellers. - Accounts for …

Member Avatar for johnlee90
0
2K
Member Avatar for Vishal_31

Hi everyone, I am trying to connect my html form to database using php pdo but everytime i try to submit my data it shows undefined

-1
231
Member Avatar for phase3studios

I do not have a clue as to what the problem is with this code. I am running php 7.0. This was an old form I used long ago, decided to upgrade it for random use. It works on php 5.0 but not in 7. I have run it through …

Member Avatar for daydah
0
431
Member Avatar for mehrantahir

Hi, i want to include images in email,i write the following script which unfortunatly not working,please any one help me resloved my issue `$to = "example@gmail.com"; $subject = "new account created"; $body = "New account has been created <img border=’0' src=’http://www.example.com/myimages/track.php?MID=1111&SID=2222' width=’1' height=’1'> " ; $headers = "MIME-Version: 1.0" . …

Member Avatar for Sovenga
0
15K
Member Avatar for cybertech09

Please I need your help, I am new to PHP and I need your help in inserting multiple select array into the database in the form of this. This is what I want to achieve. My table has 3 columns (id, examno, results). I want results column to be inform …

0
1K
Member Avatar for cybertech09

Please I need your help, I am new to PHP and I need your help in inserting multiple select array into the database in the form of this. This is what I want to achieve. My table has 3 columns (id, examno, results). I want results column to be inform …

0
253
Member Avatar for Desope

Hello. I am having a problem here. So I have this slider which display the pictures with status "1" which means displayed. Here comes the problem, when there's no pictures with the status AKA "0" (not-displayed), the default image doesn't show up. Here's the script. <div class="carousel-inner"> <?php $no=1; $default=$this->db->get_where("penyaluran", …

0
197
Member Avatar for Jun_8

$strSPQuery = "SELECT * FROM `san_pham` where ma_san_pham=".$arrMa[$i]; $resultSp= mysqli_query($conn,$strSPQuery); $rowsp = mysqli_fetch_array($resultSp); $tong += $rowsp["gia"]*$arrSl[$i];

Member Avatar for Dani
0
2K
Member Avatar for rayne_lynch

hi everyone! I am wondering if anyone can point me in the right direction regarding cookies and sessions. What I need to know is this; I am developing a website that has mixed html and php pages. I am wanting to have "members" where certain web pages are accessible to …

Member Avatar for alan.davies
0
251

The End.