Problems with creating a list in PHP -


can tell me what's wrong list? it's first time creating list in php , error came when running it. error said:

"parse error: syntax error, unexpected 'col' (t_string), expecting ')' in /applications/xampp/xamppfiles/htdocs/pinder/cms/event.php on line 410"

i want able have 2 containers gap between them. why i've went col-md 6,2,6.

here code:

// list       echo_lines(array(         "<ul>",          "<div="col-md-6">""</div>",         "<div="col-md-2">""</div>",         "<div="col-md-6">""</div>",         "</ul>",       )); 

you have escape double quotes in code (also note dots . concatenate string):

// list       echo_lines(array(         "<ul>",          "<div class=\"col-md-6\">" . "</div>",         "<div class=\"col-md-2\">" . "</div>",         "<div class=\"col-md-6\">" . "</div>",         "</ul>",       )); 

as can see, have added class in front of equal-sign... think missed 1 well...


Comments

Popular posts from this blog

ruby on rails - RuntimeError: Circular dependency detected while autoloading constant - ActiveAdmin.register Role -

c++ - OpenMP unpredictable overhead -

javascript - Wordpress slider, not displayed 100% width -