PHP/CSS button style with post queries -


i newbie php/css. have coded default.css button style , php page many processing buttons. button style looks great on button url link. see code snippet below:

<form name="form" method="post"> <p class="button-style"><a href="importcsv.php">import sightings csv</a></p> &nbsp;&nbsp; <p class="button-style"><a href="logbookentry.html">enter new sightings</a></p> <br> <p class="button-style"><a href="logbookentry.php">view pre-logged sightings</a></p> <br> 

however, when use same button style run sql query button, style not uniform. see link http://conchslist.com/ziktest/logprocess.php

<p class="button-style"><input type="submit" name="button5" value="run makes 1" /></p> &nbsp;&nbsp; <p class="button-style"><input type="submit" name="button6" value="run makes 2" /></p> <br>  $q = mysql_query("update avdmaster p, sightingsentrytmp pp  set pp.make = '1' pp.uniqueid = p.uniqueid , p.make = '0';")or die(mysql_error()); if($q) { echo "successful"; }else { echo "error"; } } //if isset  if(isset($_post['button6'])) { $q = mysql_query("update sightingsentrytmp p, avdmaster pp set pp.make = '1' pp.uniqueid = p.uniqueid , p.make = '1';")or die(mysql_error()); if($q) { echo "successful"; }else { echo "error"; } } //if isset' 

it simple. but, how adjust code make buttons uniform?

thanks,

stephen

you have second set of styles targets a add comma , add input[type=submit] button targeted well.


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -