> >define('DIR_JAVA', '/js/'); > >When you need to use the JavaScript directory you can do this. ><script src="<?php echo DIR_JAVA . 'jquery-1.5.1.js';?>"></script> > >There is no true need for the curly brackets to echo out the value of >the constant. > Except for when you're using heredoc, much like in the OPs first post... Thanks, Ash http://www.ashleysheridan.co.uk -- Sent from my Android phone with K-9 Mail. Please excuse my brevity. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php