Senior & Expert PHP Developers Discussion Forum by Nyros Technologies

HIRE PHP Expert Developers Programmers Coders From India
PHP .Net Ruby on Rails Developers Community, Nyros Technologies, Kakinada
 
Log in  or IF not a member please REGISTER
Username:
Password:   


Keyword
Log in | Profile 

content type=text/html and and image/jpeg in same php file?

 
Post new topic   Reply to topic    Senior & Expert PHP Developers Discussion Forum by Nyros Technologies Index -> Google Checkout
View previous topic :: View next topic  
Author Message
Mike



Joined: 20 Feb 2010
Posts: 23

PostPosted: Sat Feb 20, 2010 12:36 pm    Post subject: content type=text/html and and image/jpeg in same php file? Reply with quote

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
Back to top
View user's profile Send private message
AnilKumar



Joined: 09 May 2008
Posts: 197

PostPosted: Mon Feb 22, 2010 5:10 am    Post subject: Reply with quote

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 Razz Razz Razz
Back to top
View user's profile Send private message
Mike



Joined: 20 Feb 2010
Posts: 23

PostPosted: Mon Feb 22, 2010 5:56 am    Post subject: thanks Reply with quote

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
Back to top
View user's profile Send private message
AnilKumar



Joined: 09 May 2008
Posts: 197

PostPosted: Fri Mar 05, 2010 5:16 am    Post subject: Reply with quote

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 Razz Razz Razz
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Senior & Expert PHP Developers Discussion Forum by Nyros Technologies Index -> Google Checkout
Page 1 of 1

 latest topics 
 Topics   Replies   Author   Views   Last Post 
No new posts About foxycart
0 venkatadapa 5 Fri Jul 30, 2010 10:02 am
venkatadapa View latest post
No new posts How to change the mysql storage engine from MyISAM to innodb
1 aababu 10 Fri Jul 30, 2010 9:57 am
venkatadapa View latest post
No new posts How can we increase the execution time of a php script?
0 samir 6 Fri Jul 30, 2010 4:15 am
samir View latest post
No new posts Get no of days between two dates & current dates using M
0 samir 4 Fri Jul 30, 2010 4:09 am
samir View latest post
No new posts What are the different types of errors in php
0 samir 6 Fri Jul 30, 2010 4:00 am
samir View latest post
No new posts How to remove a value in an array using javascript
0 samir 10 Thu Jul 29, 2010 7:27 am
samir View latest post
No new posts Agile methodology plays vital role in software development
0 venkatadapa 7 Thu Jul 29, 2010 7:20 am
venkatadapa View latest post
No new posts How to get complete information about $_SERVER variable
0 Sanjana 15 Wed Jul 28, 2010 6:58 am
Sanjana View latest post
No new posts DNL Reader for php website
0 Mike 22 Mon Jul 26, 2010 12:33 pm
Mike View latest post
No new posts Use mysql_real_escape_string() function to avoid mysql injec
0 venkatadapa 26 Mon Jul 26, 2010 11:05 am
venkatadapa View latest post





Hire an expert PHP developer / coder / programmer or development team from India now!!

Other Forums : Ruby on Rails   ::   .Net   |   Free unlimited HTML CSS Joomla Wordpress Drupal templates download

Nyros Technologies   |   Developers Blog   |   Kakinada City Portal   |   About PHP Experts   |   More