BhaWAP started over 3 years ago By me just to learn how to code... more like a testing ground, it has since then become one of South africa`s fastest growing wapsite, give it a try and let me know what you think (Help is most welcome) 🙂 alot from there has been taken from Coding-Talk so alot of thanks goes to them and its users. (by the way i have a new testing ground lol) BhaWAP Your Free Mobile Content Provider BhaWAP Your Free Mobile Content Provideryour mobile content provider 😉
BhaWAP
Started on the old forum in September 2012 · view the original in the archive · old links redirect here
re
zain wrote: BhaWAP started over 3 years ago By me just to learn how to code... more like a testing ground, it has since then become one of South africa`s fastest growing wapsite, give it a try and let me know what you think (Help is most welcome) 🙂 alot from there has been taken from Coding-Talk so alot of thanks goes to them and its users. (by the way i have a new testing ground lol) BhaWAP Your Free Mobile Content Provider BhaWAP Your Free Mobile Content Provideryour mobile content provider ;)
nice site page counters could be a good update nice visitors counter
External image (may be gone) External image (may be gone)
*****
**Dont Ask Me Dumb Questions.Or you'l get a Dumb Answer.. Want A Profesional Logo or Theme For Your wap site Pm Me.If I Have The Time Ill Make It For Free ***
ozziemale31 wrote: nice site page counters could be a good update nice visitors counter
page counters? explain more so i can look into it and thanks alot for your input, i have an admin panel i made where i have stats for each page i do have some pages with its own hit counter(example the youtube page) maybe thats what you mean if so then i think you right i have been meaning to add it to all the pages but never got the time lol now that you have brought it up i will start with it
zain wrote: you got my attention now i need your help to fix this gosh
It is in your guestbook (The only place where you use a database I think)
filter the user inputs....add this code in your Guestbook.php?Cmd=Sign&Post=True
instead of $_POST['what ever user input']; use mysql_real_escape_string($_POST['what ever user input']);
Note : you need to connect with the mysql before running this
I'm Proud to be a Sri Lankan!
form check box error
can you please tell me where i am going wrong on the table? see it does not display corrctly it shows the first message 100% and allows me to tick and delete but the second message is not in the table and even if i tick it and click delete it does not do anything, i think thats part of my problem, how do i make them all show in the table with just one delete button at the bottom, right now there is one delete button next to each message.
$Spacing = " ";
echo $Spacing.'<center>'."\n";
echo $Spacing.'<br>'."\n";
echo $Spacing.'<table border="0" cellpadding="0" cellspacing="0" style="color: #666;font-size:11px;width:550px;">'."\n";
echo $Spacing.' <tr height="15" align="left"><td><span class="Form_Title">Guestbook Messages</span><HR width="100%" SIZE="1"></td></tr>'."\n";
echo $Spacing.'</table>'."\n";
echo $Spacing.'<br>'."\n";
echo $Spacing.'<form name="form1" method="post" action="">'."\n";
echo $Spacing.'<table border="0" cellpadding="0" cellspacing="1" style="font-size:9pt;width:450px;">'."\n";
echo $Spacing.'<tr>'."\n";
echo $Spacing.'<td>'."\n";
echo $Spacing.'<tr style="background-color:#666;color:#FFF;"><td style="background-color:#FFF;color:#FFF;"></td>'."\n";
echo '<td><b>Delete</b></td>'."\n";
echo '<td><b> Date</b></td>'."\n";
echo '<td><b> Time</b></td>'."\n";
echo '<td align="center"><b>Message</b></td>'."\n";
echo '</tr>'."\n";
if ($RowCnt > 0) {
$i = 0;
while ($i < $RowCnt) {
$Gbk_Id = mysql_result($SqlResult,$i,"Gbk_Id");
$Gbk_Date = mysql_result($SqlResult,$i,"Gbk_Date");
$Gbk_Time = mysql_result($SqlResult,$i,"Gbk_Time");
$Gbk_Name = mysql_result($SqlResult,$i,"Gbk_Name");
$Gbk_Message = mysql_result($SqlResult,$i,"Gbk_Message");
$Spacing = " ";
echo $Spacing.'<tr style="background-color:#F5F5F5;color:#666;">';
echo '<td></td>';
echo '<td><input name="need_delete[]" type="checkbox" id="checkbox'.$Gbk_Id.'" value="'.$Gbk_Id.'"></td>'."\n";
echo '<td style="width:80px;"> '.$Gbk_Date.'</td>';
echo '<td style="width:60px;"> '.$Gbk_Time.'</td>';
echo '<td> <b>'.$Gbk_Name.'</b><br> '.$Gbk_Message.'</td>';
echo '<br></table>'."\n";
echo '<td><input name="delete" type="submit" id="delete" value="" class="Form_Btn_delete"></td>'."\n";
echo '</form>'."\n";
echo '</td>'."\n";
echo '</tr>'."\n";
$i++;