39,388 Topics

Member Avatar for
Member Avatar for JeetRaj
Member Avatar for langsor
0
94
Member Avatar for ishlux

Hi all, I am storing check box values with comma separated into db like this , the code given below [code=php] <?php include 'database.php'; $servicec = addslashes(serialize($a1)); $servicet = addslashes(serialize($b1)); $services = addslashes(serialize($c1)); $query1 = "insert into autoalto_contractor( service_category,service_type,services) values ('".$servicec."', '".$servicet."','".$services."')"; [/code] but while retrieving from the db i …

Member Avatar for langsor
0
136
Member Avatar for Mylena

Hello, Please, if anyone knows how to pass a Javascript integer variable as a parameter into php mysql_query. Below gg1 is successfully converted to an integer (i checked it using some maths additions), and now i need to pass this value to BirdID. The last line with innerHTML works fine …

Member Avatar for buddylee17
0
166
Member Avatar for rati

Hi all, Can someone tell me in detail what are super global variables and how are they used??

Member Avatar for Demiloy
0
280
Member Avatar for rati

Hi All, I have started learning PHP now. I am unable to find the exact difference between include and require in php?

Member Avatar for JeetRaj
0
191
Member Avatar for andrew13d

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 …

Member Avatar for andrew13d
0
108
Member Avatar for yasmena

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 !! …

Member Avatar for Shanti C
0
107
Member Avatar for epixca

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.

Member Avatar for Shanti C
0
110
Member Avatar for Shanti C

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..

Member Avatar for Demiloy
0
127
Member Avatar for yasmena

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 ; …

Member Avatar for Shanti C
0
93
Member Avatar for veledrom

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 …

Member Avatar for Shanti C
0
75
Member Avatar for architact

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 …

Member Avatar for Shanti C
0
103
Member Avatar for anuj_sharma

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.

Member Avatar for Shanti C
0
69
Member Avatar for yasmena

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

Member Avatar for nikesh.yadav
0
56
Member Avatar for Mylena

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 :)

Member Avatar for nikesh.yadav
0
78
Member Avatar for queenc

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: …

Member Avatar for queenc
0
81
Member Avatar for Dukane

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 …

Member Avatar for Dukane
0
1K
Member Avatar for anuj_sharma

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 …

Member Avatar for peter_budo
0
60
Member Avatar for justinmyoung

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 …

Member Avatar for mcd
0
298
Member Avatar for ishlux

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 …

Member Avatar for jsrpatna
0
169
Member Avatar for heni_pro

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...

Member Avatar for peter_budo
0
68
Member Avatar for AliHurworth

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 …

Member Avatar for AliHurworth
0
140
Member Avatar for ramseswar

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 …

Member Avatar for ramseswar
0
106
Member Avatar for danishbacker

[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\" …

Member Avatar for danishbacker
0
112
Member Avatar for queenc

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

Member Avatar for langsor
0
82
Member Avatar for Scooby08

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 …

Member Avatar for mackone
0
112
Member Avatar for Ole Raptor

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 …

Member Avatar for Ole Raptor
0
287
Member Avatar for mrcniceguy

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))))

Member Avatar for mrcniceguy
0
84
Member Avatar for sarithak

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 …

Member Avatar for langsor
0
256
Member Avatar for oscexperts08

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>

Member Avatar for langsor
0
75

The End.