Outputs a string without encoding.
p-out outputs a string expression given by <string>, without any encoding (meaning a string is output exactly as it appears). The string is sent to a client that made the request. If this is within write-string
, then <string> is output into the buffer that builds a new string.
To output data verbatim to a client:
char *mydata="Hello world";
Writing to client, outputting text followed by a horizontal rule - the text is output to a client (such as browser) as it is, and the browser will interpret tags "<br/>"
as a line break and a horizonal line and display them as such:
p-out "This is a non-encoded output<br/>"
Create a query text string by means of write-string
void get_table_data (const char *table_name)
write-string define qry_txt
@select * from <<p-out table_name>>