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 chetanahuj...@gmail.com 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

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

2010-11-19 Thread chetan ahuja
My project requires creating office documents on PHP. Any recommendations on what to use?

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 `myMoney` = (`myMoney`-10) WHERE

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 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()); Still

Re: [PHP] My Project

2005-07-20 Thread John Nichel
Jay Blanchard wrote: snip been nice (because we usually get chided for our terseness). /snip 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/)

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=glances=booksn=507846 Read it, learn it, live it. Matt Darby Jay Blanchard

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=glances=booksn=507846 Read it, learn it, live it. Matt

RE: [PHP] My Project

2005-07-20 Thread Shaw, Chris - Accenture
snip 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 /snip I totally agree, I have only used

[PHP] My Project

2005-07-19 Thread George B
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 There is

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

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

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 work

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

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

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

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 do that?

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

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:

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

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

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` =

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` =

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

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 to update $money. Do it in the query