39,323 Topics

Member Avatar for
Member Avatar for GeekTool

Hello all you guys, First of all, i am done with Html and CSS as i said in the article title. Now i want to learn a language like PHP, Coldfusion, .Net etc. to make dynamic web sites. According to what i have heard from my friends, php is the …

Member Avatar for veedeoo
0
178
Member Avatar for ramganesht

I am, trying to write a PHP-Mysql code which fetches the important places in a city and displays the results as links, when i click on the city it should display all the details like name, place, address, phone number etc, but in this case results are not being shown. …

Member Avatar for diafol
0
144
Member Avatar for ramganesht

Hi there, I am facing problem in coding PHP for my search results, my search results produce dynamic URLs (clickable texts) but when i click on the url's no results. In my website am trying to display all hotels in a city, and Iam searching with the hotel name and …

Member Avatar for ramganesht
0
189
Member Avatar for manu555

header("Content-type: application/msexcel"); header("Content-type: text/msexcel"); header("Content-Disposition: attachment; filename=bulkUpdate.xls"); $out = ''; $out .='code'; $out .="\t"; $out .='sold'; echo $out; exit; in above code xls file is generated but getting output from second row .i want it from first row

Member Avatar for pritaeas
0
104
Member Avatar for gopi17

Guys, need some guidance here... i have this php codes that copies all the value in a table to another table....some sort of table replication now, the problem is when i tried copying them, keep getting an error Database down **1054: Unknown column '124928F014007570' in 'where clause'...** the codes dataverification.php …

Member Avatar for pritaeas
0
179
Member Avatar for hwoarang69

1st user has to fill this form <form action="upload.php" method='post' enctype = 'multipart/form-data'> ImageName: <input class = "text" type="text" name="imagename" /><br/> Description<textarea name="imagedes"cols="16" rows="4"> </textarea><br/> <input type ="file" name="fileupload" /><br/> <input type="submit" name="submit" value="sumbit" /><br/> <a href="index.php">[BACK]</a> </form> than it run php code. here i am getting image infomation $image_short_name …

Member Avatar for pritaeas
0
126
Member Avatar for Danny159

Hi All, I have a WordPress installation at the following: http://www.domain.com/wordpress/ However I need some help... When a use goes to http://www.domain.com I want it to redirect to http://www.domain.com/wordpress/ however I want to hide the /wordpress/ so the user only sees http://www.domain.com But it still needs to work with links …

Member Avatar for Beattle55
0
242
Member Avatar for samxa

Hey guys, well im new to the php scene, but want to put this form which will auto-generate a new page (example : www.abc.com/123 or something like that) and then send a thank you email with the link to the auto generated page to the recipient. it will have fields …

Member Avatar for diafol
0
295
Member Avatar for azdonald

Hi, I want to output a random value from an array. i use the array_rand() function but this function returns the array key while i want echo the value. $mtn = array(08034, 08035, 08036,08037); $mtnwinner = array_rand($mtn, $num_req = 1); echo $mtnwinner; the above code will return any of the …

Member Avatar for vibhaJ
0
129
Member Avatar for hwoarang69

SMTP Error: Could not connect to SMTP host. can some one check if i doing this right? $mail = new PHPMailer(); $mail->IsSMTP(); $mail->Mailer = "smtp"; $mail->Host = " smtp.gmail.com"; $mail->SMTPAuth = true; $mail->SMTPSecure = "ssl"; //ssl or tls //$mail->Host = "ssl://smtp.gmail.com"; $mail->Port = 465; //set smtp port for the gmail …

Member Avatar for vibhaJ
1
8K
Member Avatar for vindom

Hi! I have iframe with multiple images retrieved from DB. Each img have "comment" button underneath it. I need this button to redirect to the comment page where user can leave comment . Redirection function works. But at the same time I need this button to send img ID to …

Member Avatar for vindom
0
400
Member Avatar for Transcendent

I have a form where someone can send me a message but I do not seem to get the e-mail. here is the html file: <!DOCTYPE HTML> <html> <head> <title>Financial E-mail: Send us questions.</title> <hr/> <style type="text/css"> body { background-color: rgb(98,21,153);; background-position: top; background-repeat: no-repeat; color: gold; } a:link {color:rgb(255,215,0);}/* …

Member Avatar for diafol
0
224
Member Avatar for gopi17

I'm having trouble deleting this file... keep getting this error : Warning: unlink(Gate_pass.csv) [function.unlink]: Permission denied in C:\wamp\www\SVS\copydata.php on line 31 i search trough some sites, they said replace the $myFile with the orginal name Gate_pass.csv, but still getting the same error...can someone guide me on this matter. thank you …

Member Avatar for gopi17
0
139
Member Avatar for hwoarang69

Deprecated: Function split() is deprecated in C:\xampp\htdocs\login_test\class.phpmailer.php on line 470 this error is coming from $mail->AddAddress(tester@hotmail.com); //is this same as To: require_once('class.phpmailer.php'); $mail = new PHPMailer(); $mail->AddAddress("test@hotmail.com"); //To: $mail->Subject = "test1"; //html body $body = "HEllow ikhlas"; $body .= "rest of boey"; $body .= "Sincerely,<br/>"; $body .= "test"; $mail->From = …

Member Avatar for hwoarang69
0
680
Member Avatar for eltonpiko

hi i trying to work on a lunch monthly order form.what i want to do is create a table just like a calendar with 30 cells label 1 to 30 days and in each cell the same food item with checkbox next to it generated from mysql. the user put …

Member Avatar for diafol
0
1K
Member Avatar for Patiodude

I've just started working with PHP, and one of the first things I want to do is add a timestamp to my article template in Dreamweaver, so that each article I post automatically has the post date. How would one go about doing this?

Member Avatar for diafol
0
151
Member Avatar for hwoarang69

les a user come on index.php page. he sees login form. but he forgot his password. so he click forgot password. on forgotpassword.php page he fills a form. <form action = 'forgotpassword.php' method = 'post'> Username: <input type='username' name='username'><br/> E-Mail: <input type='email' name = 'email'><br/> <input type='submit' value='get password'> <a …

Member Avatar for vibhaJ
0
124
Member Avatar for sentongogray
Member Avatar for Rsimpson105

I keep getting the warning "Warning: Cannot modify header information - headers already sent by (output started at /home/camelarc/public_html/contactform.php:11) in /home/camelarc/public_html/contactform.php on line 33" The warning occurs after i fill out a form on my website and press submit. The warning appears, but the php file still sends an email …

Member Avatar for senthilvignesh
0
244
Member Avatar for hwoarang69

so i tried this first. every thing works and get a message echo"message successfully, sent". but when i check my email nothing comes. //$email is the user email $to = $email; $subject = "Forgot password"; $message = "Hi $firstname_db,\n Your password is $password_db"; $headers = "from: text@hotmail.com"; if(mail($to, $subject, $message, …

Member Avatar for hwoarang69
0
361
Member Avatar for galtectdemo

How can l use google drive api to upload files to google drive using php without extension

Member Avatar for mschroeder
0
58
Member Avatar for kimmi_baby

Hi, I've created a template in wordpress where the child pages of one page are displayed on the page. What is displayed is the thumbnail (feature item) of each page and the content of each page. The problem I'm having is that in Safari, the third (last page) is not …

Member Avatar for diafol
0
186
Member Avatar for diafol

Hi Folks, Like many of you, I have been awaiting PHP6 for some time - especially since all those pre-emptive manuals appeared on the shelves of my local bookstore some time ago. The main wait, as far as I can make out has been down to the inability to agree …

Member Avatar for diafol
1
83
Member Avatar for Octet

I am creating a website although during a trial run with a couple of friends they uncovered a bit of a major issue.... the ability to spam. I have added a hidden box e.t.c. to attempt to prevent bots from spamming but my friends where able to post twenty messages …

Member Avatar for nielsep
0
226
Member Avatar for priebd1

I have a csv file with the following data: DATA1-1 DATA1-2 DATA1-3 DATA2-1 DATA2-2 DATA2-3 DATA3-1 DATA3-2 DATA3-3 I need to append more data to the file so it will look like this: DATA1-1 DATA1-2 DATA1-3 DATA1-4 DATA1-5 DATA2-1 DATA2-2 DATA2-3 AAAAAAA BBBBBBB DATA3-1 DATA3-2 DATA3-3 AAAAAAA BBBBBBB I have …

Member Avatar for priebd1
0
3K
Member Avatar for ramganesht

I have question in creating a dynamic menu items. my require ment is as below. In my web site the menu items are 'Education' 'Leasure' 'Quotes' In Education i have sub menu items like colleges, schools, science, maths. In Leasure i have sub menu items like movies, resorts, parks, lakes. …

Member Avatar for diafol
0
150
Member Avatar for stephen_UK

I have 2 versions of the same database. One uses M/S Access and is installed on stand alone laptops, the second is web based MySQL/HTML/PHP. The database is simple ie a single table with cuirrent 8000 records with 32 fields/record which is expanding at around 1000 records per year. What …

Member Avatar for stephen_UK
0
167
Member Avatar for HiWorld

I am stuck on a problem, and can't seem to figure out why this isn't working, when I am pretty sure it should be... I am trying to get my code to delete users from the dropdown list after the admin hits the delete button within the page. The form's …

Member Avatar for HiWorld
0
355
Member Avatar for rakibtg

hello there, i can run php script from my computer(windows 7) by xampp. today while testing a php mail form to send an email from my computer to a e-mail address then it refuse me! it shows me something like this: Warning: mail() [function.mail]: SMTP server response: 553 We do …

Member Avatar for pritaeas
0
230
Member Avatar for BoB3R

Hello, I want to edit record in mysql and ive got problem with UPDATE command its giving me syntex problem here is the code: <?php $con = mysql_connect("localhost","root",""); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("dbname", $con); $sql="UPDATE users SET (userid, firstname, lastname, email, username, password, role) …

Member Avatar for BoB3R
0
172

The End.