Hey Perch
You'll need a function called strpos() that can detect if a string contains another string. The usage is as follows:
if(strpos($link, '?') !== false) {
$link .= '&pic=4';
}
else {
$link .= '?pic=4';
}
--------------------
Claire Ryan
interactivetools.com
Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/