User Profile
Collapse
-
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...... -
would there be a problem if i export/import it from one pc to another?...Leave a comment:
-
so, do you have any suggestions?
i am not doing the site now 'cause i might start all over again.....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... -
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*Leave a comment:
-
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?...Leave a comment:
-
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...Leave a comment:
-
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.....Leave a comment:
-
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.....Leave a comment:
-
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...Leave a comment:
-
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?...Leave a comment:
-
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.....Leave a comment:
-
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.....Leave a comment:
-
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...Leave a comment:
-
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!!...Leave a comment:
-
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.....Leave a comment:
-
hi.. i've tried the codes you've given me.. the first one still displays the images like this: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?Code:# # # # # # # # # #
and where can i put this code
...Leave a comment:
-
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...Leave a comment:
-
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!!...Leave a comment:
No activity results to display
Show More
Leave a comment: