Hi can anyone tell me how I add a row to a database table (gamescores) that will record a userID and the number of points they have gained. I also have to update two session variables and use them to update values that appear on the screen by adding code to a function that i already have. Any help will be great
laura301019
0
Newbie Poster
Recommended Answers
Jump to PostWhat puzzles you ? Where are you stacking?
Jump to Postpost your code. crystal ball gazing will not afford any useful answers. :(
Jump to PostSo, this is the sum total of your code? Is this a school project?
There doesn't seem to be much in the way of effort here. Have a look at some php tutorials - mysql_query(), mysql_real_escape_string(), mysql_affected_rows()
All 9 Replies
jkon
602
Posting Whiz in Training
Featured Poster
diafol
jkon
commented:
I am afraid that it is a big plus for a programmer to understand specs by crystal ball gazing (I am too close to add it in my CV….) , but at least you must have some clues.
+6
laura301019
0
Newbie Poster
diafol
laura301019
0
Newbie Poster
diafol
laura301019
0
Newbie Poster
urtrivedi
276
Nearly a Posting Virtuoso
Biiim
182
Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.