nookie
I did it all for the nookie
PHP:
$link = '<link';
if(isset($href) && !empty($href)) {
$link .= ' href="' . $href . '"';
if(isset($rel) && !empty($rel)) {
$link .= ' rel="' . $rel . '"';
} else {
$link .= ' rel="stylesheet"';
}
if(isset($type) && !empty($type)) {
$link .= ' type="' . $type .'"';
} else {
$link .= ' type="text/css"';
}
$link .= '>';
}
Ich steh wirklich auf dem Schlauch. Warum ist mein String leer wenn ich Ihn ausgeben lasse?