User Profile

Collapse

Profile Sidebar

Collapse
mirianCalin
mirianCalin
Last Activity: Mar 19 '08, 09:56 AM
Joined: Feb 6 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • mirianCalin
    replied to how to display image from database?
    in PHP
    hi.. i've already solved this.. hehe.. i'll be continuing what i am doing.. but i'll be having a tutorial for server side coding......
    See more | Go to post

    Leave a comment:


  • mirianCalin
    replied to how to display image from database?
    in PHP
    would there be a problem if i export/import it from one pc to another?...
    See more | Go to post

    Leave a comment:


  • mirianCalin
    replied to how to display image from database?
    in PHP
    so, do you have any suggestions?
    i am not doing the site now 'cause i might start all over again.....
    See more | Go to post

    Leave a comment:


  • mirianCalin
    replied to how to display image from database?
    in PHP
    the images are only stored in the DB.....
    See more | Go to post

    Leave a comment:


  • Show error message when form validation fails

    hi.. im doing a site..
    i have this registration form where the user must enter some information like
    name, phone_number, age, etc..
    an error message should appear if

    #1: there is an empty field..
    error message = "Please Complete the Form"
    #2: a number was inputted in the name field..
    error message = "You have entered a number"
    #3: a letter was inputted...
    See more | Go to post

  • mirianCalin
    replied to how to display image from database?
    in PHP
    hey, got a problem again..
    a 4th yr.student told me that i should not use 'longblob' for saving images because it's 'heavy' for the database and i will have a problem if i export/import the database from one computer to another..

    do you have other suggestions for me?
    i have only one week to finish this site.. *sighs*
    See more | Go to post

    Leave a comment:


  • mirianCalin
    replied to how to display image from database?
    in PHP
    i've seen my mistake..
    yeah, i've tried putting that code..
    but i forgot to put this <? ?>
    hehe.. thanks again..

    this question is out of topic..
    are you working?
    how old are you friend?...
    See more | Go to post

    Leave a comment:


  • mirianCalin
    replied to how to display image from database?
    in PHP
    hello.. thanks again for the reply..

    this is the code for displaying the image's title, image & feature..
    the only problem now is that i dont have a code for displaying the image..
    the code only displays the title and feature..
    [code=php]
    <?php
    $errmsg = "";
    if (! @mysql_connect( "localhost","ro ot","")) {
    $errmsg = "Cannot connect...
    See more | Go to post
    Last edited by pbmods; Jan 17 '09, 12:50 AM. Reason: Added CODE tags.

    Leave a comment:


  • mirianCalin
    replied to how to display image from database?
    in PHP
    hi!!
    what mark up?
    my table name is "product"
    the fields inside are:

    pid (int) > product's id
    title (text) > name of the product
    imgdata (longlob) > the image
    feature (text) > the product's feature.. this is also my problem when displaying.. like what i've mention above.....
    See more | Go to post

    Leave a comment:


  • mirianCalin
    replied to how to display image from database?
    in PHP
    hi.. sorry for the late reply..
    i had already solved this, and i had same changes with what you did.. (",)
    have you read my post above your reply?
    that's my latest problem..
    hehe..
    thanks again.....
    See more | Go to post

    Leave a comment:


  • mirianCalin
    replied to how to display image from database?
    in PHP
    hi, im sorry.. i have already done it (i get stupid sometimes.. hehe).. just edited some of your codes..
    question again..
    why is it that when i display the "feature" of the image, it is not displayed properly.. i mean, it looks like this in my database:

    * World's Highest Resolution Full HD Panel (1920 x 1080 pixels)
    * New Sophisticated Piano Black Finish Design
    * Four-Wavelength Backlight System...
    See more | Go to post

    Leave a comment:


  • mirianCalin
    replied to how to display image from database?
    in PHP
    i have put the 1st code on my "productDisplay .php",
    how about the 2nd one? is it another file? if yes, what file name should i name it?...
    See more | Go to post

    Leave a comment:


  • mirianCalin
    replied to how to display image from database?
    in PHP
    i think i understand what you're telling me.. but, am i going to use href for that dynamic page? if yes, what will handle the "id" of the image?,, or maybe i just really dont get the coding process.. but i understand the logic of having a dynamic page (less coding instead of using my idea) hehe.. help again.....
    See more | Go to post

    Leave a comment:


  • mirianCalin
    replied to how to display image from database?
    in PHP
    the code that you've given is working..
    thanks again..
    but can you tell me more about that one dynamic page.. guess that's easier.....
    See more | Go to post

    Leave a comment:


  • mirianCalin
    replied to how to display image from database?
    in PHP
    hi.. im here again.. been busy with our thesis.. hehe..
    i have a question again.. you have already told me how to display the images and its' corresponding titles..
    i am now trying to make the image's title to be a link for the image's features.. but i really cant do it..

    ex:

    # # #
    pic1 pic2 pic3

    pic1.php will be responsible for displaying the features of pic1
    pic2.php...
    See more | Go to post
    Last edited by pbmods; Jan 17 '09, 12:46 AM. Reason: Added CODE tags.

    Leave a comment:


  • mirianCalin
    replied to how to display image from database?
    in PHP
    hello again, hey thanks for the help..
    really, really thanks..
    but im still far from being done.. hehe..
    i still have to make the images serve as a link to their features..
    thank you very BIG!!...
    See more | Go to post

    Leave a comment:


  • mirianCalin
    replied to how to display image from database?
    in PHP
    hello again..
    i've tried the code, and it works!!
    yehey!!.. thanks again!!

    so, where will i have to put the code for the title of the image?
    i want it to be under the image

    ex:

    # # #
    image1 image2 image3

    thanks again for the reply!!
    thanks.....
    See more | Go to post

    Leave a comment:


  • mirianCalin
    replied to how to display image from database?
    in PHP
    hi.. i've tried the codes you've given me.. the first one still displays the images like this:
    Code:
    #
    #
    #
    #
    #
    the 2nd one is the one that i need but there's something wrong, the first row has only 1 image but the succeeding rows are fine.. it displays like this:
    Code:
    #
    # # #
    # # #
    # # #
    where's the problem with the code?
    and where can i put this code
    ...
    See more | Go to post
    Last edited by pbmods; Jan 17 '09, 12:46 AM. Reason: Added CODE tags.

    Leave a comment:


  • mirianCalin
    replied to how to display image from database?
    in PHP
    ah ok, i'll explain it again..
    previously, you've given me the code for displaying all the images in my database.. when i tried it, it looks like this ( # for example is the image)
    # # # # # # # #

    i tried putting the code inside a table.
    here's the code:
    [code=php]
    <table>
    <tbody>
    <?
    if($colCtr % $cols == 0)
    {
    ?>
    <tr>
    <td><img...
    See more | Go to post
    Last edited by pbmods; Jan 17 '09, 12:45 AM. Reason: Added CODE tags.

    Leave a comment:


  • mirianCalin
    replied to how to display image from database?
    in PHP
    hello!! thanks for replying again..
    you're great.. it worked!!
    mmm.. can i ask you again?
    how can i display all the images in a table of 3 columns while the rows will depend on how many images is in my database

    ex:
    total # of images: 25
    so, there will be 3 columns and 9 rows (the last row has only 1 image)

    thanks again for the reply!!...
    See more | Go to post
    Last edited by pbmods; Jan 17 '09, 12:45 AM. Reason: Added CODE tags.

    Leave a comment:

No activity results to display
Show More
Working...