when a programmer saw my code in php and css.. he said that i should separate my codes..
and i dont understand what he was trying to tell me..he said it’s a wrong practice embedding the html/css tags in my php code.
i really wanted to learn and improve my code in a professional way , good practice.
can somebody help me…. thanks
he might have meant to use the php tags
Create your nav as normal html
and save it as nav.php.inc
Then in your html page, where ever you want it to appear
Obviously you would save your html page with the .php extension. eg. index.php
You must be logged in to reply to this topic.
*May or may not contain any actual "CSS" or "Tricks".