Visa ett inlägg
Oläst 2011-10-02, 10:29 #1
Zyry Zyry är inte uppkopplad
Medlem
 
Reg.datum: Aug 2011
Inlägg: 118
Zyry Zyry är inte uppkopplad
Medlem
 
Reg.datum: Aug 2011
Inlägg: 118
Question Lägga in html innuti php?

Tja , fixade så att permission fungerar nu behöver jag bara en check för att se om användaren har rättigheter nog för att göra funktionen.

Kod:
<?php
if(session_is_registered(allowchat)){
//vill lägga in html form här
<form action="messager.php" method="post">
<br/>Name: <input type="text" name="name" />
message: <input type="text" name="message" /><br />

<input type="submit" value="Send" />
</form>
}
?>
}
Tack hoppas ni kan hjälpa mig fixa till problemet.


/Fredrik
Zyry är inte uppkopplad   Svara med citatSvara med citat