View Full Version : display the database

04-02-2007, 09:32 AM
can anybody help me am new to php/mysql

i have two tables in my database(name knownerror)

username userid
php 1
c 2
c++ 3

userid problemid error solution
1 1 no clear
2 2 yes notclear
3 1 yes notclear

like this.my problem in that was i have webpage displays like this

if i click php, the database display in the (next) result page is

problemid error solution
1 no clear
1 yes notclear

can anybody understand this pleasegive the coding how to do.

04-02-2007, 11:02 AM
You're going to need to show us some code if you want a fix - but if I had to guess I'd say your second query is matching userid to problemid, instead of userid to userid.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum