39,326 Topics
| |
[code=php] <?php // connect to database include("inc/connect.php"); // include auth and nav //include("inc/auth.php"); // begin content //include("inc/nav.php"); // close mysql connection //mysql_close(); // Check if the form has been submitted. if (isset($_POST['Submit'])) { $brandC = $_POST['brandC']; $typeC = $_POST['typeC']; $styleC = $_POST['styleC']; $frameC = $_POST['frameC']; $groupSetC = $_POST['groupSetC']; $errors = … | |
I'm looking for some PHP scripts that be able to search into the Database and retrieve all the records that matches the user input string in the search form. Please advise. | |
Hello Im looking for a real simple way, if possible with no databases involved, to send an email to a hosting account on godaddy. I believe they use smtp.secureserver.net for the smtp server. I have a form that asks for the persons name and their email..I am later going to … | |
hi i want to fetch username from another table based on the id generated in the temopary table. [CODE] <?php @ $rpp; //Records Per Page @ $cps; //Current Page Starting row number @ $lps; //Last Page Starting row number @ $a; //will be used to print the starting row number … | |
Can anyone recommend a good up-to-date how-to for the installation of PHPEclipse and DBGdebugger? I am using xampp 1.6.5 which has PHP 5.2.5. Try as I might, I can't get the requisite [code] with DBG v2.11.30, (C) 2000,2004 by Dmitri Dmitrienko, http://dd.cron.ru [/code] in the PHP header to indicate that … | |
I am using current_timestamp and it works great but when I output the data onto a php page it looks like this: 2008-03-05 18:05:44 Anyone know how I can make it look like this? 03-05-2008 18:05:44 | |
Symfony , Zend Framework, CakePHP - Which Framework you will choose ? | |
how to solve prob the im displaying email by database and now when i click it it shuld open the hotmail or outlook page how to code it urgent | |
Hi guys, I've been searching around trying to find a solution to this problem. Basically I wrote a simple php script to create an xml file of the information thats passed to it. Testing it locally works without a problem, but when I upload it to my web space I … | |
I wanted to how do we upload an image path(url) into the MySql database and call it through PHP. Do we use the BLOB function, if yes, then how? I don't want to upload the image itself as it will burden the database. Please Advise.* * Any Tutorials, videos, article, … | |
Hi, I would like some help please. I have made a contact form on Flash and called on a PHP file to send the form through mail. When I receive the e-mail, it is all messed up with HTML tags of the text formatting everywhere... Even in the "From" and … | |
Hi all, I struck at one of my projects where I have to convert uploaded video files into flash files.I am not getting proper idea how this get it done.Please help me in this regards. Thank you, Aravind. | |
Hi all, i know a lil bit PHP and im trying to use AJAX in my PHP script can u tell me where the good resources/tutorial to start learning this thing :?: Thx before | |
I need to know that, how can i embed the live rates for international stocks on customised charts. Is there any freeware charting application or i have to buy this full customizable charting application. If i have to buy , do you know about any charting application, please provide me … | |
hello, i have a serious problem :S i have 4 pages 1st page: user enters his first, middle and last name. + a submit button to the 2nd page 2nd page: he enters his Gender, Age and Marital status. + a submit button to the 3rd page 3rd page: Address, … | |
Hey, There was a tutorial on this problem I have now but I have lost the link so I am hoping someone here could help :D Basically, I am looking for the code that you basically use as a replacement for iFrames. For example, the URL would be [url]www.mysite.com/index.php?page=PAGENAME[/url] and … | |
what's wrong with this code? it works fine except when i download the file there's nothing in the file and i've tried removing the unlink. [CODE]$F = fopen("filename","w"); fwrite($F,"blah"); fclose($F); header('Content-Disposition: attachment; filename=title'); unlink("filename"); [/CODE] | |
PHP Parse error: syntax error, unexpected T_STRING, expecting ']' | |
I continue to get the following error when running the my php script. PHP Parse error: syntax error, unexpected T_STRING, expecting ']' in /hermes/bosweb/web171/b1716/sl.c2cadmin/C2C/php/processform.php on line 174 Any insight on this would be greatly appreciated. Here is the script: <?php /* Program name: processform.php * Description: Program checks all the … | |
Hello, I am thinking of creating a php game in my spare time. Any ideas on what the game should be? | |
Im studying how to integrate Classes in php pages. anyone who has an idea on how i can come up with this? That i would just have objects.. is it possible? | |
Hi, i'd some requests for my PHP, can anyone guide me? Q1: Any upload server can be used so that i can test my upload.php? My currently used web hosting may need permission. Q2: using <? session_start(); .....?> at every page and assign [code]$_SESSION['name']=$_POST['name'];[/code]. and at the second page it … | |
Hello, I recently signed up with a free hosting provider(apache, mysql, php). When I login through ftp, I go to my root directory which is web accessible. So where do I hide the files that I don't want to be accessed through the web? Such as database connection files, user … | |
[code=php] <?php //echo "You have been successfully logged out. echo "You have been Successfully logged out.<br><br> <img src='../images/goodByeC2.png'/> You will now be returned to the Main page. "; ?> [/code] Why line 4 is not working, please advise. | |
[code=php] <table align="left" style="width: 764px"> <tr> <td> <?php $con =mysql_connect("localhost","root",""); mysql_select_db("administration",$con); $list=mysql_query("SELECT * FROM cycles"); echo "<table border=1>"; echo "<tr>" ; echo "<td align=center style='color:red'>CID</td>"; echo "<td align=center style='color:green'>Brand</td>"; echo "<td align=center style='color:red'>Type</td>"; echo "<td align=center style='color:green'>Style</td>"; echo "<td align=center style='color:red'>Model</td>"; echo "<td align=center style='color:green'>Gear No</td>"; echo "<td align=center style='color:red'>Frame</td>"; … | |
hi for all the PHP experts here, i have couple of questions that keeps me feel frustrating.. first of all, may i know how to insert a link within PHP echo? for example, i have a function which is used to validate the username, if the username is incorrect, i … | |
Dear all, I have a string array “$query_string1” having the value (reg_personal.personal_sex=’Male’) I want to pass this value through the URL for the use of pagination.. For that I used the command “<a href='{$_SERVER['PHP_SELF']}?pageno=1&query_string=$query_string1'>First</a> When I am clicking on the Link First the passed query string contains only “Reg_personal.personal_sex=” It … | |
Now I'm editing a PHP contact form to get visitor's comments to my e-mail. 03 fields are there as Name, E-mail and message. If visitor fill the e-mail field as yahoo.com or hotmail and any other famous mail server addresses, I can't receive that comment. Please give me instructions to … | |
hi i want to attach documents with the email.i have a field in my db which contains the path where the file is stored.when the user want a particular doc ....i want it to fetch from the database and send it to their email address.................. | |
Hello, I am trying to protect some files from anyone typing in the url and being able to view them. Particularly FLV files. So I have placed them in a directory one level up from web access. However, now I can't use my flash player to access them since they … |
The End.