Search Results

Showing results 1 to 6 of 6
Search took 0.01 seconds.
Search: Posts Made By: Gary King ; Forum: PHP and child forums
Forum: PHP Nov 13th, 2005
Replies: 2
Solved: Php With Time
Views: 1,881
Posted By Gary King
You don't have to get really advanced to get the time :) There is already a built-in function for that that can do all of that in one line.


if (date('A') == 'AM')
{
// it is AM
}
else
{
...
Forum: PHP Nov 13th, 2005
Replies: 2
Views: 3,182
Posted By Gary King
http://ca3.php.net/manual/en/function.asort.php
Forum: PHP May 6th, 2005
Replies: 5
Views: 2,484
Posted By Gary King
So how about using 'elseif'?

Such as :

if ($choice=="staff publications"){

$query="SELECT * FROM staffpub WHERE match (authors, title, source, keywords, mesh, year, notes) against ('$name'...
Forum: PHP May 6th, 2005
Replies: 5
Views: 2,484
Posted By Gary King
Your code was missing some quotations as well, so I took the liberty to add them in. You probably just didn't copy and paste the text, right? :)
Forum: PHP May 6th, 2005
Replies: 5
Views: 2,484
Posted By Gary King
Please use [php] tags next time. I have formatted your post.
Forum: PHP Sep 30th, 2004
Replies: 3
Views: 2,327
Posted By Gary King
Please show a screenshot - a picture is worth a thousand words.
Showing results 1 to 6 of 6

 


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

©2003 - 2009 DaniWeb® LLC