mysql - PHP Mysqli - Inset Not Saving To Database -


I have a function that is considered to store the array in my mysql table, even in my database Nothing is showing, this is my first time using Mysqli as I used the MySQL

function in a $ UniqueRef id is saved in the database, the job order array, $ coreSales is another array that is saved MYSQLI connection

This Era code pre> function stores INDB ($ uniqueRef, $ wo, $ coreSales, $ mysqli) {$ accountStatus = 0; $ Requires meditation = 2; $ Stmt = $ mysqli- & gt; Ready ("` id`, `uniqueRef`,` rep`, `repemail`,` date`, `event`,` othernotes`, `repnotes`,` booking notes, `` ric install ' `Tripllepromo ',` fullname`, `address`,' contact number ',` account number`, `crid`,` custom email', `clppaj`,` clnotes`, `claexulation`, 'clfpromo', 'internet package' , 'Internet Exposa', 'InternetProMo', 'PhonePackage', 'PhoneProMo', 'Porting Number', 'Phonebook', 'Portoran', `Cellularlandline`,` CompanyPortfram`, `Servo 'Credit card', `credit note ',' credit address', 'credit', 'credit card', 'credit card', 'credit card', 'credit card' Account`, `position`,` expected`, `credit` amount) value (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?, ?,?,?,?,?,,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,? ,?,?,?) "); $ Stmt- & gt; Bind_param ('isssssssssssssi', $ idNum, $ uniqueRef, $ wo ['representative'], $ wo ['repemail'], $ wo ['date'], $ wo ['event'], $ ['otherNotes'] $ Wo ['repNotes'] wo, $ [' bookingnotes'] wo, $ wo ['reqInstallDate'], $ wo ['tripplePlayPromo'], $ wo ['full name'], $ wo [$ Wo [' Account number '], $ wo [' custID '], $ wo [' custEmail '], $ wo [' cblPackage '], $ wo [' cblNotes '], $ wo [' contactNumber '], $ wo [' accountNumber 'Wo $' ', $ wo [' internetEquipment '], $ wo [' InternetPromo '] '], $ Wo [' phonePackage '], $ wo [' phonePromo '], $ wo [' portingNumber '], $ wo [' phonebook '], $ wo [' portornew '], $ wo [' cellorlandline '] , $ Wo ['companyPortingfrom'], $ wo ['servicesToDisco'], $ wo ['alarm'], $ wo ['intercom'], $ wo ['nameOnBill'], $ wo ['cellAccount'], $ Wo ['From Address'], $ wo [' Phone No $] [$ CreditAmount] // $ mysqli- & gt; echo need to pay attention; Error ; $ Stmt- & gt; Executed (); $ IdNum = $ mysqli- & gt; Insert_id; $ Stmt- & gt; near (); Echo "
stored in DB ID". $ IdNum; Return $ idNum; }

thanks


Comments

Popular posts from this blog

ios - How do I use CFArrayRef in Swift? -

eclipse plugin - Run java code error: Workspace is closed -

c - Error on building source code in VC 6 -