Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

simplypixie

Members
  • Joined

  • Last visited

Reputation Activity

  1. Like
    simplypixie got a reaction from Renaissance-Design in Idiot seeks simple php advice.   
    You are missing an equals sign in your if statement (you need 2 to check for matches:
     

    if ($_SERVER['PHP_SELF'] == "index.php")
  2. Like
    simplypixie got a reaction from Artaex in Idiot seeks simple php advice.   
    You are missing an equals sign in your if statement (you need 2 to check for matches:
     

    if ($_SERVER['PHP_SELF'] == "index.php")
  3. Like
    simplypixie got a reaction from Kirk Freeman in Kindle   
    Absolutely - had one for Christmas and am loving it
  4. Like
    simplypixie got a reaction from Renaissance-Design in Webpage form not writing to database, giving error.   
    If inserting into a database you don't need to specify the auto-incremented id field and passing it a value of NULL will break your script, try changing your query to

    $query="INSERT INTO Test (FName, LName, FB) VALUES ('".$FName.", '".$LName.", '".$FB."')";
    If you are still getting an error, change your error echo to die(mysql_error) to get the exact error.
  5. Like
    simplypixie got a reaction from Lee_K in Cron Job's   
    Sounds like you may be on the same hosting as me as I had exactly the same problem / thought a few weeks ago.
     
    Yes, just set up your script with all the different functionality you need as the cronjob doesn't care what is in your script, it is just there to run the set script at the specified times.
  6. Like
    simplypixie got a reaction from mantis in Creating a website with Multiple Logins Help   
    I cannot give you a script for this but a few things to do:

    Set up a column in the users table called ceremony and use Boolean for the type (0 or 1 where 0=false and 1=true)
    When people login select the value of ceremony when you check their login details
    Use the value of ceremony (0 or 1) to redirect to the correct area / page as required and if necessary set a session variable based on whether they are invited to the ceremony of not (if you will need to retain this information through various pages of the RSVP)

  7. Like
    simplypixie got a reaction from person4659 in SQL SELECT statement help   
    It doesn't look like you are actually joining the tables anywhere. Somewhere you need to have a key in one table equal to a key in another table to join the tables. Try (you will need to alter the WHere clause to select using the data you want.

    SELECT teams.Team, country.Country, leagues.League FROM teams INNER JOIN country ON teams.country_ID = country.Country_ID INNER JOIN leagues ON leagues.League_ID=teams.League_ID WHERE teams.Country_ID=6 AND teams.League_ID=6
  8. Like
    simplypixie got a reaction from Skateside in Learning to code; where now?   
    The best way to learn is to get coding your own site / pages using what you have learnt so far.
     
    What do you want to learn next? More HTML, CSS, Javascript, PHP??
  9. Like
    simplypixie got a reaction from apollo-articles in 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.
  10. Like
    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.
  11. Like
    simplypixie got a reaction from Renaissance-Design in 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.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.