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

c++ - C/pp Sockets, recv()/send() works only under gdb -

GO: Serve static pages -

objective c - How to open front/back camera at the same time in iOS developing? -