Witam ot?? jest problem,?ci?gno?em acc macer st?d : link i po klikni?ciu na index.php uruchom przez firefox,na ekranie wy?wietla sie takie co? :
Chodzi mi oto ?e w miejscu gdzie powinno sie wpisywa? acc number/name lub powinien sie wy?wietla? losowy pojawia sie takie niewiadomo co : ;' . "\n"?>
Tu jest kod php,prosze o pomoc
Dodam ?e ja tu nic nie rusza?em bo php jestem kompletnie zielony ; o
@EDIT
kod zaczyna si? od <html> lecz obok pliku pisze tak:
Index.php
Plik PHP
4kb
Tiny account maker for YurOTS
Account:
;' . "\n"?>
Name
: 3-20 charactersPassword:
3-10 charactersSex:
Male FemaleVocation:
Sorcerer Druid Paladin KnightChodzi mi oto ?e w miejscu gdzie powinno sie wpisywa? acc number/name lub powinien sie wy?wietla? losowy pojawia sie takie niewiadomo co : ;' . "\n"?>
Tu jest kod php,prosze o pomoc
PHP:
<html>
<body>
<form method="post" action="newacc.php">
<div style="text-align: center"><b>Tiny account maker for YurOTS</b></div>
<table cellspacing="0" width="100%">
<tr><td width="20%">Account:</td>
<td><?
$account = rand(100000, 999999);
print '' . $account . ' <input type="hidden" name="account" value="0" . $account . '">;' . "\n"?></td>
</tr>
<tr>
<td width="20%">Name:</td>
<td><input type="text" name="nick" maxlength="20" /> <span class="copy">3-20 characters</span></td>
</tr>
<tr>
<td width="20%">Password: </td>
<td><input type="password" name="pass" maxlength="10"> <span>3-10 characters</span></td>
<tr>
<tr>
<td width="20%">Sex:</td>
<td>
<input type="radio" name="sex" value="1"> Male
<input type="radio" name="sex" value="0"> Female
</td>
</tr>
<tr>
<td width="20%">Vocation:</td>
<td>
<input type="radio" name="vocation" value="1"> Sorcerer
<input type="radio" name="vocation" value="2"> Druid
<input type="radio" name="vocation" value="3"> Paladin
<input type="radio" name="vocation" value="4"> Knight
</td>
</tr>
<tr>
<td colspan="2">
<input type="submit" value="Create">
<input type="reset" value="Reset">
</td>
</tr>
</table>
</form>
</div>
</body>
</html>
@EDIT
kod zaczyna si? od <html> lecz obok pliku pisze tak:
Index.php
Plik PHP
4kb
