At 09:46 10.02.2003, Chris Hayes said: --------------------[snip]-------------------- >At 09:27 10-2-2003, you wrote: >>hi there, >> >>i'm having a small problem, wondering if anybody can help >> >>// a line in my script defining $url >> $url = $directory . '/main.php?id=' . $id; >> >>// a line later on in the frameset calling this $url >> echo '<frame name="main" scrolling="no" src="'$url'">'; >> >>this gives me a paring error on the last line > >please get yourself a strong pot of coffee and spend some time reading the >manual, in this case http://www.php.net/manual/en/language.types.string.php --------------------[snip]--------------------
To shorten up the process, you're missing the string concatenizer: echo '<frame name="main" scrolling="no" src="' . $url . '">'; or echo '<frame name="main" scrolling="no" src="', $url, '">'; This doesn't mean you shouldn't read the manual, though *twinkle* -- >O Ernest E. Vogelsinger (\) ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php