Sebastian wrote:
how do i delete keys from an array if it has no values?
eg, this:
[name] => Array
(
[0] => grape
[1] => apple
[2] =>
[3] => orange
[4] =>
[5] => cherry
)
to:
[name] => Array
(
[0] => grape
[1] => apple
[2] => orange
DELETE FROM TableName
WHERE UserID IN ('User1', 'User2', '', ..)
UPDATE TableName
SET fieldName='NewValue'
WHERE UserID IN ('User1', 'User2', '', ..)
Sejati Opreker wrote:
Hi all,
I meet a problem when I want to deleting a multiple
row, I have a table that contain columns UserID, name,
company name
print "\n";
print "\n";
$counter = 0;
while ($result = mysql_fetch_array($pointer)) {
$counter++;
if ($counter % 4 === 0) {
print "".$result[1]."\n";
print "\n";
print "\n";
} else {
print "".$result[1]."\n";
}
}
// add blank cells if number of cell o
3 matches
Mail list logo