No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
17 Posted Topics
[ICODE]<html xmlns="http://www.w3.org/1999/xhtml" > <head> <title>PicNet Table Filter Demo</title> <script src="http://ajax.microsoft.com/ajax/jquery/jquery-1.3.2.min.js" type="text/javascript"></script> <script type="text/javascript" src="picnet.table.filter.min.js"></script> <script type="text/javascript"> $(document).ready(function() { // Randomly Create Data Rows for (var i = 0; i < 50; i++) { var tr = $("<tr>" + "<td>Value" + Math.floor(Math.random() * 500) + "</td>" + "<td>" + Math.floor(Math.random() * … ![]() | |
Hi all, i wonder is it possible to display my images from database into table with 4 rows and 4 column? How can i do that? [CODE] $dbConn = mysqli_connect(DBSERVER, DBUSER, DBPASS, DBNAME) or die(mysqli_connect_error()); $sql = "select * from products"; $result = mysqli_query($dbConn, $sql) or die(mysqli_error($dbConn)); echo "<table border … | |
Hi all, how do i compare one date with a list of array which consist of date? [ICODE] $date = 1990-12-3 $viewSchedule = "select * from schedule where id_user = '$idHairstlylist'"; $scheduleResult = mysqli_query($dbConn,$viewSchedule) or die(mysqli_error($dbConn)); while ($row1 = mysqli_fetch_array($scheduleResult)){ for($j=1;$j<=4;$j++){ $day[$j] = $row1['od_week'.$j]; if ($day[$j]!= $date){ echo 'hi'; } … | |
Hi all, by using form and post method in my program. It seems like my values of calendar are not able to insert into my database. I'm using jquery's datepicker and php to code. Please advice. Thanks | |
Hi. I have question regarding jquery. I would like to know is it possible to put two href into one therefore i can use two different css for one jquery? [CODE] <link type="text/css" href="css/ui-lightness/jquery-ui-1.8.6.custom.css" rel="stylesheet" /> <script type="text/javascript" src="js/jquery-1.4.2.min.js"></script> <script type="text/javascript" src="js/jquery-ui-1.8.6.custom.min.js"></script> <link rel='stylesheet' type='text/css' href='../fullcalendar/fullcalendar.css' /> <script type='text/javascript' src='../jquery/jquery-1.4.4.min.js'></script> … | |
Hi all, Im currently working on a project that requires me to use jquery that i have never learnt before. I have downloaded the library online. How can i change the datepicker calendar to able to select multiple date at one time? | |
Hi! i have problems one query. $day_result has a value of 1 and 4 $sql3 = "Select * from Venue where idVenue != $day_result"; echo $sql3; if i use for loop for the above it will give the result below Select * from Venue where idVenue != 1 Select * … | |
Hi! i have problems one query. $day_result has a value of 1 and 4 $sql3 = "Select * from Venue where idVenue != $day_result"; echo $sql3; if i use for loop for the above it will give the result below Select * from Venue where idVenue != 1 Select * … | |
Hi! is it possible to put a do while loop in a do while loop? For eg: DO{ CODES DO{ } while } while | |
Hi, i have problem regarding my code. I using alot of for loop and while loop. However, its been to be one of the while loop is hindering the first loop. Here my code. [CODE]Do{ //assigned day 1-9 for ($i=1; $i<=9; $i++){ echo '<option>Hi</option>'; if($assigned_venue['day0'.$i] != ''){ $assigned_date[$i] = $assigned_venue['day0'.$i]; … | |
Hi all, I having this error "Parse error: syntax error, unexpected T_VARIABLE in C:\xampp\htdocs\FYP\assign_venueTest.php on line 104" in my code. I cant find where does my code went wrong. Need you guys to help me out. [CODE] <?php $class_id = $_GET['id']; $HOST = 'localhost'; $USERNAME = 'root'; $PASSWORD = ''; … | |
Hi all, I've errors in my code and i'm unsure whether the way i loop is in a correct method. Pls give me some guidance as it is very important to me. Thank! Error i got-> Fatal error: Maximum execution time of 60 seconds exceeded in C:\xampp\htdocs\FYP\assign_venueTest.php on line 118 … | |
[CODE]<link rel="STYLESHEET" type="text/css" href="styles/calendar.css"> <script language="JavaScript" src="javascript/simplecalendar.js" type="text/javascript"></script> <script type = 'text/javascript'> function insCell() { var x=document.getElementById('tr1').insertCell(1); var y=document.getElementById('tr2').insertCell(1); x.innerHTML= 'Day 1'; y.innerHTML='<input type = "text" name = "day"><img src="images/calendar.gif" name="imgCalendar" width="34" height="21" border="0" alt="">[COLOR="Red"]<a href="javascript: void(0);" onmouseover="if (timeoutId) clearTimeout(timeoutId);window.status='Show Calendar';return true;" onmouseout="if (timeoutDelay) calendarTimeout();window.status='';" onclick="g_Calendar.show(event,'frm.day',true,'yyyy-mm-dd'); return false;">[/COLOR]</a> '; } … | |
Hi all, I'm down with a question. How do i add in a javascript function into another function? For eg. I have a button that enable me to create a new table on the page. when the table is created, there is input of text with calendar function. Is it … | |
Hi all, i have difficulties in appending my sql query in php. Need some of your help to guide me along. Tell me where does my code goes who. Thanks. for ($i = 1; $i<=$dayc; $i++){ $daya[] = $_POST['day'.$i]; } $link = mysqli_connect($HOST,$USERNAME,$PASSWORD,$DB); $query = "UPDATE class SET Time_Slot_idTime_Slot = … | |
Hi. I want to know that is there any js that enable to create table in php? Such as <table border=1> <tr> <th>Name</th> </tr> <tr> <td>Gene</td> </tr> </table> I want something like just click upon a button, a new table above will shown on the page. Your help is greatly … | |
Hi all! I'm not a very good coder and i'm down here with a question for you all. Firstly, is it possible to code php within javascript? How? function confirmation() { var answer = confirm("Delete class?") if (answer){ window.location = "deleteClass.php?id=<?php echo $row['idClass'];?>"; } else{ alert("Delete unsuccessful!") } } i'm … ![]() |
The End.