<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On May 31, 2010, at 2:47 PM, Jacob Roufa wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">I have a nodequeue set up and I threw some php code in a block to display the nodes I want... This all worked great for me until I updated the site to the latest Drupal 5.22 and all of a sudden I'm getting an error : <b>Parse error</b>:  syntax error, unexpected T_VARIABLE in <b>/includes/common.inc(1497)
 : eval()'d code</b> on line <b>1</b><br></blockquote><div><br></div><div>Put a space between your opening &lt;?php and $get_nodes.</div><div><br></div><div>Consider using&nbsp;nodequeue_load_nodes() which does much of this work for you. Also, you forgot braces around the table name {nodequeue_nodes} and a more standardized way to use the counter is an iterator ($counter++;) rather than $counter = $counter +1;</div><div><br></div><div>-D</div></div></body></html>