Link to home
Start Free TrialLog in
Avatar of locke2005
locke2005Flag for Brazil

asked on

related questions

One person said:

We don't have an ARRAY datatype in MySQL. When sending the variable to the MySQL server
through the SQL command, you should cast that array to a type accepted by MySQL. If you
don't the text "array" will be inserted in the SQL statement.


Another person said:

$list="SELECT * FROM IDs WHERE ID != $ID";

$rows=mysql_query($list);
$row=mysql_fetch_assoc($rows);
$table_name=$row["field_name"];

$rank="SELECT * FROM $table_name ORDER BY vote DESC";


If $table_name is one row instead of an array of rows, how can $table_name be ordered???
SOLUTION
Avatar of babuno5
babuno5
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of locke2005

ASKER

Too complicated! :-(
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Avatar of Loganathan Natarajan
Loganathan Natarajan
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial