Panjabel Posted July 7, 2007 Share Posted July 7, 2007 Hello what's wrong here: print ':\">'; i want output: :"> please help Link to comment https://forums.phpfreaks.com/topic/58808-how-to-print-in-php/ Share on other sites More sharing options...
pocobueno1388 Posted July 7, 2007 Share Posted July 7, 2007 Do you have your PHP tags? Also, you need the file to have a .php extension. <?php print ':\">'; ?> What is the code doing? Is it showing a blank screen, or what? You need to give more information. Link to comment https://forums.phpfreaks.com/topic/58808-how-to-print-in-php/#findComment-291779 Share on other sites More sharing options...
GingerRobot Posted July 7, 2007 Share Posted July 7, 2007 Im guessing its printing: :\"> You only need to escape quotes if they are the same type as used to open and close the string. So either use: <?php print ':">'; ?> or <?php print ":\">"; ?> Link to comment https://forums.phpfreaks.com/topic/58808-how-to-print-in-php/#findComment-291781 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.