• Member Avatar for drjohn
    drjohn

    Replied To a Post in php mysql foreach query 2 tables at once

    You are extracting from two tables without a join condition??? why?
  • Member Avatar for drjohn
    drjohn

    Replied To a Post in Function MS Access Compact & Repair not working

    "Compact and repair feature in 2007 and 2010 does not fix the file size." Really??? I just made a very simple little access 2007 database, put some data into it, …
  • Member Avatar for drjohn
    drjohn

    Replied To a Post in images and links don`t stay inside frame

    It would be a lot easier if you gave a link to the page(s) where it goes wrong. Then we can see it in action, or not of course, without …
  • Member Avatar for drjohn
    drjohn

    Replied To a Post in Saving a user - help

    Normally you give a form an action - a script to run. The script gets the variables from the form, then does something with them. <form method="POST" action=""> Yours doesn't. …
  • Member Avatar for drjohn
    drjohn

    Replied To a Post in Count rows from table

    PS I can't be bothered counting through the closing brackets to place echo $count at exactly the right place, so it might be later in your code. Try moving it …
  • Member Avatar for drjohn
    drjohn

    Replied To a Post in Count rows from table

    if($result->num_rows > 0) { $count++; that says whatever the number of rows, $count now equals one, unless there are no rows, in which case $count is still zero. Then you …
  • Member Avatar for drjohn
    drjohn

    Replied To a Post in $sql = "SELECT Id, FirstName, LastName FROM mydb"; doesn`t work

    You are not specifying the table to get the data from in the sql you are using. A database and a table within a database are different things.
  • Member Avatar for drjohn
    drjohn

    Replied To a Post in two divs in right and left saving problem

    You have a lot of code in a single form. The presence or abscence of the divs has no effect as the fields are all in one form. Any saving …
  • Member Avatar for drjohn
    drjohn

    Replied To a Post in slide mouseover problem

    You would find it very much easier to use an existing free jquery script than writing your own. That way you could test four or five variations with tried and …
  • Member Avatar for drjohn
    drjohn

    Replied To a Post in image rsize

    upload images of the correct size would seem to be the sensible way to work. So use your favourite free image manipulation software and make them smaller.
  • Member Avatar for drjohn
    drjohn

    Replied To a Post in How to divide a web page and styling it

    you've answered your own question - just use a mix of <article>, <section>, and <div> tags.
  • Member Avatar for drjohn
    drjohn

    Replied To a Post in omiting non-like results

    You could try inserting a space before and after the $criteria, so sun would be returned but not sunshine. WHERE field LIKE ' %".$criteria."% ' Order by Appeared asc" Basically …
  • Member Avatar for drjohn
    drjohn

    Replied To a Post in Adding data to a row without replacing existing data

    You should normalise your database. create a second table, called groups, with field id and group id is the persons id, group is the group they belong to. The table …
  • Member Avatar for drjohn
    drjohn

    Replied To a Post in Web Design

    So apart from placing an advert for that web company of this forum, what do they have to do with learning to design a web site??? Nothing.
  • Member Avatar for drjohn
    drjohn

    Replied To a Post in Another Alignment Problem in IE10 and Edge

    Quick solution. <div class="footerBox">Your text link code here</div> Style the div to .footerBox{float:left; width:200px;) Make ten such divs, one with each text link in it, . You might need to …
  • Member Avatar for drjohn
    drjohn

    Replied To a Post in difference between UL and OL in html

    1 - do this step first 2 - do this bit second 3 - do this step next . buy onions . buy potatoes . buy milk . buy steak …
  • Member Avatar for drjohn
    drjohn

    Replied To a Post in How to prevent others from seeing contents of sql file

    Perhaps you could avoid telling users the name of the back-up folder and the file name, as well as restricting access to that folder. And place an index.html file in …
  • Member Avatar for drjohn
    drjohn

    Replied To a Post in Correctly align backgrounds and images

    You have several css files, all containing just a couple of lines. Make a single css file with all these rules in it. You can split the file into sections …
  • Member Avatar for drjohn
    drjohn

    Replied To a Post in what is Comet ?

    http://en.wikipedia.org/wiki/Comet_%28programming_language%29 http://cs.brown.edu/people/pvh/CometHome/Welcome.html "Comet is an object-oriented language featuring both a constraint-based local search engine, a constraint-programming solver, and mathematical programming solvers." (I used google to find these, as I've never …
  • Member Avatar for drjohn
    drjohn

    Replied To a Post in shopping cart

    Get hold of the free shopping cart OpenCart. Install it on a server with PHP and MySQL It's easy to use and much much more reliable than building your own …
  • Member Avatar for drjohn
    drjohn

    Replied To a Post in HTML Code For Web Design

    Try telling your boss that getting a total beginner to design a web site is not a good idea and not cost effective, as you will spend a long time …
  • Member Avatar for drjohn
    drjohn

    Replied To a Post in when i resize the screen the info on the first image is hidden how do i fix

    It would be a lot easier if you gave us a url so we can see what is happening and play with it there, without having to create our own …
  • Member Avatar for drjohn
    drjohn

    Replied To a Post in Displaying database values in .html file.

    PHP variables etc do not show up in a file named something.html, unless you go through all the things they mention above. Which is not actually the right way to …
  • Member Avatar for drjohn
    drjohn

    Replied To a Post in Multiple Id of Span

    An id is meant to be a unique identifier. You can't have two unique identifiers on the same span, or same anything. You can use multiple classes however - .user, …
  • Member Avatar for drjohn
    drjohn

    Replied To a Post in badwidth abnormal

    yup. leaching, hot-linking, and some other names too. depends on control panel designer's choice of name.
  • Member Avatar for drjohn
    drjohn

    Replied To a Post in badwidth abnormal

    The control panel for some web sites can include an option to prevent leaching - letting another site display your images on their site and pretending they are their images. …
  • Member Avatar for drjohn
    drjohn

    Replied To a Post in Defining dropdown menu characteristics

    There is no need to have the span in the li. It serves no purpose. The style for the link in the li will do whatever you need. You also …
  • Member Avatar for drjohn
    drjohn

    Replied To a Post in Why responsive web design is require

    So that users with smart phones or small tablets will get an easier to use version of the page layout and not need to keep zooming in and out to …
  • Member Avatar for drjohn
    drjohn

    Replied To a Post in Can you help me decide with online shop.

    I've used opencart a few times. Straighforward to use. Free too.
  • Member Avatar for drjohn
    drjohn

    Replied To a Post in how to add a custom text on any image ?

    yes, I was right https://www.google.co.uk/search?q=php+add+text+to+an+image&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a&channel=sb&gfe_rd=cr&ei=kSlDU_HvGY6E5AaGpoDYBg
  • Member Avatar for drjohn
    drjohn

    Replied To a Post in how to add a custom text on any image ?

    I think there are some jquery modules that do that. not sure if it's permanant or only looks that way in the browser. Pushing the image through php might let …
  • Member Avatar for drjohn
    drjohn

    Replied To a Post in Blinking

    Remember that blinking text was done as a joke by Netscape to demonstrate that html could do some strange things. It was NEVER intended to be used, and is a …
  • Member Avatar for drjohn
    drjohn

    Replied To a Post in Difference between in and like statement in mysql

    With IN , the value must match exactly an item of those listed in the list. With LIKE, the value only has to match part of the value in the …
  • Member Avatar for drjohn
    drjohn

    Replied To a Post in how to create notice in dreamweaver CS5.5

    A bit vague. Without seeing what might be in a few notices, and not knowing how many would be displayed at once, this is tricky to answer. You could use …
  • Member Avatar for drjohn
    drjohn

    Replied To a Post in Display Database records as columns

    ALSO You say you have one table called invoices and one called products, joined via the common product_id. Which suggests one invoice will be for one product, and every product …
  • Member Avatar for drjohn
    drjohn

    Replied To a Post in Display Database records as columns

    **Line 5 of your code is a join**, using the "where x=y" syntax. The syntax used doesn't matter, it's a join. But you then exclusivley use the info from a …
  • Member Avatar for drjohn
    drjohn

    Replied To a Post in Image shadow in Internet Explorer/Opera

    How can we work out the problem without being able to see the web page???
  • Member Avatar for drjohn
    drjohn

    Replied To a Post in Best software to create webpages and websites ?

    The human brain. Seriously, there is no "best software". Everyone will simply recommend the software that they use. So here goes. I use NotePad++, which is used by many, many …
  • Member Avatar for drjohn
    drjohn

    Replied To a Post in What matters when creating a webisite

    Content - why else would I visit a web site?
  • Member Avatar for drjohn
    drjohn

    Replied To a Post in cant align three divs horizontally

    Wrap another div around all three. Give it a width in a suitbale percentage value. Style it margin:auto; Style the divs inside to have a width of about 33% .
  • Member Avatar for drjohn
    drjohn

    Replied To a Post in putting a table side by side

    Nested tables for layout??!! It's not 1996 any longer - the world has moved on. Wrap each table of data in a div and give it a width that matches …

The End.