divide columns by type like a gallery php mysql

Hello there,

I am making a portfolio site using php mysql.

link: http://mnscheepmaker.netii.net/work.php

My question is how I can divide my work under the type: sparetime, school & atwork.
I already have it in the database but I don’t know how to put it down.

I thought of a $filter like this one:

$filter2=$_GET[‘id’];
$sql2=“SELECT * FROM dutch_work WHERE id =’$filter2’”;
$result2=mysql_query($sql2);
$row_rsview=mysql_fetch_array($result2);

only then for ‘type’.

I hope someone has a solution.

Sponsor our Newsletter | Privacy Policy | Terms of Service