39,323 Topics

Member Avatar for
Member Avatar for chadlong41

Is there object persistence in PHP 5? I ask because it seems that with all the associated memory overhead with OOP, I am wondering if there is another reason for PHP to go OOP besides maintainability.

Member Avatar for death_oclock
0
110
Member Avatar for chadlong41

I have got my database driven web site I m using Code : [code=php]$query = "SELECT * FROM $sTableName WHERE ID=$inPageID LIMIT 1"; $_CONTENT = mysql_fetch_array(mysql_query($query)); <?= $_CONTENT['PAGE_CONTENT'] ?>[/code] to insert the content, into the page. Now if I wanted to add a php command into the page (the part …

Member Avatar for death_oclock
0
79
Member Avatar for chadlong41

Hi I have a simple Table (Table1) with 3 fields (ID, Date, Value). So if I query the DB for a certain date it lists the ID and value of all rows with that date. What I need to do is have a checkbox next to each table row and …

Member Avatar for diafol
0
62
Member Avatar for gagan22

Hi everyone, I want to use two radio button on a php page when we click on first radio button page will show different form below the radio button and when we will click or select second radio button then i want to show another form on the same php …

Member Avatar for diafol
0
140
Member Avatar for Danthon

Hi guys I must insert in a html site a htaccess file that create a redirect 301 to the site home page for every page that gives error 404 (Page not found), but without affecting the single redirect 301 already present in the file htaccess regarding other subpage moved and …

Member Avatar for Danthon
0
141
Member Avatar for chaithanya_86

hi, i am a php developer. i have query. i have to send a email with the MS Word document attached to it. The document is submitted by the user along with his form through a HTML file. the email contains the form details entered by user and the attachment …

Member Avatar for masijade
0
133
Member Avatar for jeet_portal

Hi Friends, Here i require some help regarding my problem. My Problem is how can i do automatic attachment (only PDF) when i will send a email. I am using Cpdf class for writing a dynamic pdf retrieve from mysql Database. Right now my code is working well when i …

Member Avatar for jeet_portal
0
97
Member Avatar for pulse0

I'm trying to retrieve the last modified information of a webpage? I don't even know if php would do it or would javascript be better better for this. I've tried document.lastmodified with java script but that does not help much. I've noticed that in firefox ->tools->page info gives me the …

Member Avatar for diafol
0
129
Member Avatar for 6pandn21

Hello guys! I hope you don't mind me posting so quick again. I am struggling or better don't seem to have proper idea about what to do here. I want to make a simple birthday reminder. I have got a list of people in my database and I log in …

Member Avatar for 6pandn21
0
213
Member Avatar for khr2003

Hi I am trying to get the first day of a given month and the last day. I use mktime function like so: mktime(0,0,0,7,1,2007); and got the time stamp: 1183212000 when I converted it I got: Sat, 30 Jun 2007 14:00:00 GMT which is not what I want, I wanted …

Member Avatar for prawin@123
0
185
Member Avatar for MSK 7

Hi , to all I want your help :- How i can open a new file (may be called as "form1.php" ) on my current page , only by onclick of radio buttons without using submit button ? any suggessions will be appreciated. Thanks & Regards.

Member Avatar for diafol
0
949
Member Avatar for suneer

i want to diplay values from database to table.then i want to edit new value to the same field and post to database.how can i do it using php codes.please help me

Member Avatar for suneer
0
102
Member Avatar for serdas

i don't know if this is enough you to help me but looking at this could you tell me what i could do to fix it? [code] $user_check = mysql_query("SELECT userdb_user_name FROM default_userdb WHERE userdb_user_name='$reciever'"); $user_check = mysql_num_rows($user_check); Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in …

Member Avatar for serdas
0
171
Member Avatar for patharianidhi

Dear all Plzz help me I am stuck with PHP include function. I have given the include path in php.ini file as include_path="C\PHP_includes In PHP_include folder i have 3 files menu.inc which has html code, menu.css that has all the styles and menu.js that has certain functions. i have a …

Member Avatar for diafol
0
130
Member Avatar for rapperhuj

i used phpmyadmin software then i create a database named sycom_dbase, but the problem i can execute it. but there is no output? and error messages.. any comments suggestions. why did it happens. where should i save all my php files.. www? i save it in www folder but it …

Member Avatar for diafol
0
167
Member Avatar for vinithktp

Hi, I developed a website with captcha image validation. I developed it with PHP Version 5.2.5 and i uploaded on PHP Version 4.3.11 server. Captcha image validation working with my server. But it is not working with my cient server. Here iam sending my code sample. Please help me to …

Member Avatar for buddylee17
0
151
Member Avatar for headedtomexico

I'm writing this little page that lets you sort of have a conversation with a perl script, and i'm having a problem. At the top of my php I access the perl script, with some text that the user input via a textbox. The perl responds with.. we'll say "Havin' …

Member Avatar for KevinADC
0
99
Member Avatar for akai80

Hi does anyone knows which is the most user-friendly software tool to use if i were to develop a Classified Ads website with enabled private messaging among users? I would prefer to develop on a PHP/MySQL platform. i have tried using GeoClassified but i find it quite user-unfriendly esp while …

Member Avatar for almostbob
0
74
Member Avatar for MSK 7

Hi to all, I am beginner in the field of php & I have a problem as, I want to open & show the contents of a new form (with in new window) , as click on submit button in the current form, after selecting one of the two radio …

Member Avatar for blocblue
0
77
Member Avatar for agent007

Hey All Has anyone successfully configured FastCGI (mod_fastcgi-2.4.6-AP22.dll), Apache (2.2.11) and PHP (5.2.8) on Windows XP (Pro XP3)? I have setup the fastcgi module and entered the directive to load it in the httpd.conf file, and edited that file further to use the fastcgi module to parse .php files. However, …

0
63
Member Avatar for almostbob

Got directed to these [url=http://www.addedbytes.com/cheat-sheets/php-cheat-sheet/]cheat sheets [/url] php css scripting regular expressions 'et al' had to pass the link on

Member Avatar for diafol
1
130
Member Avatar for ibiyemi

Hi Everyone, I am a bit new to using php/Mysql and i am having a little challenge. I am creating an online form but on entering a value in one of the form fields, i want to add a link to check if that value is valid(ie if it does …

Member Avatar for diafol
0
66
Member Avatar for MSK 7

Hi, In PHP, What should be the right code so that , I can open & Show an another New form (may be called as "form1"), on the same current window page (may be called as "page1") , as i click & select one of the two radio button choices …

Member Avatar for diafol
0
67
Member Avatar for prateeknigamk

i am creating chat server in php where i need to get dynamic data in php page without referesh can anyone guide me how to do it

Member Avatar for samarudge
0
54
Member Avatar for suneer

i want to display database value in atable and edit new value in the existing field.how is it possible.please help me

0
42
Member Avatar for MSK 7

Hi to all, I am beginner in the field of php & I have a problem as, I want to show a form , after selection of one of the two radio buttons choices & then click on submit button. Can i use "onclick()" for this ? if Yes, please …

Member Avatar for diafol
0
95
Member Avatar for yonghan

Hi all,i need help with validating php form..I got 3 php files.How do i show the error messages beside the text input..Here are the codes that i have made.Thanks.. output_fns.php [code] <?php function do_kepala($title){ ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <title><?php echo $title ?></title> <meta http-equiv="Content-Type" …

Member Avatar for diafol
0
177
Member Avatar for moi1

Hi I need a bit of guidance please, I want to place a feedback page on a small site I am working on. The form will have 4 options per question. I would like the results of feedbacks to be available to admin only in 2 ways: # as graph …

Member Avatar for diafol
0
69
Member Avatar for jumbla

Hi guys, I am trying to echo some output based on a variable in my PHP. I can code an if statement to echo the output if the variable is not empty [inlinecode] if (!$variable=='')[/inlinecode] but my problem comes if the variable returns the value "N/A". If it returns N/A …

Member Avatar for jumbla
0
107
Member Avatar for gordo58

Hi, I'm looking for help with my description meta. I have set it for a maximum length of 150 characters which works fine, but does anybody know how I can set it so that it stops after the first white space after 150 characters ie so that only full words …

Member Avatar for uncle_smith
0
132

The End.