Hi Guys, I am trying to add a url to the beginning of this setAttribute $media2->setAttribute('url', $_POST['content']);
Right now it include a portion but I just need to add http://mediasrv3.blahblah.net/arch/ before the post content
Any Ideas?
Thanks, Randy
Sounds like you're asking about simple string concatenation; see the man page [man]operators.string[/man] for more info.
Thanks Brad, is this how it should look you think
$a = 'http://mediasrv3.blahblah.net/arch/'; $b = $a . $_POST['content']; $media2->setAttribute('url', $b);
Why create two useless variables - $a and $b?
Your right this works
$media2->setAttribute('url', 'http://mediasrv3.blahblah.net/aecarch/' . $_POST['content']);
Thanks for the help.