Kairu Posted January 1, 2007 Share Posted January 1, 2007 Um.... Is their any reason that can be seen that would prevent something like this from working?$output = "<option selected value=\"b\">" . format_time(NOW()) . "</option>";echo $output;Actoually this wont work either.....$output = "<option selected value=\"b\">" . NOW() . "</option>";echo $output;But this works....$output = "<option selected value=\"b\">None</option>";echo $output;They just.... I dunno. They don't output errors or anything, they (Timestamp and formatted timestamp) just.... prevent $output from echoing..... at all.Other things will output. If it's needed I'll provide the code, but it's quite huge. (19+KB) Link to comment https://forums.phpfreaks.com/topic/32425-solved-string-indiscrepencies-hard-to-explain-in-topic/ Share on other sites More sharing options...
Kairu Posted January 1, 2007 Author Share Posted January 1, 2007 I should mention that I can output the functions by themselves..... and that in he actual code, the variable is holding much more data.... Link to comment https://forums.phpfreaks.com/topic/32425-solved-string-indiscrepencies-hard-to-explain-in-topic/#findComment-150631 Share on other sites More sharing options...
fert Posted January 1, 2007 Share Posted January 1, 2007 I don't think NOW() is a php function it's a mysql function Link to comment https://forums.phpfreaks.com/topic/32425-solved-string-indiscrepencies-hard-to-explain-in-topic/#findComment-150641 Share on other sites More sharing options...
Kairu Posted January 1, 2007 Author Share Posted January 1, 2007 Oh.... Well that could be the problem couldn't it.... Thank you! Link to comment https://forums.phpfreaks.com/topic/32425-solved-string-indiscrepencies-hard-to-explain-in-topic/#findComment-150644 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.