Hi,
I am a newbie(problem with me is I know PHP but I don't know HTML ) so I am having many problems in building a complete website.
After hearing so many changes in requirements from a client I was wondering that could this be possible to build a php/mysql web site in which all images(all of the site content) will be in the database!
What I actually mean is here is only one page index.php and it will display all pages(with different handles)?
I usually see websites having option to change the theme(colors mostly) but could this be possible to change whole site content placement(i want this top banner at bottom, i want this column shifted to here and so on) through database.
If so what could me best implementation, or tutorial article any thing!!
If not why?!!
waiting for reply
mhadiI feel your pain - I learned ASP before learning any HTML.
I'm moving into a sub forum of Server-Side Programming built just for PHP questions.
Best of Luckit is possible, but just one thing: Is your site going to be a very large website which many people will be viewing? Because having everyone mysql driven would put a lot of strain on the sql server wouldnt it? please correct me if im wrong.Hi,
So there are some other people who also faced this problem (HTML and PHP) delighted to feel I am not the only one who is facing this problem (Please recommend me some professional tutorials for fast learning)
Well putt can you move this post to sub fourm i think users are not allowed to that.
Boxface I dont think that it will be problem because a lot of content is already database driven(mysql or sqlserver), so putting images for banner,buttons and navigation bar also does effect the perforfarmance but a little bit.
One more point while thinking this matter.
What i can do is dynamically place the images by using <img src=http://www.htmlforums.com/archive/index.php/<?php ... ?>> tag, so how can i specify the position(co-ordinates or something) of these images? can i use MAP tag(actually i can't understand it complete usage)
mhadi*bump* (sorry)it doesn't appear to have moved when I thought I had done it earlier.
Moved now - hopefully one of the PHP guys can help with this.Thanks
Ok comments any one !!!
I am waiting
mhadiBe patient and someone will reply. You could use an Image Map, find more information here...
<!-- m --><a class="postlink" href="http://www.w3schools.com/tags/tag_map.aspHi">http://www.w3schools.com/tags/tag_map.aspHi</a><!-- m -->,
I got it, but the map tag is not suitible to implement this idea.It just give us priviliage to make links within image like hotlinks or so. My question was about to have some co-ordinate system so that we can place our images on the fly from the database directly.
like e.g
title.jpg sould be placed on 0,0(according to browser top left side)
some other comments
mhadiPut the co-ordinates in a database then drag them from the database for the image.Hi,
Where to use coordinates?!!!
<html>
<body>
..
<img src='http://www.htmlforums.com/archive/index.php/image.php?img=1' border="0" alt="">
..
</body>
</html>
mhadi Read the link I have above, this should give you all you need.Originally posted by DA Master
Read the link I have above, this should give you all you need.
Sorry to say but there is no link !! Do you mean <map> link?
mhadiOriginally posted by DA Master
<!-- m --><a class="postlink" href="http://www.w3schools.com/tags/tag_map.asp">http://www.w3schools.com/tags/tag_map.asp</a><!-- m -->
Hum... No link here Correct me (with some explainations!!)
Using map for this task!!?
<map>
Defines a client-side image-map. An image-map is an image with clickable regions.
You want me to put every thing as an image and then make clickable regions!!
Then what about text, GIF images and so on!!
hope I am going on right track
mhadi
I am a newbie(problem with me is I know PHP but I don't know HTML ) so I am having many problems in building a complete website.
After hearing so many changes in requirements from a client I was wondering that could this be possible to build a php/mysql web site in which all images(all of the site content) will be in the database!
What I actually mean is here is only one page index.php and it will display all pages(with different handles)?
I usually see websites having option to change the theme(colors mostly) but could this be possible to change whole site content placement(i want this top banner at bottom, i want this column shifted to here and so on) through database.
If so what could me best implementation, or tutorial article any thing!!
If not why?!!
waiting for reply
mhadiI feel your pain - I learned ASP before learning any HTML.
I'm moving into a sub forum of Server-Side Programming built just for PHP questions.
Best of Luckit is possible, but just one thing: Is your site going to be a very large website which many people will be viewing? Because having everyone mysql driven would put a lot of strain on the sql server wouldnt it? please correct me if im wrong.Hi,
So there are some other people who also faced this problem (HTML and PHP) delighted to feel I am not the only one who is facing this problem (Please recommend me some professional tutorials for fast learning)
Well putt can you move this post to sub fourm i think users are not allowed to that.
Boxface I dont think that it will be problem because a lot of content is already database driven(mysql or sqlserver), so putting images for banner,buttons and navigation bar also does effect the perforfarmance but a little bit.
One more point while thinking this matter.
What i can do is dynamically place the images by using <img src=http://www.htmlforums.com/archive/index.php/<?php ... ?>> tag, so how can i specify the position(co-ordinates or something) of these images? can i use MAP tag(actually i can't understand it complete usage)
mhadi*bump* (sorry)it doesn't appear to have moved when I thought I had done it earlier.
Moved now - hopefully one of the PHP guys can help with this.Thanks
Ok comments any one !!!
I am waiting
mhadiBe patient and someone will reply. You could use an Image Map, find more information here...
<!-- m --><a class="postlink" href="http://www.w3schools.com/tags/tag_map.aspHi">http://www.w3schools.com/tags/tag_map.aspHi</a><!-- m -->,
I got it, but the map tag is not suitible to implement this idea.It just give us priviliage to make links within image like hotlinks or so. My question was about to have some co-ordinate system so that we can place our images on the fly from the database directly.
like e.g
title.jpg sould be placed on 0,0(according to browser top left side)
some other comments
mhadiPut the co-ordinates in a database then drag them from the database for the image.Hi,
Where to use coordinates?!!!
<html>
<body>
..
<img src='http://www.htmlforums.com/archive/index.php/image.php?img=1' border="0" alt="">
..
</body>
</html>
mhadi Read the link I have above, this should give you all you need.Originally posted by DA Master
Read the link I have above, this should give you all you need.
Sorry to say but there is no link !! Do you mean <map> link?
mhadiOriginally posted by DA Master
<!-- m --><a class="postlink" href="http://www.w3schools.com/tags/tag_map.asp">http://www.w3schools.com/tags/tag_map.asp</a><!-- m -->
Hum... No link here Correct me (with some explainations!!)
Using map for this task!!?
<map>
Defines a client-side image-map. An image-map is an image with clickable regions.
You want me to put every thing as an image and then make clickable regions!!
Then what about text, GIF images and so on!!
hope I am going on right track
mhadi