Osile2012's Posts
Nairaland Forum › Osile2012's Profile › Osile2012's Posts
1 2 3 4 5 6 7 8 ... 39 40 41 42 43 44 45 46 47 (of 66 pages)
OmniPotens:[size=15pt]No. Please what is it for, and how can it be used to get result from a "prepared statement" after execution ?.[/size] |
btoks:[size=15pt]Noted, Any objection ??.[/size] |
Developers can choose to connect to the SQL database with either the PDO or Mysqli extension. those who still use mysql are advised to change it to mysqli as it is deprecated and will no longer be supported or recognized soon. However, when choosing which database extension to use, you should consider these few points. PDO is supported by more than 7 different databases, while Mysqli is only supported by mysql. PDO is purely object oriented while mysqli is both object oriented and procedural . This means that people who are not yet familiar with object oriented programing, can use mysqli but not PDO. PROBLEM. There is a big problem you will likely face, when using Mysqli prepared statements. This is getting result from a prepared statement. You can say $stmt=myqli->prepare( "select from bla bla bla where bla bla is = bla bla" ;$tmt->bind_param(ss,bla bla bla); stmt->execute(); Now this is lovely abi ? Now to get the result from this statement, assuming you need to compare the values for authentication or something, you simply type $info=$stmt->get_result(); Thats all, it gets the result and put it in info for u to us. {{BAD NEWS}}, some or most basic hosting packages will not support this. Most basic hosting packages will not have more than php.5.3 installed, so you wont be able to get that result back this way. They will tell you to upgrade to a cloud host, where you will have the ability to install whatever version you like. Dont see the price. Now when you get this sad news, to go back to retrieve that result the other way, is so stressful. You will have to use bind result function first, after that you specify the column names, you want the results to be bound to. Assuming you had up to 10 columns, you have to start specifying them one by one. Before you finish one function you don write up to 10000000000 codes. You might just forget about getting result from prepared statements and dont use them at all if getting result is required. However this makes ur app vulnerable to attacks. PDO handles this very simply without stress. But there is also a problem you will face with pdo as you work. Will talk about it in my next post. If you feel, this has been useful, click the link on my signature, rate top brands, products and people in naija ![]() |
![]()
|
[size=15pt]Negotiable [/size] |
[size=15pt]Moto park. Enter bus and refuse to pay or Let police put you for cell or prison for a month. When your out, mayweather go be pikin to u. [/size] |
[size=15pt]I think so too [/size] |
[size=15pt]So im not the only one afterall .[/size] |
sorextee:[size=15pt]And your point is ?[/size] |
TheSonOfMark:[size=15pt]true[/size] |
ShayGirl:[size=15pt]ok is 2 letters and kk is 2, so what r u cutting short?[/size] |
RickRichards:[size=15pt]Will report that one to police. verbal assault.[/size] |
OrlandoOwoh:[size=15pt]Make una free am ooo .[/size] |
MzNelly:[size=15pt]U r stressed. [/size] |
woky:[size=15pt]Waiting 4 more comments [/size] |
woky:[size=15pt]What about it?.[/size] |
MzNelly:[size=15pt]I know what your problem is. Oya take .[/size]
|
MzNelly:[size=15pt]because i want to know if im weird for finding it offensive. |
jacksparrow1207:[size=15pt]or when ur dumb from within u cld see everything u read as dumb [/size] |
naijaboiy:[size=15pt]Take ur time ooo [/size] |
[size=15pt]Though this might be trending but i find it offensive. When i am chatting with someone and they type kk instead of ok. It gives me the impression that the person does not take me serious. Once deleted a girl on bbm because she typed that. And later she asked why i deleted her, i told her i felt i was bugging her. She said nooooooooo, why would i say that? I said because she was typing kk. I added her back and since then she does not KK me. I mean which one is KK for crying out loud? if u can type kk why cant u type ok ? Whats your views on this KK ish. .[/size] |
sorextee:[size=15pt]A footballer does not go to the pitch to harm himself intentionally .[/size] |
woky:[size=15pt]It is optional. You can choose to watch or not.[/size] |
ahsekeena:[size=15pt]Thats my opinion, others might differ.[/size] |
ahsekeena:[size=15pt]You know we have been flowing with the world so well that we forget that friendship with the world is enmity with GOD. The bible says, the body is the temple of the lord and whoever destroys the temple i will destroy. By boxing, you are intentionally destroying the temple for money.[/size] |
[size=15pt]Is it right for a born again christian to be a boxer ? As in boxing as a profession ?[/size] |
ronald4lif:[size=15pt]Sounds strange[/size] |
Chiam55:[size=15pt]your voice must be something else [/size] |
Ipledge:[size=15pt]lol.[/size] |
[size=15pt]How important is a ladys voice when choosing a partner ? As a guy will a ladys voice stop you from dating or marrying her?[/size]
|
[size=15pt]Thanks .[/size] |
[size=15pt]Should Nigeria start arresting prophets that make declarations that do not come to pass,and misleading their followers?. Using 2015 elections as an example, should the Nigeria arrest prophets that made false declaration? That way, the number of prophecies will reduce in Nigeria. Because i dont know how we have so many prophets in the country, but we still cant find chibok girls are even prevent any disaster from happening. All they do is after the incident has happened, they claim they saw it and yet did nothing to prevent it. I think govt should look into false prophecy. What do you think?[/size] |
1 2 3 4 5 6 7 8 ... 39 40 41 42 43 44 45 46 47 (of 66 pages)
;


