PHP Development
PHP Development forum discussing coding practices, tips on PHP, and other PHP-related topics. PHP is an open source scripting language that has taken the web development industry by storm.
Problems with showing data from a guestbook
Ok, usually my select queries work fine but this one always gives me a parse error on line 53. Any suggestions?
PHP Code:
$link = mysql_connect($host, $user, $pass) or die (mys...
answer(288) view(1,283) status(

)
PHP w/ MySQL Query date manipulation
Hi,
I have a series of items in a database that have a date column assigned to them using the NOW() function.
The table looks like this:
item_id
item_name
date_added
I need to find the following:
i) the month that the oldes...
answer(288) view(1,121) status(

)
PHP n XML
hi fellows
I want to submit a form and then store its values in XML file, such that I can search on another page with specific fields, BTW i have four fields in form,
1 - name
2 - class
3 - course
4 - roll no.
so target is to use P...
answer(283) view(836) status(

)
PHP n Apache installation on Solaris
Can anyone guide me how to install and configure PHP with Apache on Sun's Solaris 2.7
The details of my Solaris are as follows...
Sun Ultra 5/10
System v Release 4.0
Solaris 2.7
SunOS Release 5.7
Generic_106541_06
Thank you in advance
--...
answer(292) view(561) status(

)
NooB Q: Displaying URL from table
I am adding a manufacturer logo image and url (to open in a new window) to a page but not knowing much about php have run out of patience in trying to figure out how to call the manufacturer_url from the database into an href link. I'm sure...
answer(286) view(881) status(

)
How to start PHP and MySQL on Mandriva?
Hi,
I have just finished installing the latest Mandriva limited edition Linux dvd (which came with a linux magazine named Linux Format) on my pc.During the installation I chose all the options including servers,office all the packeges.Si...
answer(295) view(309) status(

)
can people read php code from web?
I'm wondering how secure is it for people to read the php code from website?
What about the encoder like Zend Encoder (too pricy)? why do they provide encoder if the php code is invisible to people w/o encoder?
let's say my code here,...
answer(305) view(390) status(

)
addentry( equivilient to register.php)
hi
currently I am developing an expert system using aiml
I am using the php and mysql togther with the aiml codes
and the aiml codes i am running on is program E.
i am also creating a login and register module in my system.
In order fo...
answer(296) view(413) status(

)
How to re sort the result of mysql_fetch_assoc
my query is:
<?
$query = "select * from BUNCH_DETAILS where TO = '$office'";
$query_r = mysql_query($query);
while ($query_row = mysql_fetch_assoc($query_r))
{
$track_no = $query_row['TRACK_N0'];
$query1 = "select * fro...
answer(1) view(59) status(

)
php people wont get high pay?
i am an fresher is that if i choose php now ...after 2 yeaR I WONT get
any openings in mnc or mnc wont recruit php people ...sugest me my id rajendran.raga72@gmail.com
answer(0) view(1) status(

)
answer(0) view(8) status(

)
answer(0) view(8) status(

)
answer(7) view(559) status(

)
answer(0) view(13) status(

)
answer(0) view(17) status(

)
answer(0) view(7) status(

)
Serving SWF's with PHP - kinda?
Wasn't sure how to name this thread, but allow me to explain what I'm thinking of here.
I would like to upload files just outside of my web-directory. That way they're not accessible by an absolute URL or path. Nobody could go to www.som...
answer(4) view(436) status(

)
[PHP4] Private Key - SSL - Issue
Hello,
I am generating private key and certificate with the following command.
openssl req -x509 -days 365 -newkey rsa:1024 -keyout priv.pem -nodes -out cert.cer
As you will notice in the above, command that , i am generating priva...
answer(2) view(1,376) status(

)
deleting from database
Hi ,
As i am new to the PHP world,I am trying to workout some programs.I need to delete a particular row from the DB table using a delete button.{Note:-Without using check box}.. Kindly someone help please.
answer(0) view(11) status(

)
VBulletin customization question
I am trying to customize my board, but I can't get one thing working.
Basically, I want to place a link on top of the main page, saying "Find All My Posts." Basically what that does is, once a user clicks it, he can see all hi...
answer(24) view(389) status(

)
How to create interactive timeline?
I've seen some interesting interactive timelines out there created using PHP. I'm familiar with PHP and mySQL, but I've never attempted anything like this. Anywho, I'm wanting to create an interactive timeline... basically you could use some forms ...
answer(0) view(20) status(

)
[PHP5] Cannot redeclare fputcsv()
I have an older script made in 2005 is when it was last updated, now im faced with this error
Cannot redeclare fputcsv() which refers to line 922 of common.php
I open that document and i see
PHP Code:
}#end ...
answer(7) view(947) status(

)
autopostback in php
hi, i'm a newbie for php. can someone please kindly teach me how to do autopostback in php for drop down list?
answer(0) view(18) status(

)
answer(3) view(2,510) status(

)
answer(6) view(225) status(

)
PHP 5 Released
Go get it:
http://www.php.net/downloads.php
Announcement on Slashdot:
http://developers.slashdot.org/arti...tid=126&tid=169
answer(34) view(837) status(

)
answer(6) view(1,879) status(

)
answer(0) view(18) status(

)
answer(0) view(16) status(

)
count number of yes in flat file?
I'm trying to figure out how to count number of Yes from a flat file.
the flat file looks like that.
"someemail@gmail.com","Some Name","Yes"
Any hints?
Thank you, DS
answer(0) view(17) status(

)