+ Reply to Thread
Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14

Thread: PHP 5: MySQLi Prepared Statements

  1. #11
    Join Date
    Apr 2009
    Location
    Trapped in my own little world.
    Posts
    2,487
    Rep Power
    33

    Re: PHP 5: MySQLi Prepared Statements

    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!

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Location
    Advertising world
    Posts
    Many

     
  3. #12
    Join Date
    Mar 2008
    Posts
    7,145
    Rep Power
    86

    Re: PHP 5: MySQLi Prepared Statements

    When you use mysqli is it still necessary to use functions like mysql_real_escape_string?

  4. #13
    Jordan Guest

    Re: PHP 5: MySQLi Prepared Statements

    Yes, there is even the equivalent mysqli_real_escape_string function that you should use.

  5. #14
    me999 is offline Newbie
    Join Date
    Jan 2011
    Posts
    1
    Rep Power
    0

    Re: PHP 5: MySQLi Prepared Statements

    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.

+ Reply to Thread
Page 2 of 2 FirstFirst 12

Thread Information

Users Browsing this Thread

There are currently 6 users browsing this thread. (0 members and 6 guests)

Similar Threads

  1. MySQLi Wrapper
    By rhossis in forum PHP Development
    Replies: 2
    Last Post: 02-12-2011, 05:57 AM
  2. Which one is better, MySQL or MySQLi?
    By LuthfiHakim in forum PHP Development
    Replies: 7
    Last Post: 12-02-2010, 10:26 PM
  3. prepared statement within a function
    By yonghan in forum PHP Development
    Replies: 8
    Last Post: 03-05-2009, 07:46 AM
  4. MySQLi
    By Orjan in forum PHP Development
    Replies: 6
    Last Post: 02-06-2009, 06:38 PM
  5. MySQL vs MySQLi
    By mikelbring in forum PHP Development
    Replies: 6
    Last Post: 01-24-2009, 02:16 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts