39,320 Topics

Member Avatar for
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
52
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
86
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
241
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
122
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
287
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
199
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
135
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
158
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
85
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
117
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
83
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
88
Member Avatar for nikhita
Member Avatar for trochia
0
497
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
95
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
199
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
517
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
Member Avatar for theimben

On my MySQL search what I want to do is redirect a user to another page and show an error message if the search returned no results. But for some reason the user never gets redirected. Can you spot my problem? :| [code=php] $sql = "SELECT * FROM `list` WHERE …

Member Avatar for vinothkumarc
0
79
Member Avatar for EmperorDass

Dear All, I have created a button using Google Toolbar. you can refer it on below link [url]http://toolbar.google.com/buttons/apis/howto_guide.html[/url] when we click on the button, it will grab the current URL that the user viewing in the broswer to my website and saves the URL for future reference of the User. …

0
59
Member Avatar for localp

my OS is Windows XP, i have installed apache server (2.0 X) .. i am writing a script to send an email via php mail function. [code=syntax] <?php $to = "myAddress@hotmail.com"; echo "1"; $subject = "Hi!"; echo "2"; $body = "Hi,\n\nHow are you?"; echo "3"; if (mail($to, $subject, $body)) { …

Member Avatar for cwarn23
0
209
Member Avatar for cali_dotcom

hi, i'm creating the admin section for a multi-level category search/navigation system. i mean like, when a visitor comes to the site and they are looking for data, first a list of categories appears. for example ..... states....departments......etc. so when a user clicks on states, he gets another list of …

Member Avatar for death_oclock
0
124
Member Avatar for hbk_star2006

Hi Please tell about these But First look at them. ####################################### com=whois.crsnic.net net=whois.crsnic.net org=whois.publicinterestregistry.net info=whois.afilias.net biz=whois.neulevel.biz us=whois.nic.us co.uk=whois.nic.uk org.uk=whois.nic.uk ltd.uk=whois.nic.uk ca=whois.cira.ca cc=whois.nic.cc edu=whois.crsnic.net com.au=whois.aunic.net net.au=whois.aunic.net de=whois.denic.de ws=whois.worldsite.ws sc=whois2.afilias-grs.net mobi=whois.dotmobiregistry.net pro=whois.registry.pro ################################## Just like them i want to know about the whois of the following?? .in .co.in .biz .info .name .tv …

Member Avatar for almostbob
-1
91
Member Avatar for shasha821110

Hi, all i have one project about doing pizza ordering system using PHP+XML So about the design website part i already have bunch of ideas. The part make me stuck is the XML part. The following is what required: [LIST] [*]. [/LIST]Spend some time thinking about how best to represent …

Member Avatar for shasha821110
0
619
Member Avatar for theimben

Im sure this has been discussed endless times but I can't find anything which will do it how I want to. I want to seemlessly execute some PHP onclick. It will just update a row in MySQL and I dont want the user to be aware of this happening. How …

Member Avatar for essential
0
75
Member Avatar for rohnni

Hii I want to design a contact form with multiple fields like title, firstname, lastname,country,email,address,pincode on one page at the bottom with next button and on other page want to add some more fields with checkbox and radio buttons .... please tell me how to design it and its coding …

Member Avatar for rohnni
0
837
Member Avatar for rohnni

[code]<script language="javascript"> function funAgree(){ document.form1.action=""; } function funDisagree(){ document.form1.action="2.php"; } </script><img src="images/detail.jpg" alt="" /></td> <td width="435"><form id="form1" name="form1" method="post" action="mail.php"> <span class="large">Title(eg.Mr,Mrs,Dr)<br /> </span> <input name="title" type="text" id="textfield" /> <br> </label> <br> <span class="large">First name *<br /> </span> <input name="name" type="text" id="textfield2" /> <span class="small"> </label> (required)</span><br> <br> <span class="large">Last …

Member Avatar for peter_budo
-1
165
Member Avatar for Title27GT

[code=php]<style> body { background-color: #eeeeee; } border:0 valign="top" </style> <?php require_once("VatsimPHPgenerator.php"); $VatsimPHP=new VatsimPHP; $pilotlist=$VatsimPHP->pilots(); $flag=0; $found = false; foreach ($p in $pilotlist) { $m = substr($p[11],0,4)."|".substr($p[13],0,4); if (preg_match("/TTCP|TGPY|TBPB/", $m)) { printf("<tr><th>%s</th><td>%s</td><td>-%s</td></tr>", $p[0], $p[11], $p[13]); $found = true; } } if (!$found) print("<tr><td>There are currently no ongoing flights within the Piarco …

Member Avatar for somedude3488
0
76
Member Avatar for progurammaar

Hello, I made a page that allows users to login, if id and password are correct than it sets up a cookie and says 'Hi'. Now i can access any page on the site after logging in(Which was restricted if you arent logged) Now this works fine in firefox and …

Member Avatar for progurammaar
0
95
Member Avatar for Lizapotter

Hello everybody I am in search of free PHP script to add calendar in my forum, can anybody help me in this regard, thanks in advance

Member Avatar for jakx12
0
118

The End.