39,320 Topics
| |
I am using PHP and MySQL E-Commerce book and when i want to see department list i got these errors. I did lots of things but nothing happened. does anyone help ? [COLOR="Red"] ERRNO: 2 TEXT: include_once(catalog.php) [function.include-once]: failed to open stream: No such file or directory LOCATION: C:\xampp\htdocs\seeshop\presentation\departments_list.php, line … | |
hello i have a problem. i have an update query and it is working fine i just want to check if that query hass affected any row or not how can i check it thanx in advance | |
hello all,, i am working on online hotel booking project . where user can pic room in Hotel and booked them using paypal. what if user want to cancel booking... i used paypal api for that.....and payment type is sale.... my Question is that 1. if user wants to cancel … | |
Hello, I am trying two days now and I have spent about 12+ hours on this and I can't find a solution :( Please help, or I am gonna lose my mind! I am trying to save user's monitor resolution on MySQL. I almost done it but, I have a … | |
Sometimes a person can get too close to their work that they cannot see what is going on wrong. I hope that is the case here. I have been working on my favorite project, a large wood knowledge base at: [url]www.prowebcanada.com/taxa[/url]. There is enough data to look up already and … | |
I'm getting an error as i'm trying to Insert Data From a Form Into a Database through PHP but i don't know whats wrong with my code..help [CODE] <? include("connection.php"); mysql_query("insert into patient_information (ID,admission_ID,patient_ID,guardian_ID,admission_date,admission_time,patient_status,reason_for_status,referred_doctor_ID,referred_doctor_name,assigned_doctor_ID,assigned_doctor_name,department_ID,department_name,ward_ID,ward_no,room_ID,additional_notes) values('NULL','"$_POST[a_id]"','"$_POST[p_id]"','"$_POST[g_id]"','"$_POST[adm_d]"','"$_POST[adm_t]"','"$_POST[p_s]"','"$_POST[r_s]"','"$_POST[r_d_id]"','"$_POST[r_d_n]"','"$_POST[a_d_id]"','"$_POST[a_d_n]"','"$_POST[d_id]"','"$_POST[d_n]"','"$_POST[w_id]"','"$_POST[w_no]"','"$_POST[r_id]"','"$_POST[a_n]"')")or die(mysql_error()); echo $q; if (!mysql_query($sql,$con)) { die('Error: ' . mysql_error()); } echo "<script type='text/javascript'> alert('1 … | |
[CODE]<?php require_once('upper.php'); $error_msg=''; if(!isset($_COOKIE['LoginIdCookie'])){ if(isset($_POST['submit'])) { require_once('database.php'); $LoginId=mysqli_real_escape_string($dbc,trim($_POST['LoginId'])); $Password=mysqli_real_escape_string($dbc,trim($_POST['Password'])); if((!empty($LoginId)) && (!empty($Password))){ $query="SELECT * FROM registration WHERE LoginId='$LoginId' AND Password=SHA('$Password') AND Flag='A'"; $result=mysqli_query($dbc,$query) or die('Not Connected'); if(mysqli_num_rows($result)==1) { $row=mysqli_fetch_array($result); setcookie('LoginIdCookie',$row['LoginId']); //$home_url = 'http://' . $_SERVER['HTTP_HOST'] . dirname($_SERVER['PHP_SELF']) . '/index1.php'; header('Location: index1.php'); } else{ echo 'Enter right UserName/Password combination or You … | |
Hi, I am using SMPP class to send SMS. Also i am not much familiar with the same. Please help me to get the delivery report using SMPP class. With Regrds Sreejith | |
Hello, I want to post my product details on amazon but i did not find any web service which provide facility to list your product on amazone. if is there a web service please let me know about that also please tell me if this service is free or i … | |
Hey guys I have a small piece of code and I'm just wondering how to go about doing the following. All the script does is gets random information from a database every time the user clicks a link. Which works fine, but the problem is the script is getting information … | |
I have made a php comment script. It works fine, except that you cannot veiw the comments, you don't need to sign in or anything, but it wont show the comments. you can veiw the source at [URL="http://www.jsclsftwre.22web.net/testing/index.php"]Veiw it here[/URL] | |
Hi everyone ,, I'm writing a PHP script to upload the whole folder from the user's local machine , the problem i have mange to do something but i notice in fact that php only upload the entire local folder from the web server not the user's machine . After … | |
Hi! I have been making a chat program. In PHP I control user inputs with htmlentities so they can't write html. But this also ruins the precious æøåöüÿëäñ etc.. characters! Would it be safe to only remove the < and >s? Or is there another way to avoid this? | |
what php code should i add if i need the custno[id no] to be included when i submit the log-in button? this code runs, but i really need the code for the custno to be included. start.php [CODE]<?php session_start(); session_destroy(); ?> <html > <head> <title>Login Form </title> <meta http-equiv="Content-Type" content="text/html; … | |
hello everyone... I'm trying to make some page by php but know I need some help:?: Do you know how can I make a box like textbox that contains images which I can edit, merg or delete them. (for instance a box that have three images and when I point … | |
Hi i am new php programmer, and i need your help please i have a page that allows for public visitors to upload multi images but some hackers using my page to upload php files by using image forms to hack my website. i tried to add some code in … | |
Hi, I am trying to create a drop down list in php and I want the data to come from a table that I have created in phpmyadmin. The code that I have created allows me to select values from the drop down list and insert the rest of the … | |
How to find the minimum or maximum value across several columns in sql server | |
how would i pass a auto incremented primary key to a foreign key? example i have this room table that has a Room_No as a primary key that is auto_increment and i need it to pass to another table named AF and Room_No as its foreign key.. what code should … | |
is there any function in PHP that can access my MsSQL Server...??? Note : All my Script was in Store Procedure | |
i have to insert a lot of data where it might be also use as foreign key at different table.is that possible to add 1 time together the value to all table?can give any example?thx in advance!:) | |
I want to have files like this: File1.xml [code] <titletag> Title1 goes here </titletag> <contenttag> Content1 goes here </contenttag> [/code] and then use this data with something like: [code] <html> <body> ... Place <contents of titletag from File1.xml> here </html> [/code] Is this a reasonable request? How would I do … | |
I have some strings that contain & # 234 ; or other special character, i want to normalise them so i can use them in database, urls etc. What i started is below, but i can not belief there isn't a php function for it, anyone now which one? [CODE] … | |
I want to map a field, city, from a MySQL database into Google Maps. I found a nice script to do it, but haven't been able to get it to work. If I hard code an array into locations (var locations = ['Seattle', 'New York']), it works fine. Passing this … | |
EVERYTHING IS OK DONT KNOW WHY IT DOSENT WORK I THINK THERE IS PROBLEM IN 'PATH' IT SHOWS ERROR ON LINE 27 NEAR </td> [CODE]<html> <table width='70%' align='center'> <tr> <td> <img src='inc/b.png'> </td> </tr> </table> <table width='20%' align='center'> <tr> <td> <a href='index.php'>Home</a><br> <a href='index.php?page=tutorials'>Tutorials</a> </td> <td width='80%'> <?php $page=$_GET['page']; if … | |
Hi everyone... I am creating a website like file drop box.... In that whenever a user registers, a directory is created for that user. I want to create a php script to set permissions on files, so that when a user wants he can share his file with other users … | |
Hi, i could make my website downloading a pdf files but after downloading i get this error [B][I]" There was an error opening this document. the file is damaged and could not be repaired "[/I][/B] i think the problem is in the PDF version because this problem just occur when … | |
hi , I am working on testing some scripts .. But there are lots of errors i am facing .. the common error is Parse / syntax Parse error: syntax error, unexpected '(' .. This is the the line which is currently giving errors while executing . [CODE]md5("som3_admin",$username)()setcookie$password$_POST$username$_POST;[/CODE] plz help … | |
php mysql simple form help whats wrong with my code ?? every time i refreh my page a new field is created in database 'example' i want my code to create new field in database only if something is insert in text field here is my code [CODE]<?php $name=$_POST['name']; mysql_connect("localhost", … | |
Hi friends .. I have a mailing_list file .. I wanted to check whether the visitor entered Email already exists in file? Is there any standard function for it ? |
The End.