Alright if everything is 0 then check this:
Code:SELECT item_name,height_adjustable FROM `furniture` WHERE height_adjustable NOT LIKE "%,%,%" AND height_adjustable != 0
Didn't work! Uncompleted will all errorAlright, must be your furniture table then.
Here is my furniture table, import this into your database and let me know if it works.
You must be registered for see links
Also for that error, run the following query in your database like i said, it works for me when i get importing errors:
Code:SET @@global.sql_mode= '';
No. That's right.. Try this one:
SELECT item_name,height_adjustable FROM `furniture` WHERE height_adjustable NOT LIKE '%.%,%' AND height_adjustable != 0
No. That's right.. Try this one:
Code:SELECT item_name,height_adjustable FROM `furniture` WHERE height_adjustable NOT LIKE '%.%,%' AND height_adjustable != 0
Yep i tried the query and it didnt be a single success!Did you run the query i told you to? What's the error when importing my table?
SET @@global.sql_mode= '';
Did you import my furniture table?Yep i tried the query and it didnt be a single success!
i used this query
Code:SET @@global.sql_mode= '';
Yep i didDid you import my furniture table?
So I am currently looking into this for him and as far I coded this in php so I could do a more advanced test:Check the furniture you've added recently. One of the values in height_adjustable is incorrect. Without editing the emulator, it may be difficult to track down.
@JayCustom - It seems like the query you're providing is not helping, it may be likely that the cell containing the error contains a comma.
<?php
$getItems = mysql_query("SELECT `id`,`height_adjustable` FROM `furniture` WHERE `height_adjustable` != '0'");
while($Item = mysql_fetch_assoc($getItems)){
$arr = explode(',', $Item['height_adjustable']);
foreach($arr as $thisitem){
if(!is_double($thisitem) && !is_numeric($thisitem)){
echo $Item['id'];
}
}
}
?>