Forum: PHP Jun 11th, 2009 |
| Replies: 8 Views: 643 1.
<?php
2.
$query= mysql_query(" SELECT * FROM office
3.
WHERE officeID='" . $_GET['officeID'] . "'");
4.
5.
... |
Forum: PHP Jun 11th, 2009 |
| Replies: 22 Views: 1,036 tulipputih if your problem is solved then mark this forum as solved. |
Forum: PHP Jun 10th, 2009 |
| Replies: 22 Views: 1,036 it will print the data from the database.
i am sure. |
Forum: PHP Jun 10th, 2009 |
| Replies: 22 Views: 1,036 try this:
while ($row= mysql_fetch_array($result))
{
$lessonID = $row["lessonID"];
$subject = $row["subject"];
$learningArea= $row["learningArea"];
$noofstudent= $row["noofstudents"];... |
Forum: PHP Jun 10th, 2009 |
| Replies: 22 Views: 1,036 I think the problem is here
$myquery = "select * from lesson where subject like '%".$q."%' AND learningArea like '%".$r."%' AND ability like '%".$s."%'";
it should be:
$myquery = "select *... |
Forum: PHP Jun 9th, 2009 |
| Replies: 13 Views: 729 just install wamp server.
its a combination of apache,mysql,php.
very easy to install.
have fun. |
Forum: PHP Jun 8th, 2009 |
| Replies: 9 Views: 418 this seems to very complex
here is the simple solution:
$sql="SELECT *
FROM user as a, resutls as b,excercises as c where a.usr_id= b.res_usr_id and b.res_exc_id=c.exc_id";
i hope it... |
Forum: PHP Jun 1st, 2009 |
| Replies: 4 Views: 546 you can achive this by using explode function
suppose you have info. in array like
$array[0]
now by using explode function:
now $exploded[0] will contain status=1
i hope this helps you. |