Quote:
Originally Posted by The Dawg
I have a custom field named galleries that is producing the "Parse error: syntax error, unexpected T_STRING" error.
galleries field has the server location of a gallery ( /home/www/gallery1.php )
If I hardcode the link in the template it works
Code:
<?php include('/home/www/gallery1.php'); ?>
But...
Code:
<?php include('<?php echo get_post_meta($post->ID, 'galleries', true) ?>'); ?>
^^ ERROR ^^
Whats wrong with this line?

|
sorry i totally overlooked what you were actually doing and just focused on the code i saw, my apologies