Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.
Moderator: General Moderators
lecram
Forum Newbie
Posts: 20 Joined: Wed Sep 06, 2006 10:12 am
Post
by lecram » Wed Sep 13, 2006 1:39 am
I am apparently not creating my $newpoints value correctly... any ideas?
Here is what my echo'd results look like
query: (this is partially accurate, being that it added the previous points with the "playedpoints" value)
UPDATE users SET points = '2100' WHERE username = 'test5'
totalpoints: (correct)
5000
newpoints: (array? of course it isnt working!)
Arra
lecram
Forum Newbie
Posts: 20 Joined: Wed Sep 06, 2006 10:12 am
Post
by lecram » Wed Sep 13, 2006 11:30 pm
i am happy to say that after all the sweat blood and tears... i finally figured it out and it works beautifully!
it only took me 1 week... hahaha
thanks for the help
RobertGonzalez
Site Administrator
Posts: 14293 Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA
Post
by RobertGonzalez » Wed Sep 13, 2006 11:32 pm
You can now say that you have gotten farther than a lot of other developers. Congrats. Glad you got it working.
lecram
Forum Newbie
Posts: 20 Joined: Wed Sep 06, 2006 10:12 am
Post
by lecram » Thu Sep 14, 2006 12:09 am
I was shocked at how difficult this all was... I really appreciate all the help I got from you guys. The little hints you threw in each post were extremely helpful!
RobertGonzalez
Site Administrator
Posts: 14293 Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA
Post
by RobertGonzalez » Thu Sep 14, 2006 8:30 am
lecram wrote: I was shocked at how difficult this all was...
It will get easier. Trust me. And you are welcome.
n00b Saibot
DevNet Resident
Posts: 1452 Joined: Fri Dec 24, 2004 2:59 am
Location: Lucknow, UP, India
Contact:
Post
by n00b Saibot » Fri Sep 15, 2006 11:28 am
lecram wrote: i am happy to say that after all the sweat blood and tears... i finally figured it out and it works beautifully!
it only took me 1 week... hahaha
thanks for the help
These are the experiences that will help your in making things easier further up and making you a pro
lecram
Forum Newbie
Posts: 20 Joined: Wed Sep 06, 2006 10:12 am
Post
by lecram » Fri Sep 15, 2006 8:25 pm
i believe it! i really feel as if i just progressed to the next step. everything i have been doing now seems like cake and i have been able to address and problem sove issues that arise... its a great feeling of accomplishment. i had to learn a lot in order to make this code work but now i can apply it all on a daily basis.