Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

~14.8K People Reached
Favorite Forums
Favorite Tags
Member Avatar for SoMa_2

I want to display images based on what user checked from number of checkboxs. I'm trying this code, but it not working <!Doctype html> <html><body> <form method="post" action="" id="myForm"> <div class="opt-first"> <h1><b>Subject</b></h1> <input type="checkbox" value="Account/Finance" name="subject[]" /> Account/Finance<br /> <input type="checkbox" value="Marketing" name="subject[]" /> Marketing<br /> <input type="checkbox" value="" name="subject[]" …

Member Avatar for diafol
0
1K
Member Avatar for SoMa_2

this code will display all courses user has <h1>YOUR COURSES</h1> <form action="delete.php" method="POST"><ol> <?php $con=mysqli_connect("localhost","FYP","123","FYP"); $sql= mysqli_query($con, "SELECT C_Code FROM F_COURSES WHERE F_ID=".$_SESSION['userid']); while($row = mysqli_fetch_array($sql)){ echo "<li name='course'>".$row['C_Code']."<input type='submit' value='Delete'>";} ?></ol></form> I need when user click on delete button that course delete from F_courses <?php session_start(); if (! empty($_SESSION['logged_in'])) …

Member Avatar for broj1
0
377
Member Avatar for SoMa_2

I'm trying to addrow onclick button, and I need that new row would have the diffrent ids for "keyword" and "chapter" so I can pass the values of these two field in CLO(key, chap) I can only call the CLO() function in orginal row I need to be able to …

Member Avatar for lps
0
10K
Member Avatar for SoMa_2

I'm trying to determine the value of $level based on the keyword user provide using If statement but whatever was the user entry the value of $level always giving as 1 this is my code I need your help to find the error <?php $q1 = $_GET['q1']; $con = mysqli_connect("localhost","FYP","123","FYP"); …

Member Avatar for coreyavis
0
189
Member Avatar for SoMa_2

I have this code to add row to my table function addRow(tableID){ var table=document.getElementById(tableID); var rowCount=table.rows.length; var row=table.insertRow(rowCount); var colCount=table.rows[0].cells.length; var cell1=row.insertCell(0); cell1.innerHTML= rowCount+1; for(var i=0;i<colCount;i++){ var newcell=row.insertCell(i+1); newcell.innerHTML=table.rows[0].cells[i+1].innerHTML; }} and this for AJAX function function CLO() { var a=document.getElementById("keyword").value; var b=document.getElementById("chapter").value; if (a == ""&& b == "") { …

Member Avatar for lps
0
370
Member Avatar for SoMa_2

I'm trying to do something like this $level=0; if($a=="x"){ $level=1; } Else{ $level=2;} How I can use the new value of $level outside the scope of IF Statement

Member Avatar for cereal
0
151
Member Avatar for SoMa_2

I have images generated by while loop php based on how many course user have when user press on one of those images it will send him to that course page but all images send to one course page this my php code in** home page ** <?php $con=mysqli_connect("localhost","FYP","123","FYP"); $sql= …

Member Avatar for diafol
0
2K
Member Avatar for SoMa_2

I'm trying to create a webpage to help teacher determine CLO and PLO for exam questions First user will type the keyword in text box and select the chapter CLO() function will start the AJAX the result should be a CLO Number in CLO column and PLO options in PLO …

Member Avatar for asgs
0
354