- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 3
- Posts with Downvotes
- 2
- Downvoting Members
- 3
3 Posted Topics
hi I wanna ask about virtual function.. why we use it & when? and what is the different between friend function & member function in class?? :) | |
this part of php that connected with db [CODE]$q2="select *from emp order by id"; $r2=mysql_query($q2)or dai("query faild:"mysql_error()); while($x=mysql_fetch_array($r2) { if($x["depno"]==10)//[COLOR="Red"]dose it right to use $x=["depno"]like this when i use the query select* from the table??[/COLOR] { echo"<tr><td>$x["emloyeeno"]</td>"; echo"<td>$x["employee name"]</td>"; echo"<tr><td>$x["address"]</td>"; echo"<td>$x["salary"]</td>"; $sum=$sum+$x["salary"]; } }[/CODE] | |
hi ..pleas any one can help me to write aprogram that allows the user to enter the last names of 5 candidates in a local election and the number of votes received by each candidate, the program should then out put each candidates name the number of vote percentage of … |
The End.