Re: [PHP] My project requires creating office documents on PHP. Any recommendations on what to use?

2010-11-21 Thread Aman Singh
Not sure of all office documents, but for Excel, you may want to try out http://phpexcel.codeplex.com/?ocid=soc-c-in-loc--cfp. >From the page: "Project pr

Re: [PHP] My project requires creating office documents on PHP. Any recommendations on what to use?

2010-11-20 Thread Dan
On Nov 20, 2010, at 1:10 AM, chetan ahuja wrote: > My project requires creating office documents on PHP. Any recommendations on > what to use? When you say office documents do you mean you have to create them using Microsoft office? Or just need to replicate current paper documents? If you n

RE: [PHP] My Project

2005-07-20 Thread Shaw, Chris - Accenture
Honestly, the best "book" I read when I was starting out, and one I've been using ever since, is the manual. I actually spent $ on a very good php book but I think I've only cracked the cover on it once or twice in two years. Way to go manual guys! :D I totally agree, I have only used the .chm

Re: [PHP] My Project

2005-07-20 Thread Edward Vermillion
Matt Darby wrote: It *is* a great book (I cut my teeth with it as well): PHP and MySQL Development (Welling and Thomson) http://www.amazon.com/exec/obidos/tg/detail/-/0672326728/qid=1121869940/sr=8-1/ref=pd_bbs_1/002-5827183-4477639?v=glance&s=books&n=507846 Read it, learn it, live it. Matt

Re: [PHP] My Project

2005-07-20 Thread Matt Darby
It *is* a great book (I cut my teeth with it as well): PHP and MySQL Development (Welling and Thomson) http://www.amazon.com/exec/obidos/tg/detail/-/0672326728/qid=1121869940/sr=8-1/ref=pd_bbs_1/002-5827183-4477639?v=glance&s=books&n=507846 Read it, learn it, live it. Matt Darby Jay Blanchard w

Re: [PHP] My Project

2005-07-20 Thread John Nichel
Jay Blanchard wrote: been nice (because we usually get chided for our terseness). I noticed that Jason appears to be back...the kid gloves will be off now. ;) -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscr

RE: [PHP] My Project

2005-07-20 Thread Jim Moseby
> Lots of extra characters in that one... try this: > > > > $q=mysql_query("update myTable set myMoney=(myMoney-10) where > > myCharacter='characterName'"); > > if(!$q){echo mysql_error();} > > so wasteful :-) > > $q=mysql_query("update u set m=(m-10) where > c='$c'");if(!$q)die(mysql_error())

Re: [PHP] My Project

2005-07-20 Thread Joseph
Jay Blanchard wrote: [snip] Hey, Look I made a new database just for this money testing stuff. This is the table: CREATE TABLE `money` ( `money` varchar(255) NOT NULL default '' ) TYPE=MyISAM; Now, I use this code $sqlUpdate = "UPDATE `myDatabase`.`myTable` SET `myMoney` = (`myMoney`-10)

RE: [PHP] My Project

2005-07-20 Thread Jay Blanchard
[snip] > >> Hey, Look I made a new database just for this money testing stuff. > >> This is the table: > >> > >> CREATE TABLE `money` ( > >> `money` varchar(255) NOT NULL default '' > >> ) TYPE=MyISAM; > >> > >> Now, I use this code > >> > >> $sqlUpdate = "UPDATE `myDatabase`.`myTable` SET `myMon

Re: [PHP] My Project

2005-07-19 Thread Robert Cummings
On Tue, 2005-07-19 at 21:46, Jochem Maas wrote: > Matt Darby wrote: > > George B wrote: > > > >> Jay Blanchard wrote: > >> > >>> [snip] > >>> $money -= 10; > >>> > >>> saves some chars ;) > >>> [/snip] > >>> > >>> This actually requires two trips to the database, once to get $money and > >>> once

Re: [PHP] My Project

2005-07-19 Thread Jochem Maas
Matt Darby wrote: George B wrote: Jay Blanchard wrote: [snip] $money -= 10; saves some chars ;) [/snip] This actually requires two trips to the database, once to get $money and once to update $money. Do it in the query instead...once. $sqlUpdate = "UPDATE `myDatabase`.`myTable` SET `my

Re: [PHP] My Project

2005-07-19 Thread Matt Darby
George B wrote: Jay Blanchard wrote: [snip] $money -= 10; saves some chars ;) [/snip] This actually requires two trips to the database, once to get $money and once to update $money. Do it in the query instead...once. $sqlUpdate = "UPDATE `myDatabase`.`myTable` SET `myMoney` = (`myMoney`

Re: [PHP] My Project

2005-07-19 Thread Mikey
George B wrote: Jay Blanchard wrote: [snip] $money -= 10; saves some chars ;) [/snip] This actually requires two trips to the database, once to get $money and once to update $money. Do it in the query instead...once. $sqlUpdate = "UPDATE `myDatabase`.`myTable` SET `myMoney` = (`myMoney`

Re: [PHP] My Project

2005-07-19 Thread George B
Jay Blanchard wrote: [snip] $money -= 10; saves some chars ;) [/snip] This actually requires two trips to the database, once to get $money and once to update $money. Do it in the query instead...once. $sqlUpdate = "UPDATE `myDatabase`.`myTable` SET `myMoney` = (`myMoney`-10) WHERE `myChara

Re: [PHP] My Project

2005-07-19 Thread Marek Kilimajer
Paul Waring wrote: On Tue, Jul 19, 2005 at 09:50:06AM -0700, George B wrote: My money is being stored in a database. And I want everythign to be in PHP, no java script. And the BUY!! Button is a input button from a form. :) Well in that case you probably want something like this (after you'v

Re: [PHP] My Project

2005-07-19 Thread Greg Donald
On 7/19/05, Mikey <[EMAIL PROTECTED]> wrote: > $money = $money - 10; Make sure you protect it against multiple browser sessions. -- Greg Donald Zend Certified Engineer MySQL Core Certification http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://w

Re: [PHP] My Project

2005-07-19 Thread George B
Paul Waring wrote: On Tue, Jul 19, 2005 at 09:50:06AM -0700, George B wrote: My money is being stored in a database. And I want everythign to be in PHP, no java script. And the BUY!! Button is a input button from a form. :) Well in that case you probably want something like this (after you'v

RE: [PHP] My Project

2005-07-19 Thread Jay Blanchard
[snip] $money -= 10; saves some chars ;) [/snip] This actually requires two trips to the database, once to get $money and once to update $money. Do it in the query instead...once. $sqlUpdate = "UPDATE `myDatabase`.`myTable` SET `myMoney` = (`myMoney`-10) WHERE `myCharacter` = `characterName`

Re: [PHP] My Project

2005-07-19 Thread André Medeiros
On Tue, 2005-07-19 at 17:57 +0100, Mikey wrote: > George B wrote: > > > Paul Waring wrote: > > > >> On Tue, Jul 19, 2005 at 09:39:21AM -0700, George B wrote: > >> > >>> And I have 100 points. How would I make it so when I click BUY!! My > >>> money automaticaly subtracts from 100 to 90. How do I

Re: [PHP] My Project

2005-07-19 Thread Paul Waring
On Tue, Jul 19, 2005 at 09:50:06AM -0700, George B wrote: > My money is being stored in a database. And I want everythign to be in > PHP, no java script. And the BUY!! Button is a input button from a form. :) Well in that case you probably want something like this (after you've checked to see whe

RE: [PHP] My Project

2005-07-19 Thread André Medeiros
On Tue, 2005-07-19 at 17:46 +0100, Shaw, Chris - Accenture wrote: > Taxi for one.. > > -Original Message- > From: George B [mailto:[EMAIL PROTECTED] > Sent: 19 July 2005 17:39 > To: php-general@lists.php.net > Subject: [PHP] My Project > > > Hey guys! This is gona be one of my last quest

Re: [PHP] My Project

2005-07-19 Thread Mikey
George B wrote: Paul Waring wrote: On Tue, Jul 19, 2005 at 09:39:21AM -0700, George B wrote: And I have 100 points. How would I make it so when I click BUY!! My money automaticaly subtracts from 100 to 90. How do I do that? Where is your money being stored? In a database? A text file? A

Re: [PHP] My Project

2005-07-19 Thread George B
Paul Waring wrote: On Tue, Jul 19, 2005 at 09:39:21AM -0700, George B wrote: And I have 100 points. How would I make it so when I click BUY!! My money automaticaly subtracts from 100 to 90. How do I do that? Where is your money being stored? In a database? A text file? A cookie? Do you want

Re: [PHP] My Project

2005-07-19 Thread George B
Shaw, Chris - Accenture wrote: Taxi for one.. -Original Message- From: George B [mailto:[EMAIL PROTECTED] Sent: 19 July 2005 17:39 To: php-general@lists.php.net Subject: [PHP] My Project Hey guys! This is gona be one of my last questions (hopefully) But here I will include all the inf

Re: [PHP] My Project

2005-07-19 Thread Paul Waring
On Tue, Jul 19, 2005 at 09:39:21AM -0700, George B wrote: > And I have 100 points. How would I make it so when I click BUY!! > My money automaticaly subtracts from 100 to 90. How do I do that? Where is your money being stored? In a database? A text file? A cookie? Do you want the "buy" link to wo

RE: [PHP] My Project

2005-07-19 Thread Jay Blanchard
[snip] Hey guys! This is gona be one of my last questions (hopefully) But here I will include all the info about my new project. It is going to be like a RPG Game written in PHP. There is going to be a store where you could buy weapons etc... The thing I want to ask you guys is this. Lets say Th

RE: [PHP] My Project

2005-07-19 Thread Shaw, Chris - Accenture
Taxi for one.. -Original Message- From: George B [mailto:[EMAIL PROTECTED] Sent: 19 July 2005 17:39 To: php-general@lists.php.net Subject: [PHP] My Project Hey guys! This is gona be one of my last questions (hopefully) But here I will include all the info about my new project. It is goi