Help solving t_echo php error while using echo do_shortcode
<p>I am using the Orbit Slider plugin successfully on my site.  The plugin supports its own categories.  I would like to embed the slider within my page.php template but allow each page to have it's own slider based on the category.</p>

<p>Inside my page.php I have this:</p>

<p><code>&lt;?php echo do_shortcode('[orbit-slider category="page"]'); ?&gt;</code></p>

<p>the category "page" is just the name of a category I created.  It will display only slides that come from category.</p>

<p>Instead of hard-coding the category, I wanted to use custom fields so that on each individual page my client can specify a category to be shown.  I have tried something like this but it's causing an internal server error:</p>

<p><code>&lt;?php echo do_shortcode('[orbit-slider category="' echo get_post_meta($post-&gt;ID, "slide-category", true);'"]'); ?&gt;</code></p>

<blockquote>[09-Feb-2012 20:05:08] PHP Parse error:  syntax error, unexpected T_ECHO in /public_html/wp-content/themes/techmd960/page.php on line 21
</blockquote>

<p>Can someone point out what I am doing wrong?  I figure it has to do with the quotes (double and single) but can't figure it out.</p>

<p>Essentially I just want to output the custom field "slide-category" as the value for category="" in the shortcode.</p>
