Search for:
Jump to: 
Your Ad Here
Post new topic Reply to topic
Author Message
 Post subject: content type=text/html and and image/jpeg in same php file?
PostPosted: Sat Feb 20, 2010 12:36 pm 
Offline

Joined: Sat Feb 20, 2010 6:30 am
Posts: 27
Hi

my question is how to organize more content type in the same php file?

i have a php file which displays some inventory values from mysql. i need to display the barchart for that values after that in the same file.


here i set the content type=image/jpeg for display the barchart.but its not working.when i put ob_start() no use.when i used ob_flush means only the barchart is display other templates and designs are gone.


Regards
Mike


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 22, 2010 5:10 am 
Offline

Joined: Fri May 09, 2008 4:10 am
Posts: 229
Hello Mike,

Once you try with in php file write your own code and when want to display the barchart then include that file there. it will be displayed. here we do like that. in this site we implemented captcha code image,

Once try with that, hope that we will find the solution for it.


Thank you,

Anil Kumar :P :P :P


Top
 Profile  
 
 Post subject: thanks
PostPosted: Mon Feb 22, 2010 5:56 am 
Offline

Joined: Sat Feb 20, 2010 6:30 am
Posts: 27
Hi,

Thanks a lot Anil. when i call the dispaly.php page means it will display all the content in table. after that i want to display a barchart in another table for that values.both are display at the same time.


Regards
Mike


Top
 Profile  
 
 Post subject:
PostPosted: Fri Mar 05, 2010 5:16 am 
Offline

Joined: Fri May 09, 2008 4:10 am
Posts: 229
Hi Mike,

There may one solution is that the data from one file and that bar chart from another table., or else once call that display.php with some modified url like
display.php?type=data for retrieving data and display.php?type=image for barcharts.

Hope it will be useful.


Thank you,

Anil Kumar :P :P :P


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic    [ 4 posts ] 

1, 2, 3, 4, 5 ... 413
Recent topics  Replies   Views   Last post 
No new posts Jquery ajax Pagination using php

by rajkumar » Tue Apr 19, 2011 11:14 am in Coding Repository

8

17592

Mon May 20, 2013 2:46 am

gfsdfg View the latest post

No new posts Ecommerce website development and website Design

by iweballey » Fri May 17, 2013 7:15 am in PHP-Code Help

0

171

Fri May 17, 2013 7:15 am

iweballey View the latest post

No new posts How to upgrade and migrate Joomal site

by mallikharjuna rao » Mon Jan 21, 2013 1:40 pm in Joomla

1

348

Thu May 16, 2013 9:53 am

sunitha12 View the latest post

No new posts Benefits of PHP

by hirephpexpert » Fri Sep 07, 2012 4:41 am in CakePHP

6

1582

Wed May 15, 2013 6:25 am

PrettyPrincesG View the latest post

No new posts How to stop user from getting registered in Joomla

by mallikharjuna rao » Tue Jan 22, 2013 5:16 am in Joomla

3

1501

Wed May 15, 2013 6:17 am

PrettyPrincesG View the latest post


Your Ad Here