Jump to content

pixeltrace

Members
  • Posts

    577
  • Joined

  • Last visited

    Never

Everything posted by pixeltrace

  1. thanks bro!!! it worked! :)
  2. guys, i need help. how can i import or transfer my database from my old sqldatabase from my new sqldatabase? i transferred my website to a new webhosting provider so i need to transfer all my database from them. its quite a big database and i now there is an easy way to transfer my database to the new one but i dont know how. hope you guys can help me with this. thanks in advance!
  3. bro, its still not working.
  4. guys, i need help, my css style is not being used that way i wanted it to be. i am using this script for my newsletter sender. so when i send the newsletter the output is different from the look that i wanted below is the script that i am using for this application. hope you can help me with this. =============== <html> <head> <title>Untitled Document</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body> <?php $to = "test@email.com"; $subject = "testsubject"; $headers = "From: test2@email.com\r\n"; $headers .= "Reply-To: test2@email.com\r\n"; $headers .= "Return-Path: test2@email.com\r\n"; $headers .= "MIME-Version: 1.0\r\n"; $headers .= "Content-Type: text/html; charset=ISO-8859-1\r\n"; $message = "<html><head>"; $message .= "<body>"; $message .= "<style type =\"text/css\">p{.style1 { font-size: 18px; font-weight: bold; font-family: Arial, Helvetica, sans-serif; color: #FFFFFF; } .style2 { color: #666666; font-size: 36px; font-family: Verdana, Arial, Helvetica, sans-serif; } .style3 { font-size: 12px; font-family: Arial, Helvetica, sans-serif; } .style4 { font-family: Verdana, Arial, Helvetica, sans-serif; font-weight: bold; font-size: 14px; } .style5 { font-family: Verdana, Arial, Helvetica, sans-serif; color: #FF0000; font-weight: bold; } .style6 { font-size: 10px; font-family: Verdana, Arial, Helvetica, sans-serif; } .style7 { color: #666666; font-weight: bold; } .style9 {font-family: Verdana, Arial, Helvetica, sans-serif; font-weight: bold; font-size: 10px;} .style10 { color: #FF0000; font-weight: bold; font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 12px; }</style>"; $message .= "</head><body>"; $message .= " <table width=\"538\" border=\"1\" cellpadding=\"0\" cellspacing=\"0\" bordercolor=\"#666666\"> <tr> <td bgcolor=\"#FFBACC\"><div align=\"center\"><span class=\"style1\">The UST Conservatory of Music in cooperation with Equitable PCI Bank and MCO Foundation present</span></div></td> </tr> <tr> <td bgcolor=\"#FFFFCC\"><div align=\"center\" class=\"style2\">APPASIONATO</div></td> </tr> <tr> <td bgcolor=\"#FEF4F3\"><div align=\"center\"><span class=\"style3\">a thanksgiving concert featuring &quot;the tenor to watch&quot;, Rogelio Pe&ntilde;averde Jr., together with Prof. Najib Ismail, pianist, Prof. Julie Mendoza, pianist, and two of the most promising talents from the UST Conservatory, mezzo-soprano Rexceluz Evangelista and soprano Sharon Vicente.</span> </div></td> </tr> <tr> <td><div align=\"center\" class=\"style4\">APPASIONATO is on Saturday, April 8, 6pm, at the Francisco Santiago Hall of Equitable PCI Bank in Makati City. </div></td> </tr> <tr> <td bgcolor=\"#FEF4F3\"><div align=\"center\" class=\"style5\">Tickets are at P300 (regular) and P150 (students). </div></td> </tr> <tr> <td bgcolor=\"#FFFFCC\">&nbsp;</td> </tr> <tr> <td valign=\"top\" bgcolor=\"#FDF3F2\"><span class=\"style6\">Pe&ntilde;averde has just been accepted to the Daniel Ferro Summer Vocal Program in Italy this July. A graduate of the UST Conservatory, he was under the tutelage of the late Maestra Salvacion Y&ntilde;iguez and Prof. Eugene de los Santos. He has been featured in various solo and ensemble performances by the National Commission for Culture and the Arts, the Cultural Center of the Philippines, the Tribung Filipino Foundation, SinagTala, and the UST Conservatory. Some highlights of his professional music career include a solo performance at the 31st International Bamboo Organ Festival; his being one of the featured artists in Souvenirs de Filipinas, a CD compilation of the works of Francisco Santiago produced by SinagTala; and his performance at the Philippine Pavilion of the 2005 World Expo in Nagoya, Japan</span></td> </tr> <tr> <td bgcolor=\"#FFFFCC\">&nbsp;</td> </tr> <tr> <td><div align=\"center\"><span class=\"style7\">APPASIONATO is also brought in part by SinagTala.</span></div></td> </tr> <tr> <td><div align=\"center\"><span class=\"style9\">DONATIONS to help shoulder Mr. Pe&ntilde;averde's studies in Italy are greatly appreciated! </span></div></td> </tr> <tr> <td bgcolor=\"#FFFFCC\">&nbsp;</td> </tr> <tr> <td><div align=\"center\"><span class=\"style10\">For inquiries and reservations, please call 726 1297 or 0917 854 3989</span></div></td> </tr> <tr> <td bgcolor=\"#FFFFCC\">&nbsp;</td> </tr> </table> "; $message .= "</body></html>"; if ( mail($to,$subject,$message,$headers) ) { echo "The email has been sent!"; } else { echo "The email has failed!"; } ?> </body> </html> =============== thanks in advance!
  5. guys, i think the second page (feedbackdelete.php) is working. the problem is on the first page (f#@k!) its late that i noticed that i has already deleted 100 of of 250 items on my database because its deleting the wrong item. what i mean is, let say i was supposed to delete item with an id of 104, id 104 will not be deleted instead id 45 is deleted i also tried clicking on the other delete button and its deleting the same id (45) instead of its respective ids. this is the script on my first page ========== <script LANGUAGE="JavaScript"> <!-- function confirmSubmit() { var agree=confirm("Do you really want to delete this?"); if (agree) return true ; else return false ; } --> </script> <table width="475" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="455"><table width="624" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="624"><? include '../db_connect.php'; $uSql = "SELECT news_title, news_content, news_sender, news_date, newsid FROM news ORDER by news_date DESC"; $uResult = mysql_query($uSql, $connection); if(!$uResult){ echo 'no data found'; } else{ while($uRow = mysql_fetch_row($uResult)){ ?> <table width="610" border="1" cellspacing="0" cellpadding="0"> <form name="frmnews" method="POST" action="feedbackdelete.php"> <tr> <td width="606"><table width="612" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="481" class="bodytext3"><?= $uRow[0]?> </td> <td width="116">&nbsp;</td> </tr> <tr> <td><span class="bodytext">Message:</span><span class="bodytext6"> <?= $uRow[1]?> </span></td> <td width="116">&nbsp;</td> </tr> <tr> <td><span class="bodytext">Sender:</span> <i><span class="bodytext6"> <?= $uRow[2]?> </span></i></td> <td width="116">&nbsp;</td> </tr> <tr> <td><span class="bodytext">Date posted:</span><span class="bodytext6"> <?= $uRow[3]?> <input type="hidden" name="nid" value="<?= $uRow[4]?>"> </span></td> <td width="116"><input name="delete" type="submit" value="Delete Feedback" onclick="return confirmSubmit()"></td> </tr> <tr> <td colspan="2" class="bodytext"><img src="../images/spacer.gif" width="10" height="15" /></td></tr></table></td></tr> <? } } ?> </form></table> </td> </tr> </table></td> </tr> </table> ========= need help please!!! thanks!!
  6. bro, please check my script on the first page? do you think the problem is in the first page? ============== <script LANGUAGE="JavaScript"> <!-- function confirmSubmit() { var agree=confirm("Do you really want to delete this?"); if (agree) return true ; else return false ; } --> </script> <table width="475" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="455"><table width="624" border="0" cellspacing="0" cellpadding="0"> <tr> <td> <form name="frmnews" method="POST" action="feedbackdelete.php"> <table width="610" border="1" cellspacing="0" cellpadding="0"> <? include '../db_connect.php'; $uSql = "SELECT news_title, news_content, news_sender, news_date, newsid FROM news ORDER by news_date DESC"; $uResult = mysql_query($uSql, $connection); if(!$uResult){ echo 'no data found'; } else{ $currentTitle = ""; while($uRow = mysql_fetch_row($uResult)){ if($currentTitle != $uRow[0]) { $currentTitle = $uRow[0]; echo "<tr><td class='bodytext3'>"; echo "<br>"; echo "<b>$currentTitle</b>"; echo "<br><br>"; echo "</td></tr>"; }?> <tr> <td width="606"><table width="612" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="481"><span class="bodytext">Message:</span><span class="bodytext6"> <?= $uRow[1]?> </span></td> <td width="116">&nbsp;</td> </tr> <tr> <td><span class="bodytext">Sender:</span> <i><span class="bodytext6"> <?= $uRow[2]?> </span></i></td> <td width="116">&nbsp;</td> </tr> <tr> <td><span class="bodytext">Date posted:</span><span class="bodytext6"> <?= $uRow[3]?> <input type="hidden" name="nid" value="<?= $uRow[4]?>"> </span></td> <td width="116"><input name="delete" type="submit" value="Delete Feedback" onclick="return confirmSubmit()" /></td> </tr> <tr> <td colspan="2" class="bodytext"> -----------------------------------------------------------------------------</td></tr></table></td></tr> <? } } ?> </table></form></td></tr></table></td></tr></table>
  7. bro, its still not working. for the $nid its just a typo normally from my script its ======== <? session_start(); if (session_is_registered("username")){ if($_SESSION['user_level'] == 0){ include '../db_connect.php'; $nid = $_POST['nid']; $dusql="DELETE from news WHERE newsid='$nid'"; mysql_query($dusql) or die("error:".mysql_error()); echo '<script language=javascript>top.location = "feedback.php";</script>'; } else{ echo '<script language=javascript> alert("You are not authorized to access this page!");top.location = "main.php";</script>'; } } else{ echo '<script language=javascript>top.location = "index.php";</script>'; } ?> ===================== hope you can help me fix the problem. because on my add section, i can successfully add and update items. its just on the delete section wherein i am getting problems. thanks!
  8. guys, i need help. i am setting up a CMS for my site. and there's a page wherein i wanted to delete a specific item... i can't make it work. if i click on the delete button, the item is still there. here is my script for the first page: ================= <script LANGUAGE="JavaScript"> <!-- function confirmSubmit() { var agree=confirm("Do you really want to delete this?"); if (agree) return true ; else return false ; } --> </script> <table width="475" border="0" cellspacing="0" cellpadding="0"> <tr> <td> <form name="frmUsers" method="POST" action="feedbackdelete.php"> <table width="610" border="1" cellspacing="0" cellpadding="0"> <? include '../db_connect.php'; $uSql = "SELECT news_title, news_content, news_sender, news_date, newsid FROM news ORDER by news_date DESC"; $uResult = mysql_query($uSql, $connection); if(!$uResult){ echo 'no data found'; } else{ $currentTitle = ""; while($uRow = mysql_fetch_row($uResult)){ if($currentTitle != $uRow[0]) { $currentTitle = $uRow[0]; echo "<tr><td class='bodytext3'>"; echo "<br>"; echo "<b>$currentTitle</b>"; echo "<br><br>"; echo "</td></tr>"; }?> <tr> <td width="606"><table width="612" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="481"><span class="bodytext">Message:</span><span class="bodytext6"> <?= $uRow[1]?> </span></td> <td width="116">&nbsp;</td> </tr> <tr> <td><span class="bodytext">Sender:</span> <i><span class="bodytext6"> <?= $uRow[2]?> </span></i></td> <td width="116">&nbsp;</td> </tr> <tr> <td><span class="bodytext">Date posted:</span><span class="bodytext6"> <?= $uRow[3]?> <input type="hidden" name="nid" value="<?= $uRow[4]?>"> </span></td> <td width="116"><input name="delete" type="submit" value="Delete Feedback" onclick="return confirmSubmit()" /></td> </tr> <tr><td colspan="2" class="bodytext"> -----------------------------------------------------------------------------</td> </tr></table></td></tr> <? } } ?> </table></form> </td> </tr> </table></td> </tr> </table> =========================== and here is my script for the feedbackdelete.php =========================== <? session_start(); if (session_is_registered("username")){ if($_SESSION['user_level'] == 0){ include '../db_connect.php'; $bid = $_POST['nid']; $dusql="DELETE from news WHERE newsid='$nid'"; mysql_query($dusql) or die("error:".mysql_error()); echo '<script language=javascript>top.location = "feedback.php";</script>'; } else{ echo '<script language=javascript> alert("You are not authorized to access this page!");top.location = "main.php";</script>'; } } else{ echo '<script language=javascript>top.location = "index.php";</script>'; } ?> ====================== hope you can help me with this.... thanks in advance!!!
  9. bro, it work! thanks a lot bro!
  10. guys, i need help, how can i setup my pulldown menu list in such a way that i can select multiple items from the list? what is the code for that? also the items that will be selected from the lists will be sent via sendmail. how can i set it up in such a way that it will send all the selected items with commas? $Message .= ???? hope you guys can help me with this. thanks in advance!!!
  11. guys, how can i set my email form in such a way that my $To = will be getting the emails (meaning many) from the database? i will be using it on my mailing list for sending newsletters. hope you could help me with this. thanks!
  12. bro, its still not working.... :(( could you try checking my codes if everything that's in here is correct? ========= <? include 'db_connect.php'; $uSql = "SELECT event_date FROM events"; $uResult = mysql_query($uSql, $connection); if(!$uResult){ echo 'no data found'; } else{ while($uRow = mysql_fetch_row($uResult)){ $eventdate = $uRow['event_date']; $systemdate = sysdate(); } } function gotopage($urls){ if ($eventdate >= $systemdate) {$urls = 'upcomingmain.php';} else { $urls = 'noupcoming.php'; } } ?> <iframe id="upcomingmain" src="<? echo "gotopage($urls)";?>" width=302 height=225 marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0 scrolling=yes></iframe> ============== thanks a lot!! bro, i was able to make it work. but without the function ========= <? include 'db_connect.php'; $uSql = "SELECT event_date FROM events"; $uResult = mysql_query($uSql, $connection); if(!$uResult){ echo 'no data found'; } else{ while($uRow = mysql_fetch_row($uResult)){ $eventdate = $uRow['event_date']; $systemdate = date('y-m-d'); } } if ($eventdate >= $systemdate) {$urls = 'upcomingmain.php';} else { $urls = 'noupcoming.php'; } ?> <iframe id="upcomingmain" src="<?=$urls;?>" width=302 height=225 marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0 scrolling=yes></iframe> ================ thanks for the help!!!
  13. bro, i can't make it work here is the script that i made using the scripts that you've provided ============== <? include 'db_connect.php'; $uSql = "SELECT event_date FROM events"; $uResult = mysql_query($uSql, $connection); if(!$uResult){ echo 'no data found'; } else{ while($uRow = mysql_fetch_row($uResult)){ $eventdate = $uRow['event_date']; } } ?> <? function gotopage($urls){ if ($eventdate >= $sysdate()) {$urls = 'upcomingmain.php';} else { $urls = 'noupcoming.php';} } ?> <iframe id="upcomingmain" src="<? echo "gotopage($urls)";?>.php" width=302 height=225 marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0 scrolling=yes></iframe> ======================== are the variables that i have assigned is correct? what else needs to be done here? thanks !!!!
  14. greycap, thanks it work!.... but just on the sql query part. how can i make a condition wherein if there are no data wherein the event_date >= sysdate () a word saying "no new updates" will appear on the screen else if there are datas >= sysdate () it will just show the data content from the database thank in advance!!
  15. is that wrong? i just assigned a variable for event_date ( uRow[0] ) any suggestions that would fix my problem? thanks!
  16. guys, i need help on this one. kindly check [a href=\"http://www.sinagtala.net/sinag3/index1.php\" target=\"_blank\"]http://www.sinagtala.net/sinag3/index1.php[/a] check the events list in the upcoming events section that they are already done, meaning they are already past events because of the date. i am having problem setting up the condition for the date of the events versus the system date. the information being shown in the upcoming events is inside an iframe what i wanted to happen here is if there are no events with there corresponding dates that are equal to the system date or higher (meaning currentdate above) my if else condition will just change the display page on the iframe to noupcoming.php but if there is or are (no matter how few or many they are) it will change the displaypage on the iframe to upcomingmain.php =========== here is the script that i made but i can't get the right codes. <? include 'db_connect.php'; $uSql = "SELECT event_date FROM events"; $uResult = mysql_query($uSql, $connection); if(!$uResult){ echo 'no data found'; } else{ while($uRow = mysql_fetch_row($uResult)){ $eventdate = $uRow[0]; $systemdate = date (); if ($eventdate >= $systemdate) {$upcomingmain = 'upcomingmain';} else {$upcomingmain = 'noupcoming';} ?> <iframe id="upcomingmain" src="<? $upcomingmain ?>.php" width=302 height=225 marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0 scrolling=yes></iframe> ==================== hope you guys can help me with this. thanks in advance!!!
  17. is this possible with the use of CSS? anyone familiar about this? thanks!
  18. guys, i need help again, please check [a href=\"http://www.sinagtala.net/sinag3/upcomingmain.php\" target=\"_blank\"]http://www.sinagtala.net/sinag3/upcomingmain.php[/a] notice that the dates are not up to date already what i mean is at has passed already. what i wanted to happen there is when the date is not up to date already let say if the date that is specified there is not from mar9 2006 onwards there will be a message saying that "no new updates" this is the script that i used for that page ========== <table width="100" border="0" cellspacing="0" cellpadding="0"> <tr> <td> <? include 'db_connect.php'; $uSql = "SELECT event_update, event_image, event_title, event_description, event_imagelink FROM events ORDER by event_date DESC LIMIT 5"; $uResult = mysql_query($uSql, $connection); if(!$uResult){ echo 'no data found'; } else{ while($uRow = mysql_fetch_row($uResult)){ $event_imagelink = $uRow[4]; ?> <table width="285" border="0" cellspacing="0" cellpadding="0"> <tr> <td colspan="5"><img src="images/spacer.gif" width="10" height="5" /></td> </tr> <tr> <td>&nbsp;</td> <td colspan="2" align="left" valign="top"><span class="bodytext"> <?= $uRow[0]?> </span></td> <td width="10" rowspan="3"><img src="images/spacer.gif" width="10" height="10" /></td> </tr> <tr> <td width="10" rowspan="2"><img src="images/spacer.gif" width="10" height="10" /></td> <? if ($uRow[1] == 1) { echo ""; } elseif ($uRow[1] == 2){ echo '<td width="60" rowspan="2" align="center" valign="top">'; echo '<a href="images/events/'.$event_imagelink.'.jpg" target="_blank" class="fotgal"><img src="images/events/thumbs/'.$event_imagelink.'.gif" width="60" height="60" border="0" class="fotgal"></a>'; echo '</td>'; }?> <td width="10" rowspan="2"><img src="images/spacer.gif" width="10" height="10" /></td> <td width="270" align="left"><span class="bodytext3"> <?= $uRow[2]?> </span></td> </tr> <tr> <td align="left"><span class="bodytext1"> <?= $uRow[3]?> </span></td> </tr> <tr> <td colspan="5"><img src="images/spacer.gif" width="10" height="5" /></td> </tr> </table> <? } } ?></td> </tr> </table> ===================== hope you guys can help me with this. thanks in advance!!!
  19. guys, how do i link my text fonts on the html or php that i made that is not on the default fonts of dreamweaver? because on one of my website, i used forgtten futurist but when i am viewing it on the website, the font is changed to time roman how is this? thanks!
  20. thanks man! it work. another question, i need a script that will say that if there are no data on a specific date, lets say today, mar 9, 2006 there will be a note saying that "no new updates" may i know what the script is? because i honestly dont have an idea where to start. hoping for your help on this. thanks again!
  21. gaia, correct me on this one, i assigned $eimages for uRow['event_imagelink'] since the data on the row of imagelink is the imagename of the image on the script that i made here echo '<a href="images/events/'.$eimages.'.jpg" target="_blank"><img src="images/events/thumbs/'.$eimages.'.gif" width="60" height="60" border="0"></a>'; is this correct? if not can do you have any suggestions on this. because honestly i am still getting confused with assigning variables. ======== this is my query <? include 'db_connect.php'; $uSql = "SELECT event_image, event_title, event_description, event_imagelink FROM events WHERE event_type = 'tours' ORDER by event_date DESC"; $uResult = mysql_query($uSql, $connection); if(!$uResult){ echo 'no data found'; } else{ while($uRow = mysql_fetch_row($uResult)){ ?> ======== and this is the script that i used for the imagelink <? $eimages = '$uRow[3]'; if ($uRow[0] == 1) { echo ""; } else { echo '<td width="70" rowspan="2" align="center" valign="top"><table width="70" border="1" cellpadding="0" cellspacing="0" bordercolor="#666666">'; echo '<tr><td>'; echo '<a href="images/events/'.$eimages.'.jpg" target="_blank"><img src="images/events/thumbs/'.$eimages.'.gif" width="60" height="60" border="0"></a>'; echo '</td></tr></table></td>'; }?>
  22. guys, i need help, i dont know how to do this. how will you set your sql query in such a way that i will just show the last 5 data by date. lets say, today is march 7, it will just show the 5 data from march 7 onwards and once the date has expired or when there is no more data to show it will print a comment saying "no current events" need help. thanks!
  23. Ray, Thanks but its still not working. do you think there is something wrong with the variables that i've used this is my sql query ========= <? include 'db_connect.php'; $uSql = "SELECT event_image, event_title, event_description, event_imagelink FROM events WHERE event_type = 'tour' ORDER by event_date DESC"; $uResult = mysql_query($uSql, $connection); if(!$uResult){ echo 'no data found'; } else{ while($uRow = mysql_fetch_row($uResult)){ ?> ============ and this is the script that i used for the image link with the modifications that you suggested ============ <? $eimages = '$uRow[3]'; if ($uRow[0] == 1) { echo ""; } else { echo '<td width="70" rowspan="2" align="center" valign="top"><table width="70" border="1" cellpadding="0" cellspacing="0" bordercolor="#666666">'; echo '<tr><td>'; echo '<a href="images/events/'.$eimages.'.jpg" target="_blank"><img src="images/events/thumbs/'.$eimages.'.gif" width="60" height="60" border="0"></a>'; echo '</td></tr></table></td>'; }?> =========== do you think it has something to do with this variable? $eimages = '$uRow[3]'; the data that should appear on the $eimages will come from the database but with the modification that you suggested, when you click on the imagelink this is the picture link that is showing $uRow[3].jpg =========== any suggestions? thanks in advance!
  24. guys, i need help, kindly check [a href=\"http://www.sinagtala.net/sinag3/eventsmain.php\" target=\"_blank\"]http://www.sinagtala.net/sinag3/eventsmain.php[/a] if you'll notice the Arturo Rocha Memorial Mass there is a dead image link. that's my problem. i'm not sure whats my mistake on my script but what i wanted to happen there is from my script i have the if-else condition wherein if the $uRow[2] ==1 the image table should not appear there. which is happening to the other contents. but if my $uRow[2] is not equal to 1 there should be an image there below is the scrpt that i used for that: =================== <? include 'db_connect.php'; $uSql = "SELECT event_image, event_title, event_description, event_imagelink FROM events WHERE event_type = 'tour' ORDER by event_date DESC"; $uResult = mysql_query($uSql, $connection); if(!$uResult){ echo 'no data found'; } else{ while($uRow = mysql_fetch_row($uResult)){ ?> --------------- <? $eimages = '$uRow[3]'; if ($uRow[0] == 1) { echo ""; } else { echo '<td width="70" rowspan="2" align="center" valign="top"><table width="70" border="1" cellpadding="0" cellspacing="0" bordercolor="#666666">'; echo '<tr><td>'; echo '<a href="images/events/$eimages.jpg" target="_blank"><img src="images/events/thumbs/$eimages.gif" width="60" height="60" border="0"></a>'; echo '</td></tr></table></td>'; }?> ================== hope you guys can help me with this thanks in advance!
  25. guys, kindly check [a href=\"http://www.sinagtala.net/sinag3/submitfeedback.php\" target=\"_blank\"]http://www.sinagtala.net/sinag3/submitfeedback.php[/a] i am having problems with fixing the pulldown menu in the events title section. hope you could help me with it. this is the script that i used for that section ================== <? include 'db_connect.php'; $uSql = "SELECT event_title FROM events ORDER by event_date DESC"; $uResult = mysql_query($uSql, $connection); if(!$uResult){ echo 'no data found'; } else{ while($uRow = mysql_fetch_row($uResult)){ ?> <select name="title" size="1" class="sorteventlist"> <option selected><?= $uRow[3]?></option> <? } } ?> </select> ================== what's wrong with this? thanks in advance!
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.