Recent content by miocene2

  1. M

    footer not dispaying proper

    I'm developing a wordpress theme mainly for experience. Site is here. My footer is displaying strangely dispute my css telling it to be 16px high it appears to be twice as high and the bottom half is brown rather than the green it should be. I've checked both my css and html thoroughly...
  2. M

    New design for my site

    I thought my last design, although clean, was a little dark and boring. So I have made a new, more colourful one for my (not yet properly released) web design site. Any and all opinions appreciated. Site: nearfrog [domain name and other things still to be implemented. Developing on...
  3. M

    Plz Check out my website

    It's ok but does not fit together very well. There are gaps between all the graphics on your pages. It also does not validate. You have clearly only been using the WYSIWYG function in dreamweaver. If you take the time to learn html and css you will be able to hand-code much better web sites...
  4. M

    problem with php session

    I' trying to make a logon script for my site using $_SESSION to store a variable that identifies the user who is logged on. I'm trying to use this code to generate a logon form if the session variable is empty: <?php if(!$_SESSION['grid']){ echo "<p>Please Log in to...
  5. M

    Please check out my web design site

    Since making a site for my friend's business I thought I might start up a little business of my own creating websites. i have pretty good xhtml and css abilities and a bit of php/mysql. Would like to hear some opinions on my new site I have created from scratch for my web design site...
  6. M

    creating button images

    Yes I know that, and that's the way I normally do it. What I'm after is a script that can generate the image itself. Probably give the script small images for the left and right of the button and another small image for the center that can be repeat-x'd for the length of the button. Then you...
  7. M

    creating button images

    I have noticed during trying out wordpress that some themes create the button images for the menu bar using some sort of script. Probably php. (view my wordpress test to see what I mean) How would one make such a script to create these kind of buttons? cos it would save going into photoshop...
  8. M

    Google Indexing my site

    I submitted it anyways. Can't hurt!
  9. M

    php - retrieving info from database

    Thanks. Tried that also but does the same as before. I don't understand - surely if there are no rows in the query then it would register and echo the dashed table cells. If there are rows in the query it would echo the tables cells containing the contents of the row. Why does it echo nothing...
  10. M

    php - retrieving info from database

    Thanks I tried what you said and I also tried this: $result2 = mysql_query("SELECT * FROM userpayments WHERE personid = {$user_id[$k]} AND paymentid = $payid ORDER BY paymentid ASC"); while($row2 = mysql_fetch_array($result2)) { if (!$result2) {echo "<td " ...
  11. M

    Google Indexing my site

    OK, so I created and made a website a few weeks ago for my business and I signed up to Google Webmaster Tools to try and streamline the process of getting it up in the search listings. I also submitted a sitemap.xml at the time to tell google about my site. The thing is, google has still only...
  12. M

    php - retrieving info from database

    I have the following code to generate part of a table: $result2 = mysql_query("SELECT * FROM userpayments WHERE personid = {$user_id[$k]} AND paymentid = $payid ORDER BY paymentid ASC"); while($row2 = mysql_fetch_array($result2)) { echo "<td " . $style . ">" ...
  13. M

    what's wrong with this syntax?

    Thanks all sorted now!
  14. M

    what's wrong with this syntax?

    Thanks. Got another prob now: using this code: $result2 = mysql_query("SELECT * FROM userpayments WHERE userid = {$userid[$k]} AND paymentid = $payid ORDER BY paymentid ASC"); while($row2 = mysql_fetch_array($result2))Gives me this error: Warning: mysql_fetch_array(): supplied argument is...
  15. M

    what's wrong with this syntax?

    $result2 = mysql_query("SELECT * FROM userpayments WHERE userid = $userid[$k] ORDER BY id ASC"); I suspect it's something to do with the userid = $userid[$k] bit but not sure what the correct suntax is. Can someone help me out?? Cheers
Top