how to get list of date and name of day between two dates using php


I got out put like following,I don't know how to get this please help me

Thursday 2013-05-02 Friday 2013-05-03 Saturday 2013-05-04 Sunday 2013-05-05 Monday 2013-05-06


$start    = new DateTime('2013-5-02');
$end      = new DateTime('2013-6-02');
$interval = DateInterval::createFromDateString('1 day');
$period   = new DatePeriod($start, $interval, $end);

foreach ($period as $dt)
    echo $dt->format("l Y-m-d");
    echo "<br>";

Note[it's support only Above 5.3.0 php version]

Need Your Help

How to programmatically store (save) SMTP server details back to web.config web-config

Searching StackOverflow, I found this question on how to Retrieve SMTP settings from Web.Config, but no details on how to update the SMTP back to the web.config file.

Apache VirtualHost ignored

apache virtualhost

I have two vhost files in my sites-enabled:

fetching multiple result sets from mysql stored procedure in rails

mysql ruby-on-rails ruby stored-procedures ruby-on-rails-3

I've been searching all over for tips on this and have not really had any luck so far. With the mysql2 gem, trying to execute a stored procedure that returns multiple result sets gives me an unable...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.