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:
I tried
Dreamweaver keeps marking what i try as a syntax error.
thanks.
$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.
Re: [rez] image paths and syntax
By Jason - October 26, 2011
Hi,
"echo" sends information to the output buffer, so you don't need that statement in order to pass data to a function or method.
Try this:
Hope this helps
"echo" sends information to the output buffer, so you don't need that statement in order to pass data to a function or method.
Try this:
<?php $imageLibObj = new imageLib($upload['urlPath']);?>
Hope this helps
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com
Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/
Jason Sauchuk - Project Manager
interactivetools.com
Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/