Comments
Posted: Thu Apr 16, 2009 3:21 am
Hello I am trying to link user comments to particular articles in a website I am developing.
I have two mysql database tables Programme and Comments.
Programme has a primary key of progid which is also a foreign key in Comments.
But I am having trouble with the query retrieving the programme article and the comments attached to that article in the same page.
Im a total noob Im more of a front end developer but would love to get more experience with php.
Any help would be great.
Thanks Nacho.
I have two mysql database tables Programme and Comments.
Programme has a primary key of progid which is also a foreign key in Comments.
But I am having trouble with the query retrieving the programme article and the comments attached to that article in the same page.
Im a total noob Im more of a front end developer but would love to get more experience with php.
Any help would be great.
Thanks Nacho.