...

View Full Version : display the database



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

i have two tables in my database(name knownerror)

table1
username userid
php 1
c 2
c++ 3

table2
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
php
c
c++

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.

Pennimus
04-02-2007, 12:02 PM
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