image paths and syntax

2 posts by 2 authors in: Forums > CMS Builder
Last Post: October 26, 2011   (RSS)

By rez - October 26, 2011

how do i add my image paths to this:

$imageLibObj = new imageLib('path/to_image.jpg');

I tried
<?php $imageLibObj = new imageLib(echo $upload['urlPath']);?>
<?php $imageLibObj = new imageLib('echo $upload['urlPath']');?>


Dreamweaver keeps marking what i try as a syntax error.

thanks.