Ignore/skip weekends with strtotime
I'm using strtotime within a while statment to automatically update entries in a database. 

It adds on an amount of days depending on what the user has stated in the previous page. 

Using this code:

		$calendardate = strtotime ( '+'.$calendarday.' day' , strtotime ( $date ) ) ;
		$calendardate = date ( 'Y-m-d' , $calendardate );

How can I get it to skip weekends? I need to use the same variable ($calendardate) but I need it to ignore Saturdays and Sundays. 

Any help is most appreciated :)
Ignore/skip weekends with strtotime
===

I'm using strtotime within a while statment to automatically update entries in a database. 

It adds on an amount of days depending on what the user has stated in the previous page. 

Using this code:

		$calendardate = strtotime ( '+'.$calendarday.' day' , strtotime ( $date ) ) ;
		$calendardate = date ( 'Y-m-d' , $calendardate );

How can I get it to skip weekends? I need to use the same variable ($calendardate) but I need it to ignore Saturdays and Sundays. 

Any help is most appreciated :)