I already asked this under GENERAL and got no replies.
I have data (text) in a MySQL table and the text contains some PHP code (for calling external URLs). When I output the table entries to HTML, the PHP doesn't, of course, get interpreted. Thus the links don't work.
The solution might be to use ob_start() and shove the table output into the buffer before outputting to HTML. However, the standard setting for output buffering seems to be 4096. I'm told that this means 4096 bytes. This is a very small buffer (slightly less than one A4 page of text). Do I have to repeat the process several times, only allowing 3-4 table rows to be queried at a time and then using ob_end_clean(), repeating continuously until the table is finished, or is there another way round this buffer limit? Perhaps using ob_get_contents() several times and concatenating the variable?
There must be a solution because even relatively short tables are going to contain more than 4096 bytes of data.
The other solution would be to use eval(), but I like the buffering solution if it will work smoothly.
Any advice and explanations gratefully received.
Thanx
Norman