Wow I never saw this - A website I was browsing before had these but it didn't use them to this extent it did pretty much the same thing as a regular mysql_query function.. .this is very neat I might just have to start using it!
When you use mysqli is it still necessary to use functions like mysql_real_escape_string?
Yes, there is even the equivalent mysqli_real_escape_string function that you should use.
Nice tutorial. Always nice to be guided through the code. I struggled using prepared statements to start with and though they were cumbersome.
I am now using this wrapper class for MySQLi, which makes the prepared statement and fetches the results for you: MySQLi Class - PHP Development Project - APL Web
Check it out, you might find it useful.
There are currently 6 users browsing this thread. (0 members and 6 guests)
Bookmarks