In the following, replace the " with ' in the SELECT statement. SQL strings do not accept " (SQL 99 at least).

  // Remove all Quotes nodes.
  $result = db_query('SELECT nid FROM {node} WHERE type = "quotes"');
  while ($obj = db_fetch_object($result)) {

Thank you.
Alexis Wilke

Comments

nancydru’s picture

Assigned: Unassigned » nancydru
Status: Active » Fixed

Committed to both branches.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.