Jump to content

richardterris

Members
  • Posts

    16
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

richardterris's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Hey Thanks for that - thought i was going mad.... but i did suspect that it was something enabled or disabled so why is this feature disabled now?
  2. Hi all, Been a while since I worked with PHP, and since im now getting more involved in MySQL, I thought I should go back to basics, and learn how to code PHP properly. I've started off with a real basic example of an HTML form "<html> <body> <FORM ACTION="welcome.php" METHOD=GET> First Name: <INPUT TYPE=TEXT NAME="firstname"><BR> Last Name: <INPUT TYPE=TEXT NAME="lastname"> <INPUT TYPE=SUBMIT VALUE="GO"> </FORM> </body> </html" called index.php and <?php echo "Welcome to our Web site, $firstname $lastname!" ; ?>" called welcome.php I know this code isnt valid, and is generally pretty messy, but since its just some exercises im not too concerned.... As far as i know this code is sound, in that it should take the 2 names, and pass them along with the url ? When i enter the names and click "go", im getting the output "welcome to our website," I know that its an apache server, and that PHP Myadmin is installed - I recently connected to MySQL Db through it, but i cant help but get the feeling that some setting somewhere isnt right, because i think this code, sloppy as it is, should work. Am i going mad? can anyone help? Thanks, RjT
  3. Brilliant Thanks a lot guys, that was really bugging me. Richard
  4. <html> <head> <title>Art Galleries In Glasgow and London - Tracey McNee Fine Art</title> <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" /> <meta name="description" content="Tracey McNee Fine Art Ltd., specialists in contemporary art in the U.K. With galleries in Glasgow and London." /> <meta name="keywords" content="Scottish Artists, British Artists, Oil Paintings, Watercolour, Figurative, Landscape, Sculpture, Hand-made Glass, Ceramics, buy on-line, Glasgow Gallery, London Gallery" /> <meta name="robots" content="index, follow" /> <link rel="alternate" type="application/rss+xml" href="http://www.traceymcnee.com/rss.xml" title="Tracey McNee Fine Art"> <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" /> <link href="resources/css/layout.css" rel="stylesheet" type="text/css" media="all" /> <!--[if IE]> <link rel="stylesheet" href='resources/css/ie_fixes.css' type="text/css" media="screen, projection" /> <![endif]--> </head> <body> <div id="container"> <!-- Container start --> <div id="container2"> <!-- Container2 start --> <div id="header"> <!-- Header start --> <?php include("header.php"); ?> </div> <!-- Header end --> <div class="colmask holygrail"> <div class="colmid"> <div class="colleft"> <div class="col1wrap"> <div class="col1"> <!-- Column 1 start, this is the main content --> <?php $url = ''; if (!empty($_GET['category'])) { $url .= $_GET['category'] . '/'; } if (!empty($_GET['page'])) { $url .= $_GET['page'] . '.php'; include $url; } else { include('page1.php'); } ?> </div> <!-- Column 1 end --> </div> <div class="col2"> <!-- Column 2 start, this is the left hand menu --> <?php include("mainmenu.php"); ?> </div> <!-- Column 2 end --> <div class="col3"> <!-- Column 3 start, this is the right hand menu --> <?php include("artistsmenu.php"); ?> </div> <!-- Column 3 end --> </div> </div> </div> <div id="footer"> <!-- Footer start, this is the bottom menu --> <?php include("footer.php"); ?> </div> <!-- Footer end --> </div> <!-- Container2 end --> </div> <!-- Container end --> <?php include_once("analyticstracking.php") ?> </body> </html>
  5. Hi all I have a site in which all the scripting is done on the index page, so that the individual page URLS would be www.mysite.com/index.php?page=pagename Within this page, the page title is defined, which leaves me stumped as to how to have seperate page titles for each page. I have looked around for a solution, and the closest thing i can see is an echo title command. The problem with my site is that each page is the surname of an artist, but for SEO reasons, passing the surname of an artist isn't really enough. Is there a way, without building a database, to create a page to contain page titles and descriptions, and call these depending on which page the user is on? If anyone needs to see any code, im happy to put it up, so just let me know. Hope you can help. Richard.
  6. Hi all. I recently accepted a job of re-doing my friends site using php instead of his already html. The reason being is that the left and right column content is the same throughout the site, and has to be updated on 60-odd pages.. With php the updates only need to occur once. Anyway, the site is quite image-intensive as its an art dealers, and he's using the hoverbox gallery to display these.. this is working fine in firefox. In IE 6 and 7, when hovered on, the large image appears to be sitting on top of the right and left columns but underneath the content. I think the problem is z-indexing, but im at the stage now where everything is identical with his and my versions of the site, except that im using php. Put this way, imagine 3 columns, the left and right columns z-indexes are set to 0, and the main column z-index is 1, this means that anything on the centre column will overlap the left and right when it needs to... In this case it is overlapping the columns, but not the content because they are pulled in. My question is, is there anything with using php that should affect this, or is it just a css issue? As i understand the php rendering is done server-side, which should mean that the page is complete by the time the browser sees it? If so, then the images should overlap everything Help please, im getting to the end of my tether.
  7. ok, i just didnt wanna fill the forum up with rubbish whoops haha, thanks man
  8. Could an admin person please do either of the following: - * Contact Dragen with my email address * Give me permission to send private messages? I am not a spammer, and since i am now embarking on the world of php/sql i may well be on here a lot in the next while... I cannot send Dragen a reply to his PM, and i cannot post on a board that he will see. I dont really want to post nonsense posts just for the sake of increasing to my 10 post minimum; i think im actually at 8 or 9 anyway. Many thanks, Richard
  9. Aschk, Thanks for your reply. Dragen seems to think he might have solved my problem; so if i can manage to get myself up to 10 posts, i might actually be able to contact him with my email address
  10. No problem i only put it there because i thought it was the main board, and Dragen had more chance of seeing it
  11. Hey doods... For some reason i dont have permission to send private messages? Do i need to achieve a certain amount of posts first? Anyway, Dragen, my email is richardterris@googlemail.com Apologies for the late response, ive had a helluva couple of days
  12. I dont mind but i am quite keen on learning some php/sql stuff so might not be too bad an idea www.matthewjamesmenswear.com is what im trying to do click on coats, and then select the first image of the first gallery id like the picture to load on the left container and the description to load into the right one
  13. HI mate thanks for getting back to me again.. Does this mean a seperate page for each image? Thats what i was trying to avoid because at the moment i have 320 images, which would mean 320 pages. what i need is one page with my container, which ive created, and the ability to use and reuse this page for each image when selected
  14. No i dont know how to do anything yet, but i want to learn... i dont really know anything about sql either so it could be a steep learning curve... whatever is the easiest way of doing this for a novice like myself is the best way i think
  15. Thanks for replying so quickly, but.... As i said im a complete virgin to php and pretty much javascript too is there a name for what im trying to do? might help my searching a bit
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.