saeed_violinist Posted November 23, 2006 Share Posted November 23, 2006 Dear friends,Is there a way to set the direction of page from left to right (ltr) to right to left? I mean something instead of using :[code]<html dir=rtl><body><phpblah blah blah?></body></html>[/code]I mean I want to start my pages directly by <php and not use <html> at any cost! and have a right to left page...thanks Link to comment https://forums.phpfreaks.com/topic/28267-changing-page-direction-by-php/ Share on other sites More sharing options...
trq Posted November 23, 2006 Share Posted November 23, 2006 [quote]I mean I want to start my pages directly by <php and not use <html> at any cost![/quote]If your making webpages you need html. It is THE markup language of the web, php just outputs strings, and yes, they can be html.[code]<?php echo "<html dir=rtl><body>blah blah blah</body></html>";?>[/code] Link to comment https://forums.phpfreaks.com/topic/28267-changing-page-direction-by-php/#findComment-129277 Share on other sites More sharing options...
saeed_violinist Posted November 23, 2006 Author Share Posted November 23, 2006 thanks... I get what you said!I learned a lot after reading php theme and templating in the tutorials...I can now easily use include header and footer for the HTML job.thanks again Link to comment https://forums.phpfreaks.com/topic/28267-changing-page-direction-by-php/#findComment-129293 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.