39,393 Topics

Member Avatar for
Member Avatar for derekcpt

Hi there. I need assistance with, I guess, a PHP date function. There is a way I can figure this, but its really not reliable and I guess it won't even work. So all you guru's, here is what I need to achieve; I am just writing a simple reservation …

Member Avatar for langsor
0
151
Member Avatar for predster

I'm new to php and I'm having some trouble with a code error. Can anyone help? I get this error: "Error in my_thread_global_end(): 1 threads didn't exit PHP Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in exception.php on line 130" This is the code: [CODE] echo "<html> …

Member Avatar for Demiloy
0
139
Member Avatar for sTyleSHA

Dear Viewers, I need your suggestion in choosing my job profile further. Currently i work as web designer with 2+ years of experience. I am in the process of learning xhtml, css and keen to explore the technical part of designing. I feel i could learn php also, as i …

Member Avatar for khipucoder
0
154
Member Avatar for Seachmall

I have a method that requires two variables to pass through it but for some reason the second one doesn't. I've tried tons of stuff but nothing seems to work. [code=php] function get_area_number($area, $company='daniweb'){ echo '>> '.$company; } [/code] Thats the method, nothing is displayed for the [i]$company echo[/i] unless …

Member Avatar for langsor
0
106
Member Avatar for ryaninCO

Please help me fix this error - THANKS!!!! Website: [url]www.trumpcardmarketing.com[/url] PHP Form Mail Error is as followed: Parse error: parse error, unexpected '@' in /home/content/r/m/c/rmcrorie/html/trump/PHPformmailer.php on line 21 PHP line in question is as followed: @mail($pfw_email_to, $pfw_subject ,$pfw_message ,$pfw_header ) ; PHP Code is as followed: [code]<?php // Receiving variables …

Member Avatar for ryaninCO
0
97
Member Avatar for JeetRaj
Member Avatar for langsor
0
95
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
137
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
168
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
282
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
192
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
111
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
108
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
112
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
129
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
95
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
77
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
105
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
70
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
58
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
80
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
82
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
61
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
304
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
170
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
69
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
142
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
108
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
113
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
84

The End.