39,323 Topics

Member Avatar for
Member Avatar for soomro_moon

hello, everyone im working on my masters thesis, i need little help. if anyone can help me with cookies methods. i want to implement cookies in my website through PHP, im nt that much expert in php.how can i do that ??? please

Member Avatar for soomro_moon
0
337
Member Avatar for olawole.famakin

Hello i am trying to echo a listview using php, i have made an ajax request to display the list view in my html page using div. but the list view never comes out properly, which leaves me with only one thing, that the css and javascript for this listview …

0
95
Member Avatar for Hijran

How can i redirect to admin and user page ? <?php session_start(); $con = mysql_connect("localhost","root","nano"); $selected = mysql_select_db("airline"); $username=$_POST['uname']; $password=$_POST['ptxt']; $username = stripslashes($username); $password = stripslashes($password); $query = "SELECT * FROM user WHERE name='$username' AND password='$password'"; $result = mysql_query($query); $count = mysql_num_rows($result); if($count==1){ $_SESSION['username']=$username; header("Location:login_success.php"); }else if{ $_SESSION['username']=$username; header("Location:admin.php"); }else …

Member Avatar for broj1
0
195
Member Avatar for zebnoon1

Dear friends I am developing a php online registration form.I created login form which is without database becz admin user in only one to check enquiries.But some thing is wrrong here ..my login.php page code is below. <!DOCTYPE html> <html> <head> <title>Login page</title> </head> <center><h1>Admin Login</h1></center> <center> <fieldset style="width: 30%; …

Member Avatar for zebnoon1
1
220
Member Avatar for pabzzmike

Hello, I would like to enhance a website in that a user may send an SMS from it for free. Is this possible via a PHP script? regards, Pabzzmike

Member Avatar for matrixdevuk
0
532
Member Avatar for solomon_13000

I would like to enquire further details about the terms of using php for commercial application development. The scenario is that I have built an application using PHP and intend to host it with a 3rd party hosting company. I am renting the server at the hosting company and the …

Member Avatar for lorenzoDAlipio
0
212
Member Avatar for nibbler

Hi, I wonder if anyone can help me with a basic MySQL/PHP output problem please. I have a table called 'Recommendations' which has a small number of fields (id, recom_date, recom_name, recom_status and recom_size). I want to be able to show the 'recom_status' field as a heading with the other …

Member Avatar for gabrielcastillo
0
369
Member Avatar for Hijran

<?php session_start(); $user=$_POST['uname']; $_SESSION['username']=$user; $con=mysql_connect("localhost","root",""); mysql_select_db("airline")or die("Db error"); $username=$_POST['uname']; $password=$_POST['ptxt']; $username = stripslashes($username); $password = stripslashes($password); $username = mysql_real_escape_string($username); $password = mysql_real_escape_string($password); $query = mysql_query("select * from user where password='$password' AND name='$username'"); if( $username == 1 && $password == 1); header("Location:/user.php"); ?> plz help me ? :(

Member Avatar for Hijran
0
153
Member Avatar for JasonWung

Currently I have form with couple of fields and field for image. I have done with the part of field storing but don't know exactly how to store image path with PDO and can't find good tutorial. All I found was how to store image into DB instead of path. …

Member Avatar for diafol
0
969
Member Avatar for olawole.famakin

hello i am trying implement a multi search query using an example i found online, http://www.w3schools.com/php/php_ajax_database.asp although the example on this page is a single query and makes use of a select menu, i have edited the code to make use of it using a textfield, and it works perfectly, …

Member Avatar for broj1
0
363
Member Avatar for marifard

Hi I have three pages to upload an image or another type of work for particular client. One of these pages are to show the uploaded files if i uploaded before and it called clientwork.php, the second page is called nework.php, this is a form page to choose the new …

Member Avatar for marifard
0
287
Member Avatar for ravi142

Hello, In attachment image so i want to make Tree as output of PDF. i have built it but not exact. so can you make it some help if you know. Thank You.

Member Avatar for broj1
0
218
Member Avatar for davy_yg

Hello, I am trying to understand how to create this website template that I still do not understand how to do it. I am trying to create a elearning website template: There are several box that consist of the picture & name of class classification such as chemistry, history, etc. …

Member Avatar for toxicandy
0
102
Member Avatar for ahabanhbao

Hi. I'm new in PHP Mysql , please help me with this situation : i had this php code <form action="insert.php" method="post"> Check locked backdoor<br /> <input type="checkbox" name="Check[]" value="A" />Yes <input type="checkbox" name="Check[]" value="B" />No <br /> Laptops handover monitor<br /> <input type="checkbox" name="Check[]" value="A" />Yes <input type="checkbox" name="Check[]" …

Member Avatar for toxicandy
0
2K
Member Avatar for Naren arora
Member Avatar for yuri1000

I am new here to get answers for my issues, hoping for your kind advice. Thanks in advance. I have written a HTTP API to send SMS using curl. Everything is working fine, except I am failing to loop and post curl for certain phone numbers. For example: User uploads …

Member Avatar for pritaeas
0
311
Member Avatar for tibor.marias

Dear Readers, I have a simple HTML form pointing to a PHP (<form action="xy.php" method="post">), and if I type http:// into an input of the form, it won't run. If I type anything else the form runs. How can I solve this? Maybe somewhere it is interfering with another http:// …

Member Avatar for diafol
0
293
Member Avatar for JasonWung

Hi, I have admin panel where I have one admin ( super admin ) which has full permission to all section of the website, database queries .. etc. Now I want to create another admin (member) whit less permissions and to have access to few pages. I don't know how …

Member Avatar for diafol
0
342
Member Avatar for fireburner29

Hi there, Sorry for bad english, I using blockcategories module in left menu Prestashop. I just want to fetch products name, when i clicking on category left menu. Specified Codes for your reference. Thanks in advance. modules/blockcategories/category-tree-branch.tpl {* * 2007-2014 PrestaShop * * NOTICE OF LICENSE * * This source …

0
139
Member Avatar for Kparas

Hi all, I want to import a .csv file into mysql database with using php code. How i can do this . what php code i will have to use for this. Please help me to do this. Because i have thousand of records which is in .csv file format. …

Member Avatar for rahulnamdev
0
481
Member Avatar for hallianonline

While genrating sitemap using php and mysql i am tottaly stuck with the errors in this, my requirement was to gerante multiple files sitmaps with the sitemap index if urls are greater than 5000 but this code i followed from a site totaly stucks me with errors please help me …

Member Avatar for Taywin
0
163
Member Avatar for rpv_sen

Hi Can anyone please help me on below issue I have created a website with PHP & MySQL. Its look like an Desktop Applications

Member Avatar for hericles
0
119
Member Avatar for jorwill.harion

Hi! I am currently working on my thesis and I don't have any idea on how can I view the records stored in 3 mysql tables. Can someone please give me some code regarding on this. The records should be displayed in a table form then when you click a …

Member Avatar for janissantony
0
273
Member Avatar for rsleventhal

At times, I have need to push all submitted form array values into $_SESSION. To do this, I've written a small function: function addPostToSession() { foreach ($_POST as $key=>$value ){ $_SESSION[$key]=stripslashes(strval($value)); } } This works well, as long as $_POST is one dimensional, but in a form with checkboxes, $_POST …

Member Avatar for cereal
0
395
Member Avatar for marifard

Hi, I have two pages to upload an image for specific client. the code of the page where I choose the image from file for specific client is: <?php require("headerloggedin.php"); ?> <?php $clientid = $_GET["clientid"]; $query = "SELECT * FROM clients WHERE clientid = $clientid"; $resultset = $db->query($query); while($row = …

Member Avatar for marifard
0
238
Member Avatar for ravi142

Hello, I am build to sent email with around 5000 email at time sent means Multiple emails used.Like Gmail but at the end Gmail have restriction for limited user.also not sent in SPAM .do you suggest me if any Web service provide this facality.[Not sure but Mailchimp could be provide …

Member Avatar for hericles
0
69
Member Avatar for davy_yg

create_account.php <?php include('includes/koneksi.php'); $nama = isset($_POST['nama']) ? $_POST['nama'] : ''; $institusi = isset($_POST['institusi']) ? $_POST['institusi'] : ''; $alamat = isset($_POST['alamat']) ? $_POST['alamat'] : ''; $email = isset($_POST['email']) ? $_POST['email'] : ''; $no_telp = isset($_POST['no_telp']) ? $_POST['no_telp'] : ''; $confirmation = isset($_POST['confirmation']) ? $_POST['confirmation'] : ''; //Simpan berita /* if (isset($_POST['submit'])){ …

Member Avatar for pritaeas
0
335
Member Avatar for wgdbatman

I am having a reall issue with an assignment I am on. Here is the Assignemnt and attached are what I have for the .html and .php files. My .html is displaying as code on a web page vice the desired formatting. Any advice? Write a PHP script that obtains …

Member Avatar for matrixdevuk
0
566
Member Avatar for fireburner29

I have developed ecommerce application using opencart. My Req: Adding pincodes to the geozones/zones in shipping. This way, customer can enter the pincode before check out and see the right shipping cost. (each place or city will have different shipping cost). Please help me anyone. thanks in advance.

Member Avatar for gabrielcastillo
0
64
Member Avatar for ceeandcee

Good Morning, I am trying to run a mysql query to see if the field 'Date' is within 7 days of the current date or not. If it is less than 7 days old, I want to echo an image called current.jpg. If it is more than 7 days old, …

Member Avatar for diafol
0
321

The End.