Is there any line continuation character (& _) available in PHP? -


I am working with PHP in long queries, so that I have to write it on several lines, but I do not know if The character of any of their line continuity is available in PHP.

I made the following available in VB.NET :

  sql = "stock, strait, pret, taxp," & amp; _ "Iname, suplier, IoCode from the stock where iname = '' & item_name. Text &" '"& Amp; _" and suplier =' '& amp; Suplier.Text & amp;  

Whether line continuity

In PHP, once you do not close the quote, you can write your code on several lines. Example:

  $ sql = "From the stock, where select stocks, strands, pret, taxp, enum, supplier, iocid, where ultimate = ''. $ Item_name. '' And supari = ''. $ Better. ''; Mysql_query ($ SQL);  

Comments

Popular posts from this blog

java - org.apache.http.ProtocolException: Target host is not specified -

java - Gradle dependencies: compile project by relative path -

ruby on rails - Object doesn't support #inspect when used with .include -