php - How to JOIN two tables correctly? -


somewhere have patience takes somewhere, last problem.

it works 1 party, persons not have recipies, peron recipies can't see it, see blank รณ page.

$usersi = $dbh->prepare('select * recettes id_user = :id'); $usersi->bindparam(':id', $_get['id'], pdo::param_int); $usersi->execute(); $usersis = $usersi->fetchall(pdo::fetch_assoc); 

for user id = 1:

<?php $usersi_sql = $dbh->prepare('select * recettes id_user = 1'); $usersi_sql->execute(); $usersi = $usersi_sql->fetchall(pdo::fetch_assoc); ?>  

Comments

Popular posts from this blog

shopping cart - Page redirect not working PHP -

php - How to modify a menu to show sub-menus -

python - Installing PyDev in eclipse is failed -