Jump to content


PHPFreaks Tutorials Wishlist

  • Please log in to reply
62 replies to this topic

#61 Eiseth

  • Members
  • PipPipPip
  • Advanced Member
  • 58 posts

Posted 19 May 2013 - 05:38 PM

Do you have any good file structure tutorials

I suck at organizing my files :P

#62 DLR

  • Members
  • PipPipPip
  • Advanced Member
  • 66 posts
  • LocationJohannesburg, South Africa

Posted 24 August 2014 - 03:14 AM

Hi. Firstly I am a member of long standing so I am now at the opposite end of the age scale to most of you  - I only started programming in my middle fifties! - so I may be way out on this suggestion.


I have been searching to find a good tutorial to change from MySql to MySqli.


Most of what I find on the net seems to focus on the actual connection.


Making the change to the connection is easy - but from there on everything seems to go haywire.

My site make use of the "get_include_contents(X)" style instead of require(X) that was covered in the php Manual.

Now this does not seem to work (for me anyway).


I favour the procedural style, mostly as I believe I can avoid learning the OOP method (too old to get my head around it now) and that may be the problem.


However, there may perhaps be many others who are starting to face the necessity of changing to MySqli fairly soon - and your expertise will be welcomed I'm sure.


I certainly have benefited from your collective input over the years - for which I give you all my heartfelt thanks.

Thank you for reading this suggestion.

#63 Ch0cu3r

  • Moderators
  • Advanced Member
  • 3,418 posts

Posted 24 August 2014 - 11:42 AM



I have been searching to find a good tutorial to change from MySql to MySqli.

The best place would be php.net/mysqli. That is the documentation for mysqli. Each function has an explanation of what arguments it requires, what it does, what it returns and a code example for how it is used. From there you should be able to convert your the mysql_*  functions to the mysqli_* equivalent functions.

Alternatively you may find http://codular.com/php-mysqli helpful.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users