a causa di un apice singolo anzichè doppio ho un errore javascript
echo "<tr><td>[img]_graphic/". $row[[/img]</td></tr>";
onMouseOver=""
dovrei riuscire a stampare questo attributo così
ma come posso fare???
a causa di un apice singolo anzichè doppio ho un errore javascript
echo "<tr><td>[img]_graphic/". $row[[/img]</td></tr>";
onMouseOver=""
dovrei riuscire a stampare questo attributo così
ma come posso fare???
metti /" , no?
GdR Online - http://lenar.it/
Yesterday is history. Tomorrow is mystery.
Today is a gift. That's why it's called the present
vengo da altri linguaggi e acuso una grossa ignoranza non è che mi spieghi meglio??
Si, scusa.
Praticamente mettendo /" php non riconosce le virgolette come fine azione, quindi puoi mettere:
codice:echo "<tr><td><a href='". $row['ParentTabFile']."?ParentTabId=".$row['ParentTabID']."' onMouseOut='MM_swapImgRestore()' onMouseOver=\"MM_swapImage('". $row['ParentTabName'] ."','','_graphic/". $row['ParentTabName']."_up.gif')\"> [img]_graphic/". $row[[/img]</a></td></tr>";
GdR Online - http://lenar.it/
Yesterday is history. Tomorrow is mystery.
Today is a gift. That's why it's called the present
Cioé mettendo \", esempio:
echo "<form name=\"form1\" method=\"post\" action=\"conf.php\">";
scriverà
<form name="form1" method="post" action="conf.php">
p.s.nel primo post avevo sbagliato tra \ e /![]()
GdR Online - http://lenar.it/
Yesterday is history. Tomorrow is mystery.
Today is a gift. That's why it's called the present