No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
7 Posted Topics
[QUOTE=architact;674341]the command used for this purpose is. mysql_query("UPDATE tbl set field='$value' WHERE id='$id'");[/QUOTE] thank you for this but i've the person table with an attributes of firstname,id and ratingno. if u hit the same person,the rating should be increased by one without using another row for the same person. I …
i'm just having a prblem with displaying records from db in the same page. i'm just trying to write a php code but it didn't show up. Th records are documnted in db by thier first name, middlename & party. html: <[B]select name="zone" size="1" id="zone"[/B]> <option selected="selected" value="Addis Zone1">Addis Zone1</option> …
Try this one [B]<? //connection mysql_connect(localhost,root,vertrigo)or die("Error while conneciton"); //select the database mysql_select_db("$db") or die(mysql_error()); ?> [/B] if u using the vertrigo server. Or u can post ur code.
I'm having a problem in displaying data from the table.I've a candidate table in the db. i 've got the problem when i try to select the place of the candidate in the main html code. the html has the place selector, frist name, middle name and partystatus of it. …
[code]if($region==region){ $result = mysql_query("SELECT * FROM places"); $row = mysql_fetch_assoc($result); echo "zone: ".$row['zone']."; }[/code]
i've anothe question, in here. I've made a registration form which 've region and zone with selection type. Main thing is wheni select the region, the zone list must come out as selection method from the DB. i've got the problem in php codes... help me outt...
i'm doing php project on e-voting and i've a data goes from voters in the databse can u help me to give me the php code that counts the votes in voting seesion and display the result..plzzzzz
The End.
heni_pro