• Member Avatar for mattyd
    mattyd

    Gave Reputation to JorgeM in Country Dropdown - Loading Country Names From a .txt file?

    Here is some sample code for you to work with. The are generally two ways that you want to store data jSON and XML, at least those are the two …
  • Member Avatar for mattyd
    mattyd

    Gave Reputation to cereal in Country Dropdown - Loading Country Names From a .txt file?

    In addition, you could use a PHP array, for example create **fruits.php**: <?php return array( 'red' => array( 'Cherries', 'Cranberries', 'Pomegranate', ), 'green' => array( 'Avocados', 'Cucumbers', 'Honeydew', ), 'blue' …
  • Member Avatar for mattyd
    mattyd

    Replied To a Post in Country Dropdown - Loading Country Names From a .txt file?

    What I'm having trouble with is calling it from the server into the form. I'm not exactly sure how to do this. Thanks, Matthew
  • Member Avatar for mattyd
    mattyd

    Replied To a Post in Country Dropdown - Loading Country Names From a .txt file?

    The risk. They did not state the risk. They just said that they read about it somewhere and added "LOL" - No details as why one should *not* implement this.
  • Member Avatar for mattyd
    mattyd

    Edited Country Dropdown - Loading Country Names From a .txt file?

    A simple problem with a simple solution, I suppose. I have researced it but do not quite understand it. **Problem**: I have a very nice script for a dropdown that …
  • Member Avatar for mattyd
    mattyd

    Edited Country Dropdown - Loading Country Names From a .txt file?

    A simple problem with a simple solution, I suppose. I have researced it but do not quite understand it. **Problem**: I have a very nice script for a dropdown that …
  • Member Avatar for mattyd
    mattyd

    Edited Country Dropdown - Loading Country Names From a .txt file?

    A simple problem with a simple solution, I suppose. I have researced it but do not quite understand it. **Problem**: I have a very nice script for a dropdown that …
  • Member Avatar for mattyd
    mattyd

    Edited Country Dropdown - Loading Country Names From a .txt file?

    A simple problem with a simple solution, I suppose. I have researced it but do not quite understand it. **Problem**: I have a very nice script for a dropdown that …
  • Member Avatar for mattyd
    mattyd

    Created Country Dropdown - Loading Country Names From a .txt file?

    A simple problem with a simple solution, I suppose. I have researced it but do not quite understand it. **Problem**: I have a very nice script for a dropdown that …
  • Member Avatar for mattyd
    mattyd

    Replied To a Post in A Bit of Trouble with CSS

    JorgeM: I am looking into CSS Reset - I never knew of this before and it's so important - Thank you. Q: Should I use the reset code in a …
  • Member Avatar for mattyd
    mattyd

    Replied To a Post in A Bit of Trouble with CSS

    Thank you, JorgeM! You're awesome. I'll get back to you on this.
  • Member Avatar for mattyd
    mattyd

    Replied To a Post in A Bit of Trouble with CSS

    Dani: It is happening constantly to me. Very frustrating. When I have the time, I will reproduce it multiple times and file an official bug report for you, all steps, …
  • Member Avatar for mattyd
    mattyd

    Replied To a Post in A Bit of Trouble with CSS

    (I just wrote you a long post, JorgeM, and upon submission, it disappeared - This is an ongoing problem/bug here) **Rewritten, short version**: Thank you for all your help. I …
  • Member Avatar for mattyd
    mattyd

    Replied To a Post in A Bit of Trouble with CSS

    Thank you, Sir. I will try your suggestions today. Matthew
  • Member Avatar for mattyd
    mattyd

    Edited A Bit of Trouble with CSS

    To begin, I have not written any HTML/CSS in about 4-years, so in a sense I'm relearning. My issue at this point is this: I want my footer to span …
  • Member Avatar for mattyd
    mattyd

    Created A Bit of Trouble with CSS

    To begin, I have not written any HTML/CSS in about 4-years, so in a sense I'm relearning. My issue at this point is this: I want my footer to span …
  • Member Avatar for mattyd
    mattyd

    Replied To a Post in Question: Please Bear With Me, I'm Thinking Aloud

    Thank you, Sir. I will read up further on this and report back in due time with any questions/concerns that I may have. Kind regards, Matthew
  • Member Avatar for mattyd
    mattyd

    Gave Reputation to JorgeM in Question: Please Bear With Me, I'm Thinking Aloud

    >How do I display the input from that person and not someone else's input data? This is confusing. >100 people submit and 100 people need to view their data; How …
  • Member Avatar for mattyd
    mattyd

    Gave Reputation to otengkwaku in Question: Please Bear With Me, I'm Thinking Aloud

    As JorgeM said your best bet is to use session data. if the preson posting is a user them my advise to you is when a user login store a …
  • Member Avatar for mattyd
    mattyd

    Gave Reputation to otengkwaku in Question: Please Bear With Me, I'm Thinking Aloud

    As JorgeM said your best bet is to use session data. if the preson posting is a user them my advise to you is when a user login store a …
  • Member Avatar for mattyd
    mattyd

    Replied To a Post in Question: Please Bear With Me, I'm Thinking Aloud

    JorgeM and otengkwaku: Thank you so much for your suggestions and help - I greatly appreciate it and still must research it further, but I am leaning towards using sessions. …
  • Member Avatar for mattyd
    mattyd

    Created Question: Please Bear With Me, I'm Thinking Aloud

    Hi, I finally figured out how to take a row from a table and display it on a page. Big deal, huh? That was not exactly my main goal, though. …
  • Member Avatar for mattyd
    mattyd

    Marked Solved Status for mysql_fetch_assoc Issue

    I am using mysql_fetch_assoc to retrieve and display an array; This is what I recieve upon loading the page: *Warning: mysql_fetch_assoc() expects parameter 1 to be resource* I have researched …
  • Member Avatar for mattyd
    mattyd

    Replied To a Post in mysql_fetch_assoc Issue

    <Closed>
  • Member Avatar for mattyd
    mattyd

    Replied To a Post in mysql_fetch_assoc Issue

    Wait. Doing something wrong in other areas of code I think. Will reply after making adjustments.
  • Member Avatar for mattyd
    mattyd

    Created mysql_fetch_assoc Issue

    I am using mysql_fetch_assoc to retrieve and display an array; This is what I recieve upon loading the page: *Warning: mysql_fetch_assoc() expects parameter 1 to be resource* I have researched …
  • Member Avatar for mattyd
    mattyd

    Replied To a Post in Versioning Software

    I just replied to you and... my reply disappeared... **again**!
  • Member Avatar for mattyd
    mattyd

    Edited Versioning Software

    (I am not sure if this is the correct area for this thread - Admin/Mods, please more if necessary. Thank you.) Hello. I write a lot of code. I save …
  • Member Avatar for mattyd
    mattyd

    Edited Versioning Software

    (I am not sure if this is the correct area for this thread - Admin/Mods, please more if necessary. Thank you.) Hello. I write a lot of code. I save …
  • Member Avatar for mattyd
    mattyd

    Created Versioning Software

    (I am not sure if this is the correct area for this thread - Admin/Mods, please more if necessary. Thank you.) Hello. I write a lot of code. I save …
  • Member Avatar for mattyd
    mattyd

    Replied To a Post in Back At it Again - Almost There but Not Quite

    Might this have to do with sessions?
  • Member Avatar for mattyd
    mattyd

    Replied To a Post in Back At it Again - Almost There but Not Quite

    Also, I'm getting many "Notices" about undefined constants, indexes, etc. Not sure what to do with that at this point.
  • Member Avatar for mattyd
    mattyd

    Created Back At it Again - Almost There but Not Quite

    *Yes, the reoccurring issue* I have yet to solve: Posting the contents (Saved to a DB) of a form to a redirected page. Everything works except the rendering of the …
  • Member Avatar for mattyd
    mattyd

    Created Possible Bug?

    **I want to report a possible issue/bug**: I just replied to a post, went to look at a tutorial link, came back to the thread I had created/just replied to, …
  • Member Avatar for mattyd
    mattyd

    Gave Reputation to pritaeas in I'm Not Sure What it's Called

    It's a modular approach. However, perhaps since you are redesigning anyway, you can try an [Object Oriented](http://www.daniweb.com/web-development/php/tutorials/437592/introduction-to-phps-object-orientation) approach.
  • Member Avatar for mattyd
    mattyd

    Replied To a Post in I'm Not Sure What it's Called

    I just viewed your link on the OO approach. Very nice **and** educational. I am trying to envision how this would work with my project. Not sure yet. Although I …
  • Member Avatar for mattyd
    mattyd

    Created I'm Not Sure What it's Called

    I call it "Compartmentalization", that is, taking a long .php file and breaking it down into smaller components; Seperate .php files. This will keep everything tidier, cleaner, more organized, reusable …
  • Member Avatar for mattyd
    mattyd

    Replied To a Post in Collecting IP Addresses

    Thank you, jkon. Honestly, I have not figured out the details and have not yet started writing the code for this. The question posted: It just popped into my head …
  • Member Avatar for mattyd
    mattyd

    Edited Collecting IP Addresses

    A simple question (One which I do not have the answer to yet). One small yet important aspect of my current project is collecting IP addresses via email registration/email confirmation. …
  • Member Avatar for mattyd
    mattyd

    Edited Collecting IP Addresses

    A simple question (One which I do not have the answer to yet). One small yet important aspect of my current project is collecting IP addresses via email registration/email confirmation. …
  • Member Avatar for mattyd
    mattyd

    Created Collecting IP Addresses

    A simple question (One which I do not have the answer to yet). One small yet important aspect of my current project is collecting IP addresses via email registration/email confirmation. …
  • Member Avatar for mattyd
    mattyd

    Replied To a Post in Complete PHP logon system

    This a great thread. Many concerns addressed and answered. I am working on the same sort of login system.
  • Member Avatar for mattyd
    mattyd

    Replied To a Post in New Life after Death Theories

    I just wrote a long response to this topic, posted and it... disappeared(?)
  • Member Avatar for mattyd
    mattyd

    Replied To a Post in New Life after Death Theories

    I die and my energy becomes one with the Gods/Godesses/Non-Terrestrial Scientists, pure energy reformed in a new dimension, eternally. In the mean time, I practice the ancient ways as an …
  • Member Avatar for mattyd
    mattyd

    Marked Solved Status for Flushing the Host

    Receiving this upon run: Warning: mysql_connect(): Host 'srv26.main-hosting.com' is blocked because of many connection errors; unblock with 'mysqladmin flush-hosts' in /home/u871385583/public_html/ob_re4.php on line 32 NEIN! Host 'srv26.main-hosting.com' is blocked because …
  • Member Avatar for mattyd
    mattyd

    Replied To a Post in Contact Us

    I shall be doing this soon, that is, procuring a permanent paid host + business email via host. Q: If I provide a simple contact link/form through my future site, …
  • Member Avatar for mattyd
    mattyd

    Replied To a Post in Flushing the Host

    This is the current code on the new server that is throwing the connection error: <?php ob_start(); ?> <html> <body> <form method="post" action="<?php $_PHP_SELF ?>"> <table width="400" border="0" cellspacing="1" cellpadding="2"> …
  • Member Avatar for mattyd
    mattyd

    Created Flushing the Host

    Receiving this upon run: Warning: mysql_connect(): Host 'srv26.main-hosting.com' is blocked because of many connection errors; unblock with 'mysqladmin flush-hosts' in /home/u871385583/public_html/ob_re4.php on line 32 NEIN! Host 'srv26.main-hosting.com' is blocked because …
  • Member Avatar for mattyd
    mattyd

    Marked Solved Status for Yes, Now I Realize - Please Assist

    I am still working with redirection. **This** works great, but is not exactly what I need: <?php ob_start(); ?> <h1>ob redirect test</h1> <?php $redirect_page = 'https://www.google.com'; $redirect = true; if …
  • Member Avatar for mattyd
    mattyd

    Replied To a Post in Yes, Now I Realize - Please Assist

    [**Marking as Solved**] phorce surmised that the issue is with my host after having access to my DB; Therefore, I am moving to a new host for further testing. In …

The End.