ob_start() prevents form from displaying.
Last post was 29 Oct 2008 at 19:19
php
, html
United Kingdom
-
I am having a problem using output buffering. If I use ob_start() before a form the form does not display, but if I remark the ob_start() line out, the form displays correctly. Can anyone explain why?Sorry guys, I don't understand why but when I pasted my code into this request, everything after the line was removed ( a bit like my form dissapears also). Here is the rest of the code after the offending line.I'll try the code againHi Guys, in a moment of inspiration I realised why the code did not work. The script I had downloaded did not echo the form after the ob_get_clean(); function. After getting the object and saving it as $form I then needed to echo the form using echo"$form"; very simple really.
Post a reply
PHP forum discussion
-
An Introduction to PHP
by dtripathi882 (9 replies)
-
Accessing COM objects from PHP
by huang123456 (2 replies)
-
Determine execution time in PHP
by q5251355 (3 replies)
-
Sending Multiple ListBox Selection to PHP
by cnrez (6 replies)
-
struct (turbo c ) = class (php) ?
by susikta (9 replies)
Quick links
Recent activity
- arif ahmad replied to How to receive data in web ...
- William Thompson replied to What is the name of the Win...
- Sameera Piyadigamage replied to Point of Sale Developers: H...
- Scott Carline replied to 4 x C# Developers for large...
- Rajendra Dhakal replied to Restore SQL Server text dat...
- cloud rainda replied to How to convert between TS f...
Contribute
Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!
Web Development
Developer Jobs
Our tools
We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.
“It is practically impossible to teach good programming style to students that have had prior exposure to BASIC. As potential programmers, they are mentally mutilated beyond hope of regeneration.” - E. W. Dijkstra
Enter your message below
Sign in or Join us (it's free).