note 108807 added to internals2.opcodes.mod

From: Date: Fri, 25 May 2012 16:22:11 +0000
Subject: note 108807 added to internals2.opcodes.mod
Groups: php.notes 
Request: Send a blank email to php-notes+get-188239@lists.php.net to get a copy of this message
Might be helpful: I had to create and "INSERT INTO" on every 50th row: $lineBreak = 50; $tableName = 'user'; $tableFields = 'id, name, password'; in the loop: if ($counter === 0 || $counter % $lineBreak === 0) { echo "INSERT INTO $tableName ($tableFields) VALUES ("; } else { echo ' ('; } // add values comma-delimited if ($counter === 0 || $counter % $lineBreak === 0) { $insertStmt .= ');'; } else { $insertStmt .= '),'; } (in my case I had to check if $no % $o === 0) ---- Server IP: 69.147.83.197 Probable Submitter: 91.142.237.97 ---- Manual Page -- http://www.php.net/manual/en/internals2.opcodes.mod.php Edit -- https://master.php.net/note/edit/108807 Del: integrated -- https://master.php.net/note/delete/108807/integrated Del: useless -- https://master.php.net/note/delete/108807/useless Del: bad code -- https://master.php.net/note/delete/108807/bad+code Del: spam -- https://master.php.net/note/delete/108807/spam Del: non-english -- https://master.php.net/note/delete/108807/non-english Del: in docs -- https://master.php.net/note/delete/108807/in+docs Del: other reasons-- https://master.php.net/note/delete/108807 Reject -- https://master.php.net/note/reject/108807 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#188239) next »