Inserting a Drupal 6 view into a node or template file with PHP is easy. Just use the code below:
<?php$viewName = 'the_name_of_my_view';$display_id = 'block_1';print views_embed_view($viewName, $display_id);?>
Quick way to increase PHP memory limit in Drupal: add the following line to the file located at /sites/default/settings.php:
ini_set('memory_limit','64M');
Follow me @joshhostels