Вот код.
PHP:
скопировать код в буфер обмена
скопировать код в буфер обмена
- <?PHP
- print "
- <div id='rating_table'>
- <form method='POST' action=''>
- <center>
- Оцените материал: 1<input type='radio' value='1' name='score'> 2<input type='radio' value='2' name='score'> 3<input type='radio' value='3' name='score'> 4<input type='radio' value='4' name='score'> 5<input type='radio' value='5' name='score' checked>
- <input type='submit' name='enter_vote' value='Оценить'>
- <input type='hidden' name='type' value=".<?PHP print $type;?>.">
- </center>
- </form>
- </div>";}
- ?>