So I am trying to learn some new(to me) techniques with mysqli. My goal is to learn how to do many to many with php and mysql.
I've never used execute commands and they seem new to me. Why do I have to use the mysqli_prepare() before using execute? Do I have to mysqli_stmt_fetch() too? I'm kind of fuzzy on this stuff to be honest.
Does anyone have any examples how to use these properly in a procedural style?
Lucky for me I figured this stuff out over the weekend on my own. Still... there is very little info out there excepting the php.net web site. Lots of stuff on the basic method but not much else.
Has this site dried up? Normally you guys would have posted a couple of responses even by now.
As I remember from php tutorial there may be additional fields on table 'X', which means that the database update routine will have to deal with more than simply choosing between an insert or a delete.
A more complicated version is where table 'X' can contain multiple occurrences for each combination of 'a_id' and 'b_id'.
|All times are GMT. The time now is 07:02 PM.|
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0