Need some help with this code/database!

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 »

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 »

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
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

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 »

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!
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

lecram wrote:I was shocked at how difficult this all was...
It will get easier. Trust me. And you are welcome.
User avatar
n00b Saibot
DevNet Resident
Posts: 1452
Joined: Fri Dec 24, 2004 2:59 am
Location: Lucknow, UP, India
Contact:

Post by n00b Saibot »

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 »

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.
Post Reply