I just woke up thanks

Posts: 43
Joined: 12/09/2007
Bug FinderEarly adopter... addicted to alphas.

Thank you for the fast response. With fresh eyes I used dev and the names are all the same but the Path is the only thing that is different. I am just going to have to delete all of the products no biggie. I was wondering if I change the

<?php
  $result
= db_query("SELECT nid FROM {node} WHERE name LIKE '%_0'");
  while (
$data = db_fetch_array($result)) {
   
node_delete($data['nid']);
  }
?>

to

<?php
  $result
= db_query("SELECT nid FROM {node} WHERE type LIKE 'product'");
  while (
$data = db_fetch_array($result)) {
   
node_delete($data['nid']);
  }
?>

well I tried the above and it deletes like 100 then gives the white screen. Any suggestions

Eric