DjMikeWatt Posted August 2, 2009 Share Posted August 2, 2009 I have: embed src="video/<?php echo (date(Y).'/'.date(F).'/'date(Y).'_'.date(F).'_'.$row_rs_video['account_id'].'_v'.$v.'.mov') ;?>" Where, $v is set earlier in the page and is either '1' or '2'. The $row_rs_video['account_id'] contains a numeric id from the DB. What I'm hoping to get is something like this: embed src="video/2009/August/2009_August_8_v2.mov The reason I'm posting is because I'm getting an "unexpected T_STRING" error on this line of code returned from the server when I run the page... Link to comment https://forums.phpfreaks.com/topic/168552-solved-is-there-anything-wrong-with-this-string/ Share on other sites More sharing options...
DjMikeWatt Posted August 2, 2009 Author Share Posted August 2, 2009 Sorry for the wasted post... I just saw my typo... no dot before the second "date(Y)". Solved! Link to comment https://forums.phpfreaks.com/topic/168552-solved-is-there-anything-wrong-with-this-string/#findComment-889123 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.