Ciao a tutti spero possiate aiutarmi.
Allora ho un problema con il sito smileyfree.net
Praticamente aprendo qualsiasi pagina per prelevare il codice relativo all'immagine ottengo un errore
es http://www.smileyfree.net/smiley.php?category=animals
Se verificate sotto ogni immagine mi appare nel relativo codice uno "spazio" non voluto tra .net e /s
Qui di seguito vi posto il relativo codice che carica la configurazione:
Potete dirmi dove è l'errore?codice:// SMILEIS function smilies($category,$domainname) { $countera="0"; $query="select id, smileyname, category, imagename, popularity from smiley where category = '$category' order by popularity DESC"; $result=mysql_query($query); while($row = mysql_fetch_array($result)) { if($countera=="0") { $smilies=$smilies . "<tr><td width=\"34%\" align=\"center\" height=\"0\"> <img src=\"smilies/" . $row[imagename] . "\" border=\"0\"> <font style=\"font-size: 3pt\"> </font> <input onClick='highlight(this);' type=\"text\" name=\"T" . $i . "\" size=\"20\" value=\"\"> <input onClick='highlight(this);' type=\"text\" name=\"T" . $i . "\" size=\"20\" value=\"<img src="http://" . $domainname . "/s/" . $row[imagename] . ""/>\"> <input onClick='highlight(this);' type=\"text\" name=\"T" . $i . "\" size=\"20\" value=\"http://" . $domainname . "/s/" . $row[imagename] . "\"></td>"; $countera="1"; } elseif($countera=="1") { $smilies=$smilies . "<td width=\"33%\" align=\"center\" height=\"0\"> <img src=\"smilies/" . $row[imagename] . "\" border=\"0\"> <font style=\"font-size: 3pt\"> </font> <input onClick='highlight(this);' type=\"text\" name=\"T" . $i . "\" size=\"20\" value=\"
\"> <input onClick='highlight(this);' type=\"text\" name=\"T" . $i . "\" size=\"20\" value=\"<img src="http://" . $domainname . "/s/" . $row[imagename] . ""/>\"> <input onClick='highlight(this);' type=\"text\" name=\"T" . $i . "\" size=\"20\" value=\"http://" . $domainname . "/s/" . $row[imagename] . "\"></td>"; $countera="2"; } else { $smilies=$smilies . "<td width=\"33%\" align=\"center\" height=\"0\"> <img src=\"smilies/" . $row[imagename] . "\" border=\"0\"> <font style=\"font-size: 3pt\"> </font> <input onClick='highlight(this);' type=\"text\" name=\"T" . $i . "\" size=\"20\" value=\"
\"> <input onClick='highlight(this);' type=\"text\" name=\"T" . $i . "\" size=\"20\" value=\"<img src="http://" . $domainname . "/s/" . $row[imagename] . ""/>\"> <input onClick='highlight(this);' type=\"text\" name=\"T" . $i . "\" size=\"20\" value=\"http://" . $domainname . "/s/" . $row[imagename] . "\"></td></tr>"; $countera="0"; } } if($countera=="1" || $countera=="2") { $smilies=$smilies . "</tr>"; } return $smilies; } // END SMILIES
grazie
marall