i am using php to get the result from the database. In database i have c code with lots of enter and tabs for better understanding.
#include<stdio.h>
main()
{
printf("Hello World");
}
But the problem is in output i am getting output in a single line when i print it.
#include main() { printf("Hello World"); }
How can i produce the output with proper formating as stored in db.