mysql_error in query: SELECT * FROM message_174 WHERE id_section=
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1Array
(
[0] => Array
(
[file] => /home/rainbow/public_html/!classes/cmessage.php
[line] => 77
[function] => SQL_query
[args] => Array
(
[0] => SELECT * FROM message_174 WHERE id_section=
)
)
[1] => Array
(
[file] => /home/rainbow/public_html/!classes/cmessage.php
[line] => 108
[function] => GetList
[class] => CMessage
[object] => CMessage Object
(
[table] => message_174
[identifier] => id
[record_count] =>
[fields] => Array
(
[0] => Array
(
[Field] => id
[Type] => int
[Null] => NO
[Key] => PRI
[Default] =>
[Extra] => auto_increment
)
[1] => Array
(
[Field] => name
[Type] => varchar(255)
[Null] => YES
[Key] =>
[Default] =>
[Extra] =>
)
[2] => Array
(
[Field] => id_section
[Type] => int
[Null] => YES
[Key] =>
[Default] =>
[Extra] =>
)
[3] => Array
(
[Field] => content
[Type] => text
[Null] => YES
[Key] =>
[Default] =>
[Extra] =>
)
)
[fields_count] => 4
)
[type] => ->
[args] => Array
(
[0] => WHERE id_section=
)
)
[2] => Array
(
[file] => /home/rainbow/public_html/static/index.php
[line] => 12
[function] => GetByField
[class] => CMessage
[object] => CMessage Object
(
[table] => message_174
[identifier] => id
[record_count] =>
[fields] => Array
(
[0] => Array
(
[Field] => id
[Type] => int
[Null] => NO
[Key] => PRI
[Default] =>
[Extra] => auto_increment
)
[1] => Array
(
[Field] => name
[Type] => varchar(255)
[Null] => YES
[Key] =>
[Default] =>
[Extra] =>
)
[2] => Array
(
[Field] => id_section
[Type] => int
[Null] => YES
[Key] =>
[Default] =>
[Extra] =>
)
[3] => Array
(
[Field] => content
[Type] => text
[Null] => YES
[Key] =>
[Default] =>
[Extra] =>
)
)
[fields_count] => 4
)
[type] => ->
[args] => Array
(
[0] => id_section
[1] =>
)
)
)
mysql_error in query: SELECT * FROM message_174 WHERE id_section=
| |||
|
|||
|