Mombu the Php Forum sponsored links

Go Back   Mombu the Php Forum > Php > buffering code with db connection
User Name
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
1 8th February 12:54
raj
External User
 
Posts: 1
Default buffering code with db connection


Hi,

I have a db connect script running in an include file with buffering. Does
anyone know if there are restrictions for this? It seems to work with a
smaller amount of code to be buffered. Is there some sort of limit for
buffering (i.e using ob_start () ... ob_end_flush()). The thing is,
everything else seems to work. Why does the db connect script not work?

Thanks,

Raj
  Reply With Quote


  sponsored links


2 8th February 12:55
janwillem borleffs
External User
 
Posts: 1
Default buffering code with db connection


When your code is structured like:

ob_start();
// DB and related stuff
ob_end_flush();

I see no reason why it shouldn't work. Check your error level and produced
messages (if any) and post a couple of lines of relevant code if you need
more help.


JW
  Reply With Quote
Reply


Thread Tools
Display Modes




Copyright 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666