Grey_Wolf Posted September 21, 2011 Report Share Posted September 21, 2011 Kaut vai tas, ka tiek izmantota funkcija mysql_query(). un ja izmantosi datu sagatavošanai funkciju sprintf() [viai jebkuru citu PHP f-ju ] tad tas ari uzreiz nebūs OOP ? tas ka neizmanto mysqli_...() jau nenozime ka ta virs nav OOP programmēšana.... tikpat labi SQL klsse var arī būt uzrakstīta tīri ar mysql_...() f-jam... , ta kā arguments vienkarši ir smiekligs ... Quote Link to comment Share on other sites More sharing options...
daGrevis Posted September 21, 2011 Report Share Posted September 21, 2011 Lai tā būtu... :) http://en.wikipedia.org/wiki/Object-oriented_programming Quote Link to comment Share on other sites More sharing options...
spainis Posted September 21, 2011 Report Share Posted September 21, 2011 mysql_* funkcijas visticamāk ar 5.6 būs depracated Quote Link to comment Share on other sites More sharing options...
laucinieks Posted September 21, 2011 Author Report Share Posted September 21, 2011 Kādi piemēri ar mysqli ? Quote Link to comment Share on other sites More sharing options...
daGrevis Posted September 21, 2011 Report Share Posted September 21, 2011 MySQLi, PDO. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.