Search Results

Showing results 1 to 8 of 8
Search took 0.01 seconds.
Search: Posts Made By: navi17
Forum: PHP Jun 11th, 2009
Replies: 8
Views: 643
Posted By navi17
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
Posted By navi17
tulipputih if your problem is solved then mark this forum as solved.
Forum: PHP Jun 10th, 2009
Replies: 22
Views: 1,036
Posted By navi17
it will print the data from the database.
i am sure.
Forum: PHP Jun 10th, 2009
Replies: 22
Views: 1,036
Posted By navi17
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
Posted By navi17
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
Solved: Basic question
Views: 729
Posted By navi17
just install wamp server.

its a combination of apache,mysql,php.
very easy to install.

have fun.
Forum: PHP Jun 8th, 2009
Replies: 9
Solved: Join 3 tables
Views: 418
Posted By navi17
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
Posted By navi17
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.
Showing results 1 to 8 of 8

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC