39,323 Topics
| |
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. | |
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 … | |
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 … | |
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 … | |
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 … | |
hi all i have problem with save zero before number in the var example [CODE] $num=0024; echo $num;// show 24 [/CODE] | |
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"; … | |
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 … | |
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 … | |
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 | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
how to download table data from mysql table using php other than files | |
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, … | |
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 … | |
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 > … | |
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 … | |
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 … | |
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. … | |
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)) { … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
[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 … |
The End.