39,320 Topics

Member Avatar for
Member Avatar for sahingidis

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 …

Member Avatar for tiggsy
0
120
Member Avatar for saadi06

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

Member Avatar for tiggsy
0
45
Member Avatar for mangel.murti

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 …

Member Avatar for mangel.murti
0
105
Member Avatar for Legend32A

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 …

Member Avatar for Ninetie
0
172
Member Avatar for billmudry

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 …

Member Avatar for pritaeas
0
187
Member Avatar for soomro_moon

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 …

Member Avatar for Shanti C
0
100
Member Avatar for ankit.pandey3

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

Member Avatar for ankit.pandey3
0
101
Member Avatar for sreejithmca

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

0
43
Member Avatar for ashishchoudhary

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 …

Member Avatar for ashishchoudhary
0
103
Member Avatar for ello

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 …

Member Avatar for chrishea
0
97
Member Avatar for Matthew N.

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]

Member Avatar for chrishea
0
155
Member Avatar for smakdown

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 …

Member Avatar for chrishea
0
123
Member Avatar for ErlendHL

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?

Member Avatar for ErlendHL
0
101
Member Avatar for sahromo

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

Member Avatar for dos_killer
0
235
Member Avatar for salam120

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 …

Member Avatar for dos_killer
0
70
Member Avatar for mapee

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 …

Member Avatar for mapee
0
368
Member Avatar for iluvu9888

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 …

0
44
Member Avatar for anniejolly
Member Avatar for R0bb0b
0
57
Member Avatar for sahromo

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 …

Member Avatar for hielo
0
85
Member Avatar for ithinkimdumb

is there any function in PHP that can access my MsSQL Server...??? Note : All my Script was in Store Procedure

Member Avatar for RUBein_Fair
0
123
Member Avatar for stanley87

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!:)

Member Avatar for sahromo
0
161
Member Avatar for daviddoria

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 …

Member Avatar for Kraai
0
119
Member Avatar for Frankey

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

Member Avatar for diafol
0
180
Member Avatar for kbomo

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 …

Member Avatar for Airshow
0
7K
Member Avatar for imti321

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 …

Member Avatar for hielo
0
113
Member Avatar for stranger_on_way

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 …

Member Avatar for chrishea
0
140
Member Avatar for sedalnas

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 …

Member Avatar for chrishea
0
121
Member Avatar for marshal_ramdev

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 …

Member Avatar for marshal_ramdev
0
347
Member Avatar for Xufyan

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

Member Avatar for Xufyan
0
148
Member Avatar for Shankye

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 ?

Member Avatar for Shankye
0
161

The End.