Everything posted by simplypixie
-
Complete nightmare contact form!
Have you checked first that there are values in your posted data (before it even reaches sending an email). Temporarily prevent the sending of the email and echo or dump your posted data to make sure the value sare there in the first instance. If they are then maybe it is your filter_var and/or FILTER_SANITIZE_STRING (I am not sure what you are doing with these so maybe post the code for these functions.
-
CSS Issue
If you provide a link to the site where you are having a problem so we can see the issue and view the CSS we might be able to help. It doesn't matter if it is 'made' by PHP.
-
Website update
Looks good - clean, easy to use, to the point. Just get rid of the snow and also enlarge the text a little under your tag line, it looks a bit lost.
-
Is a degree necessary to be a web designer/developer?
No you don't need a degree. I, as the majority of people in the industry, am completely self taught and don't have a degree.
-
what should be the namer server for my website
You can't change your name servers. They tell the web where your website and emails are hosted so if you host on GoDaddy and they are the name servers that have been allocated then don't change them or everything will die. If you want to move your hosting to a new hosting company then that is when you would change your name servers to be the ones for your new hosting package.
-
Problems with container alignment - HELP!
Number 1 - the text is held (for some unknown reason) in an image so you need to reduce the width of the image to match the width of containing box below. Number 2 - the div textwidget in the main css has top margin set to 0 so you need to change it, plus your css seems to have an extra body tag: body body ,div#leftside.textwidget { background-color:#eceffc; } Change the above to (I have just used a random number of pixels that you will need to tweak): body, div#leftside.textwidget { background-color:#eceffc; } div#leftside.textwidget: margin-top: 10px; You are also redeclaring your style within the page adding an iframe element so all that needs sorting. Numbers 3 & 4 - I can't see a problem in Chrome but the height of your iframe is set to 1050px which is huge and from your screenshot that is what you are seeing, the whole height of the iframe which is overflowing out of your main content container also creating the whitespace.
-
What do you think of my webbpage and logo?
I personally don't like the colours in the logo and from the feel of the website I would say they need softening a lot to more muted tomes (the logo and website, at the moment, don't seem to go together at all).
-
Help! CSS problem
For some reason you have used paragraph tags inside a list element, you shouldn't and don't need to. Just create a new class for the list element where you are displaying that bit of text and change the font size there and remove the paragraph tags (probably relating the em to a higher level paragraph element or the list element)
-
How to center navigation in the header?
You have the header set at 100% with auto margin but this won't affect your alignment of the navigation unless you change the width to be (say) 60% and ensure you have text-align: centre; declared in your header div. Alternatively, you can just use text-align: centre; for your headernav div and remove the auto margins. Can't answer your second question but as for a small triangle underneath, you will need an image and then reference that image as a background for your current page/link.
-
Php date conversion - please help
Agree with zed - it is basic maths, 22 minus 13 equals 9, not 10
-
why you shouldn't use Word to make web pages
Unbelievable!
-
Web pages change once I upload them
All websites are cached when you visit them to save time loading when you next visit the page. Use ALT and refresh to see if that displays your new version.
-
How to show content div in center
Change the following: body { padding:0; margin:0; text-align: center; } #content { width:500px; height:600px; margin: 0 auto; color:red; background:#e3eeff; padding:10px; border:1px solid green; }
-
Weird problem with mysql_real_escape_string
What is your insert query and your mysql_real_escape_string function?
-
I don't get it, textarea php output
Is this a typo in your code or just on this post? if (!IsSet($_POST["question"])) Should be if (!isset($_POST["question"]))
-
Feedback form problem
You can't just use a normal email link (mailto:.....) to submit contact form information to an email address. You need to post the form to another page/script that will then create the email for you. Try reading here to help create your email from the submitted form data - w3schools
-
PHP, MySQL Question
That looks good to me as a start, though I would probably look at using joins and group by to reduce the number of calls to the database. However what you have should do what you require. One thing I will also point out is that mysql_num_rows is counting the number of records found by the query in the database, it is not a method to use to check if your database connection is successful
-
Including a PHP file twice
If your main content and sidebar are in the same page then you only need to include the file containing your code once and ensure it is included at the very top of your page (above <head>). Then you need to ensure you instantiate your objects for the main content and the sidebar using different names to prevent data not displaying. So, for example, use $objmain = new classname() and $objsidebar = new classname().
-
Sorting Table?
What programming language are you using to populate the table (if any)?
-
Going Insane Now....Need Help
When you say all your old pages are showing on the net, do you mean when you search in Google (for instance) of within your actual website? If the first then that is because Google has to do another trawl of the web to update first and this happens on set timescales and in the meantime what will appear are your cached pages (the ones stored by Google to display in search results). You will have to wait for Google to do it's next 'trawl'. Meta tags shouldn't be formatted in any way, formatting is for HTML to tell the browser how to display your content/page/website etc and these tags have no place in the meta tags in the head section of your pages. Header tags (i.e. h1, h2 etc) don't have to go at the very top of your pages in place of your banner. They should be used as titles for the sections on each page in order of importance like you would find headings in a newspaper.
-
How do I change a field to not have to be unique using phpMyadmin?
If you view the structure of the table you should see (below the list of columns) a heading saying Indexes. Below this you should see the column in question and you just need to drop the column from the indexing list (if you still want to index on the column but without it being unique you will need to set indexing on the column again). Hope that helps.