Para comenzar tienes aqui un error de html:
Código HTML:
Ver original<th aling'center'>Id_porfolio
</th> <th aling'center'>Título
</th>
<th aling'center'>Inicio
</th> <th aling'center'>Precio
</th>
es: aling
='center'
y pregunta: ¿como envias o obtienes id_porfolio ???