39,323 Topics
| |
Hi All, I have started learning PHP now. I am unable to find the exact difference between include and require in php? | |
hi everyone, I am trying to create an inventory using php/mysql. However, I am using a webpage such that the viewer or user indicates or picks their choice by making continous selections on the spry menu. For example, if the first choice is "x", another menu appears with several options … | |
i want to display the results of a sql statement in several pages i have 6 rows .and i set the page limit to 2 rows so i have 3 pages i followed some tutorial online : [url]http://php.about.com/od/phpwithmysql/ss/php_pagination_3.htm[/url] but when i click next i have no results to display !! … | |
I've been wondering for the past hour if i could make a custom web extention like, .php. Would it be possible to create a .page ? (default.page) while using the php extension? Basically just renaming the web extention. | |
Hello friends... I got one error ,when my login page is loading... Fatal error:maximum execution time of 30 seconds exceeded in ../../../login.php What would i do for preventing this.. Thanks in Advance. Shanti.. | |
can anyone heLp me i need to send an id to a page through a javascript function but it wont work he can't read the variable function confirm_delete() { var answer=confirm("Are You Sure You Want to Delete ?"); if(answer==true) { window.location="delete.php?id=$id"; // alert(" Title Deleted"); } else return false ; … | |
Hi, I use the "login.php" to login to my site, i want store all the sessions in "sessions.php" after login process. When i go to other pages, i simply want to require "sessions.php" to be able to use sessions in those all pages. Is this logis possible? If so, how … | |
Hello I am facing a problem in my website development, I am using a html text area on my web page which is used to fill a field in database. The problem is that when I submit the text it converts the multiline text into single line. e.g Hello, I … | |
hey guys, i've installed xampp on my PC but i m nt able to run php files on it. please tell me how to run php fiels on xampp. | |
Heloo, i've just downloaded a template for my site but i dont know how to use it in my PHP code can anyone just state some steps to follow thnx | |
Hi guys, I need to have a list of alphabet letters ABCDEFG...etc, and when I click on each letter, it opens a list of items. How do i do this opening list? I'm working with html/php/sql/etc Thanks a lot! Good night :) | |
i want to send bcc and cc if uers click the checkhox.it is not working [ICODE] $body2.="<html><body>"; $body2.="<b>With Regards,</b><br/><b>CG Group</b>"; $body2.="</body></html>"; $headers = "MIME-Version: 1.0\r\n"; $headers .= "Content-Type: text/html; charset=iso-8859-1" . "\r\n"; if (strlen($body2)>998) { if($option1=1) { $headers .= "Content-Transfer-Encoding: base64;" . "\r\n"; $headers = "To: $to\r\n"; $headers .= 'From: … | |
| I'm trying to process a text file saved in the directory below where the PHP script is running. First, it lists all of the files in the directory, skipping over . and .. Finally, it attempts to get a file handle for each file one at a time and then … |
HEY GUYS i tried to open a php file with a notepad but accidently when i was opening it the check box which said that always use the selected program got checked. Now php files always with a notepad. whether i run it on the browser it opens teh file … | |
Thanks to the help of many on this forum I've been able to put together a script that allows me to do some basic CMS functions, like pulling data from the MYSQL database, displaying it in rows/tables, etc. Now I have tried to extend the functionality of my search by … | |
Hi all, I have two buttons, submit and back......after clicking the submit it will go to the action part, but i have another button back , if i click on the submit it has to go to previous page so how to do. as i think we can only one … | |
i've anothe question, in here. I've made a registration form which 've region and zone with selection type. Main thing is wheni select the region, the zone list must come out as selection method from the DB. i've got the problem in php codes... help me outt... | |
Hi, I'm creating a small application with a "mood generator" on it. Basically, the user chooses a colour and a saturation, and this data is queried against a database to produce a sentence. For example, choosing a deep red in a very pale shade might show "I'm really angry, but … | |
i have made the form action a variable..ie code echo the 1.php if registration values have been set by the user accordingly....and register.php if user have entered some improper values. then i save these values in session variables and call these variables on 1.php to enter in the database. my … | |
[code=php]<? //inbox.php $data = mysql_query("SELECT * FROM mailbox WHERE `index` <= $index_end and `index` > $index_start") or die(mysql_error()); $info = mysql_fetch_array( $data ); if($info['read'] == 0) { echo "<span class=\"tableStyle\">"; $tabColor = "tableStyleNew"; } else { $tabColor = "tableStyleOld"; } //print table start echo "<table class=\"$tabColor\" bordercolor=\"#FFFFFF\" border=\"1\" cellpadding=\"0\" cellspacing=\"1\" … | |
hi i have a longtext field in mysql.i want to write the data which is in longtext to a .doc file.so tat when the user clicks download all the data will get downloaded in a doc file thanks in advance | |
Is there way to tell if a radio button is checked by not using the value at all?? And by not using any javascript either.. Here is what Im using: [code] <input type="radio" name="item_id" value="1" /> <input type="radio" name="item_id" value="1" /> [/code] Now I need the name and value to … | |
hello, i am having some problems retrieving email from gmail. im not sure if its because its pop or what. unfortunatly my host doesnt have the pop module. but here is the code. [code=php] $imap = imap_open("{pop.gmail.com:995}INBOX", "username", "password"); $messages = imap_sort($imap, SORTFROM, 1); foreach ($messages as $message) { $header … | |
CAn any one show me code or explain how i can display data from mysql database in drop down menu. I will appreciate your Help)))) | |
Hey.. here i am going to do root map ..its working fine..but i have some extra features.. it includes (WHEN WE CHOOSE A COUNTRY ,THEN AUTOMATICALLY DISPLAY STATES IN THE OTHER SELECT BOX...THEN THE LOCATION WILL GOES TO SELECTED STATE..] PLZ DO SOME HELP AEAP............ its very urgent... here is … | |
Hi all, Is Article writting helpfull to increse PR? Can any one Describe me about Types of Articles? To get PR3-5 in google what we have to do? Right now we have a launched a new site <URL SNIPPED> Can anyone help me for this? Regards, OSCE <EMAIL SNIPPED> | |
i have a problem how to make a lock feature with ajax-php where a user view some file in the list file, another user will view lock message without refresh it page. | |
what must be the good user interface and the database design for the barcode system? | |
Hi; I have a simple problem. I want to match anything between "<td>...</td>" tags. My string is <td> <a class="page" title="myPage" href="/mypage/888"><img class="hotel" src="mypage.png" /></a> </td> I have tried several ways but couldn't get "<a class="page" title="myPage" href="/mypage/888"><img class="hotel" src="mypage.png" /></a>". Thanks. | |
hi guys.....can anyone check my coding....what's wrong with my coding? the iframe that i'm trying to make, doesn't works well......when i click on the link, it goes to next page.....what i want is, when i clicked on the link, the info will come out in the same page....here's my coding.... … |
The End.