Search Results

Showing results 1 to 9 of 9
Search took 0.01 seconds.
Search: Posts Made By: fert
Forum: PHP Mar 6th, 2008
Replies: 4
Views: 1,007
Posted By fert
Use the date() function: http://php.net/date


$time = time();
$date = date('d-m-L H:i:s' , $time);

echo $date; // 03-05-2008 18:05:44
Forum: PHP Mar 5th, 2008
Replies: 4
Views: 925
Posted By fert
The chances are quite good they already configured the server for you, so you can simply send a mail.
HAve a look at this function to send an email; http://www.php.net/manual/en/function.mail.php
...
Forum: JavaScript / DHTML / AJAX Feb 29th, 2008
Replies: 9
Views: 7,689
Posted By fert
Shortened..

field2.style.backgroundColor = (field2.checked == 1) ? "red" : "white";
Forum: PHP Feb 27th, 2008
Replies: 2
Views: 2,040
Posted By fert
You can simply use the function time().

<?php
//connect to database. Username and password need to be changed
mysql_connect("**************", "**********", "**************");

//Select...
Forum: JavaScript / DHTML / AJAX Feb 27th, 2008
Replies: 9
Views: 7,689
Posted By fert
Try this:
var filled = document.getElementById("one");
filled.style.background = "red";
Forum: PHP Feb 27th, 2008
Replies: 4
Views: 546
Posted By fert
Try adding this small feature, just to check if the page number isn't already zero.

$limit = 'LIMIT' . (($pageno == 0) ? '0' : ($pageno-1)*$rows_per_page) . ',' . $rows_per_page;


It could be...
Forum: PHP Feb 27th, 2008
Replies: 7
Views: 882
Posted By fert
When displaying things such as large images or content, use a CSS stylesheet and set them to a percentage, instead of a static pixel width.


img {
width: 40%;
}
Forum: PHP Feb 26th, 2008
Replies: 8
Views: 844
Posted By fert
I shall think it depends from person to person.
I like to use Zend when creating applications, or projects larger than a few scripts.
The syntax highligher is quite good, but then again, you can...
Forum: PHP Feb 26th, 2008
Replies: 8
Views: 565
Posted By fert
You need to configure php to be able to send emails.
You would also need a aditional program to send emails, and configure php to use that aditional program.

Read about it here:...
Showing results 1 to 9 of 9

 


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

©2003 - 2009 DaniWeb® LLC