Crew-Portal Posted August 2, 2007 Share Posted August 2, 2007 Hi I would like to understand exactly how echo works. You can echo 'Hello'; To display text echo $varib; To display variables echo 'hello' . $variable; Do display text and variable. So is there anything else you can do with echo to make mysql run easier? (Well not run but be easier to script?) Quote Link to comment https://forums.phpfreaks.com/topic/62989-need-help-with-echo/ Share on other sites More sharing options...
Philip Posted August 2, 2007 Share Posted August 2, 2007 You named the 3 things echo does: prints strings, variables and a combo of both. Was there something else you were wanting it to do? Quote Link to comment https://forums.phpfreaks.com/topic/62989-need-help-with-echo/#findComment-313683 Share on other sites More sharing options...
clearstatcache Posted August 2, 2007 Share Posted August 2, 2007 echo is fro printing only..... Quote Link to comment https://forums.phpfreaks.com/topic/62989-need-help-with-echo/#findComment-313696 Share on other sites More sharing options...
Crew-Portal Posted August 2, 2007 Author Share Posted August 2, 2007 Is it possible to display your querys using echo while the script is doing them for example if the $sql makes a database with 1000 tables could it show Creating Database %dbname% ... %percentage% ? Quote Link to comment https://forums.phpfreaks.com/topic/62989-need-help-with-echo/#findComment-313705 Share on other sites More sharing options...
trq Posted August 2, 2007 Share Posted August 2, 2007 Is it possible to display your querys using echo while the script is doing them for example if the $sql makes a database with 1000 tables could it show Creating Database %dbname% ... %percentage% ? Without some Ajax trickery not really. HTTP doesn't work like that. Quote Link to comment https://forums.phpfreaks.com/topic/62989-need-help-with-echo/#findComment-313727 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.