Dear, I'm Trying tO Set A Syntax, But I Can't, Look, In This $Page1h = "<H3>Some Thing</H3>"; $Page1p = "Some Thing"; I Want tO Add A Syntax Like $PageNum = "1"; In This $Page<?php echo $PageNum ;?>h = "<H3>Some Thing</H3>"; $Page<?php echo $PageNum ;?>p = "Some Thing"; But Found A Syntax Error, Please Help Me tO Correct It Please ..
to fix that you have to define variable name like this ${'page'.'$PageNum' .'h'} now this variable and it's output like echo $Page1h; // Some Thing
You cannot post a same thread twice. https://forums.digitalpoint.com/threads/parse-error-syntax-error-unexpected-t_constant_encapsed_string-in.2629306/ Reported