to help troubleshoot the problem, change line 54 to:
$all_Portfolio = mysql_query($query_Portfolio, $Portfolio) or die(mysql_error()."<br>SQL: ".$query_Portfolio);
and send a link where i can see the page in a browser.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.