Add voting options

Here you need to query and display all the voting questions that have been added:

  query("select * from votename"); while($row = mysqli_fetch_assoc($result)){ ?>   

All codes:

onload = function(){document.getElementById('errortext').innerHTML='请选择问题!';}"; }else{ $result = $db->query("insert into voteoption (optionname, upid, votenum) values ('$voteoption', '$subject', '0')"); if($result){ echo ""; }else{ echo ""; } } } ?>         

不要超过20个字

Show results:

gif5新文件 (34).gif

Continuing Learning
||
submit Reset Code
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!