Skip to content
Advertisement

Tag: mysqli

Should I manually check for errors when calling “mysqli_stmt_prepare”?

I’m using PHP and mysqli prepared statements. Is there a compelling reason to manually check for errors when executing mysqli_stmt_prepare()? To be more specific I am not asking about the final result just the prepare statement line. PHP manual puts this and only this line in an if statement. I would like to know how to properly check for errors

How to turn a table vertical using PHP

I am just learning PHP ,and I want to create a table that display echo data that I submit to my database , the problem I have that the table displayed horizontally by default as you see Horizontal default table this my script but I want it to be echoed vertically instead like this VERTICAL RESULT I WANT and I

Advertisement