39,393 Topics

Member Avatar for
Member Avatar for emiola

Despite the fact that my script runs perfectly well on the server, it fails to submit form data into mysql database. Kindly look into this for me. see code below: [code=php]<?php> $dbcnx = mysql_connect("localhost","user_name","password"); if (!$dbcnx){ exit('<p>Unable to connect to the database</p>'); } If (isset($_POST['submit'])) { $SchoolName = $_POST['SchoolName']; $SchoolEmail …

Member Avatar for nav33n
0
241
Member Avatar for veledrom

Hi, I use PHP Swift mailer to send around 2000 emails in one go. I just wonder if there is a chance to find out: Who have received? Who have not received? Any idea? Thanks

Member Avatar for veledrom
0
1K
Member Avatar for Syntax12

Here's the dilema.... I have a site, and I want users to be able to submit some information to a database... so for example Title: ____ Description: ____ PHP Image Upload: Ajax? [Submit Button] I don't want to use sessions, or anything of that matter if at all possible, because …

Member Avatar for ioan1k
0
83
Member Avatar for veledrom

Hi, I use login screen in my php page withoutp HTTPS. HTTP only. I use SHA1 for password encription. What do you suggest me to do for best security practise when i check username and password from database for login process? Thanks

Member Avatar for mschroeder
0
87
Member Avatar for arnaud257

Hi, Using dreamweaver / webassist extension / Apache 2.0.59, MySQL 5.0.41, PHP 5.2.6 on a mac: After selecting my criteria on my search page I go to a result page where I display several information from my database. I have 10 results per page and each result has field displaying …

Member Avatar for arnaud257
0
193
Member Avatar for khr2003

hi I have a table in my database that look like this: id - name - orderno the table has data in the fields of id and name but orderno is empty. I made a html form based on the data of this field, in front of each name field …

Member Avatar for nav33n
0
92
Member Avatar for ashish100

Hi, I am using Apache's mod_rewrite module in order to enabling url rewriting.I have some queries. (1)My website has a large database and large no. of files.I want to apply rule on only one file.So every time some event occurs(user clicks on any link to open the corresponding page) control …

0
49
Member Avatar for gagan22

hi everyone, I have found one warning in my php code. How it can be removed. pls help me . It is very urgent. warning is like this on a php page......... Warning: session_start() [function.session-start]: open(/tmp/php-ses/sess_7dbaf8a556cd076ed8409da8908ea802, O_RDWR) failed: No such file or directory (2) in /home/vg002web01/12/46/1014612/web/login/user.main.php on line 2 Warning: …

Member Avatar for gagan22
0
555
Member Avatar for maxicube

Heyy, need some help here. ok, I've got my script here right. [CODE]<html> <head><title>Display Records</title> <style type="text/css"> td {font-family: tahoma, arial, verdana; font-size: 10pt } </style> </head> <body> <?php $db="aseco121"; $link = mysql_connect('127.0.0.1: 3306', 'root', '******'); if (! $link) die(mysql_error()); mysql_select_db($db , $link) or die("Couldn't open $db: ".mysql_error()); $result = …

Member Avatar for maxicube
0
215
Member Avatar for MDGM

Hi all, I need to do a query like this: [CODE]SELECT * FROM table1 WHERE ( SELECT COUNT(*) FROM table2 WHERE fbid = *current primaryKey*) > 150[/CODE] How do I get the *current primaryKey* in order to do the second section of the query? Max.

Member Avatar for nav33n
0
3K
Member Avatar for HB25

Hi I explain what I have: user will visit the site to change booking detail using their client and booking ID, once thy typed their ID they will be directed to another page where they will be welcomed and they will be presented with a form to enter the booking …

Member Avatar for HB25
0
3K
Member Avatar for JasonCMK

Hello, I am quite new to PHP and MySQL. Could anybody please help me with this problem? Suppose I have a database like this, [ICODE][U]Type[/U] [U]Name[/U] [U]Price($)[/U] A ABC 150 A DEF 350 B XYZ 250 B UVW 450 C ....................... .............................[/ICODE] The user is required to choose the type …

Member Avatar for verruckt24
0
70
Member Avatar for servis

i want to provide an option to user to preview the form input before form submission, it runs well, but it does the same action on pressing submission or preview button html [ICODE] <form> <tr> <td width="26%" height="30" align="right"><font face="Calibri">Category:</font></td> <input type="text" name="category" size="30"></td> <td width="26%" height="30" align="right"><font face="Calibri">City:</font></td> <input …

Member Avatar for nav33n
0
2K
Member Avatar for palani08

Hai, I want to generate license key for my script for that i used PADL (PHP Application Distribution License System) classes.but I am not cleared from this classes if anybody used this padl license system please give me the details or guidelines how did you generate the license for your …

0
53
Member Avatar for Coward

hi all i have problem with save zero before number in the var example [CODE] $num=0024; echo $num;// show 24 [/CODE]

Member Avatar for nav33n
0
87
Member Avatar for freelancelote

Hi, I'm trying to set a simple send an email script as I found it on the internet. Here is the code: [CODE=php]<html> <head> <title>PHP Mail Array Loop</title> </head> <body> <?php $to = "mymail@anydomain.com"; $subject = "Test mail"; $message = "Hello! This is a simple email message."; $from = "anybody@somedomain.com"; …

Member Avatar for nav33n
0
264
Member Avatar for bar7b

Im trying to build a site that gets info, lets say product prices, [B]from different xml sources that have a different structure[/B]. Then it displays all the prices sorted.. My first guess is to import all the data from the different XMLs to a mysql db after the sorting of …

Member Avatar for bar7b
0
125
Member Avatar for jakx12

Ok so what i'd like to know is how to have two where statements in a mysql delete query. I get an error if i do this: [ICODE]mysql_query("DELETE FROM user_notifications WHERE username='$acc' AND WHERE notification='$note2'") or die(mysql_error()); [/ICODE] Any help would be much appreciated, I know this is a silly …

Member Avatar for vinothkumarc
0
312
Member Avatar for manish812

HI I want to submit csv file data into mysql pls tell me how 2 do if any one has any program made to insert csv file into mysql pls give me the code i really need it pls help me bye

Member Avatar for mattjfox@gmail.
0
203
Member Avatar for alexgv14

I have this code which display random images from any folder on a webserver. You just have to give each picture the same name but with a number at the end of it (make foo.bar foo1.bar footype.bar foo2.bar). Does anybody have any idea how to make this work accept not …

Member Avatar for alexgv14
0
138
Member Avatar for punithapary

Hi, I trying to creat code to upload images .in my code i can upload files but i cant upload images can any one tell me what is the problem in my code this is my code [code=php]<?php $command=$_POST["command"]; If($command == "") { ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 …

Member Avatar for xantini
0
160
Member Avatar for xor83

I trying to parse HTML Table tags and get all the values in a Array. How can I get values from that array One-by-One. I have tried many array sample but when I try to print this array it only returns series of value "Array" not the value. see this …

Member Avatar for xor83
0
87
Member Avatar for jumbla

Hello, this is hopefully a very easy one for you guys, but as a beginner I'm not sure how to do this correctly: I have a form [icode]<form method="post" name="boxsearchform" action="search.php"><input name="title" id= "title" type="text" value="" /><input type="image" name="search" src="go.gif" /></form>[/icode] that passes the variable of "title" to search.php. On …

Member Avatar for jakx12
0
119
Member Avatar for goliath23

Hello, I am trying to figure out why when this form is submitted I get a 505 Error page which says, "Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, [email]webmaster@patrickcudahy.com[/email] and inform them of the …

Member Avatar for somedude3488
0
84
Member Avatar for amisenheimer

I have a series of 5 checkboxes installed in a web form. I have the code to get the checkboxes to echo back onto a confirmation page for the site visitor to see. However I can't get the info to come back to me in the email. I don't know …

Member Avatar for amisenheimer
0
90
Member Avatar for nikhita
Member Avatar for trochia
0
500
Member Avatar for Venom Rush

I'm trying to create a 6 digit number from a string of letters before a # sign. For instance I'd like to take "seaweed#" and take the 6 last letters before the "#" sign and convert them to numbers based on each letters position in the alphabet assuming a=1, b=2, …

Member Avatar for Venom Rush
0
97
Member Avatar for theimben

I want to use $_GET['error'] to fetch error messages from an array. Heres my array: [code=php] $errormessages = array( 'nosearch' => 'Your search returned no results - <a href="guide?t=search">Click Here For Search Tips</a>', 'captcha' => 'The captcha you entered was incorrect, please try again.',); [/code] So if I did [ICODE]echo …

Member Avatar for Shanti C
0
201
Member Avatar for shasha821110

Really new in PHP So don't know what to do now?? I have a form which have one select button have different catalog. And i want to do when i choose one catalog, my page will show what's that related. here is my form code: [CODE]<form action="index.php" method=GET name=chcat > …

Member Avatar for cwarn23
0
519
Member Avatar for atulb

I been desperately looking for a good simple complete tutorial on how to parse CSV with php...and not just stupid example on the php.net that is everywhere. I m very new to CSV, what i need is to be able to search through the csv file (prolly fgetcsv()), i have …

Member Avatar for BMAPGh
0
166

The End.