Re: [php-list] Problem with image+MySql+php

2007-10-04 Thread raquibul islam
- Be a better Globetrotter. Get better travel answers from someone who knows. Yahoo! Answers - Check it out. [Non-text portions of this message have been removed]

Re: [php-list] Problem with image+MySql+php

2007-10-04 Thread Bob
- Original Message - From: "raquibul islam" > Thanks bob it work.but still 1 problem. > $query = "SELECT image, image_type FROM $tbl_name WHERE image_id=".$_GE[i]; > this line dosent work. > so i put $query = "SELECT image, image_type FROM $tbl_name WHERE image_id=X"; > line where X=1,2,3

Re: [php-list] Problem with image+MySql+php

2007-10-03 Thread raquibul islam
Thanks bob it work.but still 1 problem. $query = "SELECT image, image_type FROM $tbl_name WHERE image_id=".$_GE[i]; this line dosent work. so i put $query = "SELECT image, image_type FROM $tbl_name WHERE image_id=X"; line where X=1,2,3,4.. - Take th

Re: [php-list] Problem with image+MySql+php

2007-10-03 Thread Bob
- Original Message - From: "raquibul islam" > Output > > Found 'image' database > Attempting to create new 'images' table > > Table 'images' already exists (with 5 items) I just wanted to see if you had actually created a database with a table in it, and it had something in it. This s

Re: [php-list] Problem with image+MySql+php

2007-10-03 Thread raquibul islam
Output Found 'image' database Attempting to create new 'images' table Table 'images' already exists (with 5 items) - Building a website is a piece of cake. Yahoo! Small Business gives you all the tools to get online. [Non-text portions of this message hav

Re: [php-list] Problem with image+MySql+php

2007-10-03 Thread Bob
- Original Message - From: "raquibul islam" >I use PHP designer-2007 professional .Its color editor. When i copy the code >and past in mail the the space generated automatically.Just i'va problem to >view image.Please help me. Run this program locally in your XAMPP and see what it dis

Re: [php-list] Problem with image+MySql+php

2007-10-02 Thread raquibul islam
I use PHP designer-2007 professional .Its color editor. When i copy the code and past in mail the the space generated automatically.Just i'va problem to view image.Please help me. - Pinpoint customers who are looking for what you sell. [Non-text portio

Re: [php-list] Problem with image+MySql+php

2007-10-02 Thread Bob
Hi Raquibul, - Original Message - From: "raquibul islam" > Hey bob thanks for ur help > But still stuck in it > > and HTML file name show.htm > > "http://www.w3. org/TR/xhtml1/ DTD/xhtml1- transitional. dtd"> > http://www.w3. org/1999/ xhtml" xml:lang="en" lang="en"> > > Test > >

Re: [php-list] Problem with image+MySql+php

2007-10-02 Thread James Keeline
--- raquibul islam <[EMAIL PROTECTED]> wrote: > Hey bob thanks for ur help > But still stuck in it > > 2nd file.I named it image.php > > header("Content- type: $image[1]"); No space between dash and "type": header("Content-type: $image[1]"); Also, system may get confused with array in quote

Re: [php-list] Problem with image+MySql+php

2007-10-02 Thread raquibul islam
Hey bob thanks for ur help But still stuck in it 2nd file.I named it image.php and HTML file name show.htm http://www.w3. org/TR/xhtml1/ DTD/xhtml1- transitional. dtd"> http://www.w3. org/1999/ xhtml" xml:lang="en" lang="en"> Test and the out put is --->Image description (no image)

Re: [php-list] Problem with image+MySql+php

2007-10-02 Thread Bob
Hi Raquibul, - Original Message - From: "raquibul islam" > Bob here is the 1st file i change. > > > > > $dbhost='localhost'; > $dbuser='root'; > $dbpass='123456'; > $dbname='image'; > $tbl_name='images'; > $conn=mysql_connect($dbhost,$dbuser,$dbpass) or die ('Error in Connecting to

Re: [php-list] Problem with image+MySql+php

2007-10-02 Thread raquibul islam
Thanks . Both code seems to me same but this one works.but after submit Error-->Warning: require(C:/Program Files/xampp/htdocs/cgi-bin/open_your_database.php) [function.require]: failed to open stream: No such file or directory in C:\Program Files\xampp\htdocs\pic\index.php on line 6 Fatal

Re: [php-list] Problem with image+MySql+php

2007-10-02 Thread raquibul islam
Bob here is the 1st file i change. Image No: ' . mysql_insert_ id() . ' has been stored'; (Error in Browser-->Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in C:\Program Files\xampp\htdocs\pic\index.php on line 20) else echo 'Image could not be stored ' . mysql_error(

Re: [php-list] Problem with image+MySql+php

2007-10-02 Thread Pete
In message <[EMAIL PROTECTED]>, raquibul islam <[EMAIL PROTECTED]> writes >First one.Can i get any ons IM ? Sending messages via IM, means that other people cannot learn. I have sent you, privately, the first file - it works for me, as far as it goes. No error messages such as you mentioned - I

Re: [php-list] Problem with image+MySql+php

2007-10-02 Thread Bob
- Original Message - From: "raquibul islam" > Thanks for ur help but > "Parse error: syntax error, unexpected '{', expecting '(' in C:\Program > Files\xampp\htdocs\pic\index.php on line 11" > > will u please give me a fine(bug free) example? Hi Raquibul, The example I posted was a exa

Re: [php-list] Problem with image+MySql+php

2007-10-02 Thread raquibul islam
First one.Can i get any ons IM ? - Got a little couch potato? Check out fun summer activities for kids. [Non-text portions of this message have been removed]

Re: [php-list] Problem with image+MySql+php

2007-10-02 Thread Pete
In message <[EMAIL PROTECTED]>, raquibul islam <[EMAIL PROTECTED]> writes >Thanks for ur help but >"Parse error: syntax error, unexpected '{', expecting '(' in C:\Program >Files\xampp\htdocs\pic\index.php on line 11" > >will u please give me a fine(bug free) example? Which file are you referrin

Re: [php-list] Problem with image+MySql+php

2007-10-02 Thread raquibul islam
Thanks for ur help but "Parse error: syntax error, unexpected '{', expecting '(' in C:\Program Files\xampp\htdocs\pic\index.php on line 11" will u please give me a fine(bug free) example? - Luggage? GPS? Comic books? Check out fitting gifts for grads a

Re: [php-list] Problem with image+MySql+php

2007-10-01 Thread Bob
- Original Message - From: "raquibul islam" > Will you please mail me a example code ? I mean some pages like. 1 upload > page and another page for show the image. Hi Raquibul, I've just tried a very basic example from a book. It's in no-way fit to use as it is, and only an *example* but

Re: [php-list] Problem with image+MySql+php

2007-10-01 Thread raquibul islam
Mr James Keeline Will you please mail me a example code ? I mean some pages like. 1 upload page and another page for show the image. - Yahoo! oneSearch: Finally, mobile search that gives answers, not web links. [Non-text portions of this message have be

Re: [php-list] Problem with image+MySql+php

2007-10-01 Thread raquibul islam
Hey Pete Actually i'm a beginner and in this group there are so many experts so plz some one give me one example so that i can have a clear idea about these.By the way ya i dont speak English very well,and i dont think that is important for a coder .I think everything i need to know how to code

Re: [php-list] Problem with image+MySql+php

2007-10-01 Thread James Keeline
--- Pete <[EMAIL PROTECTED]> wrote: > In my experience, it also becomes extremely difficult to back up the > databases, as they become so large. > > I understand that some people do it that way, to avoid pictures being > leeched, but it's not the way that I would do it. > > -- > Pete Clark The

Re: [php-list] Problem with image+MySql+php

2007-10-01 Thread Pete
In message <[EMAIL PROTECTED]>, Wade Smart <[EMAIL PROTECTED]> writes >10012007 1507 GMT-6 DST > >That really isnt a good thing to say to this group as we all work hard >to know what we know. Us giving you the answer doesnt help you. And as >you just stated, you dont know anything about this. I d

Re: [php-list] Problem with image+MySql+php

2007-10-01 Thread Pete
In message <[EMAIL PROTECTED]>, James Keeline <[EMAIL PROTECTED]> writes > >--- raquibul islam <[EMAIL PROTECTED]> wrote: > >> I didnt try anything bcoz i dont have any idea how to work with this . > >At the risk of repeating my post from a couple days ago, unless you have a >really compelling reas

Re: [php-list] Problem with image+MySql+php

2007-10-01 Thread Wade Smart
10012007 1507 GMT-6 DST That really isnt a good thing to say to this group as we all work hard to know what we know. Us giving you the answer doesnt help you. And as you just stated, you dont know anything about this. I dont know if this is html, php, mysql heck I dont even know if you have

Re: [php-list] Problem with image+MySql+php

2007-10-01 Thread James Keeline
--- raquibul islam <[EMAIL PROTECTED]> wrote: > I didnt try anything bcoz i dont have any idea how to work with this . At the risk of repeating my post from a couple days ago, unless you have a really compelling reason to store images in the database, don't do it. Instead, store the image files

Re: [php-list] Problem with image+MySql+php

2007-10-01 Thread raquibul islam
I didnt try anything bcoz i dont have any idea how to work with this . - Be a better Globetrotter. Get better travel answers from someone who knows. Yahoo! Answers - Check it out. [Non-text portions of this message have been removed]

Re: [php-list] Problem with image+MySql+php

2007-10-01 Thread Wade Smart
10012007 1434 GMT-6 DST Why dont you post what you've tried so far. wade Raquibul Islam wrote: > Hello everyone, > How to Store image in MySql and show in HTML by PHP ? > Please Some one send me one example. > > > > Community email addresses: > Post message: php-list@yahoogroups.com > Sub

[php-list] Problem with image+MySql+php

2007-10-01 Thread Raquibul Islam
Hello everyone, How to Store image in MySql and show in HTML by PHP ? Please Some one send me one example.