Jump to content
#StayAtHome ×

benanamen

Members
  • Content Count

    1,904
  • Joined

  • Last visited

  • Days Won

    36

benanamen last won the day on October 28 2019

benanamen had the most liked content!

Community Reputation

117 Excellent

3 Followers

About benanamen

Contact Methods

  • Website URL
    http://galaxyinternet.us/
  • Yahoo
    phpfreaks@galaxyinternet.us

Profile Information

  • Gender
    Not Telling
  • Interests
    Email me at phpfreaks@galaxyinternet.us

Recent Profile Visitors

5,312 profile views
  1. OP was already advised about his code on another forum and did not implement any of the advice whatsoever. His response was "Could you please write it to me". OP, we are not a coding on demand service. You apparently didn't even attempt to copy and paste the complete working example from the tutorial you were referred to. If you just want someone to write it for you then post a job offer on any of the forums jobs section.
  2. WHERE `district`= {$_SESSION['g_district']} ");
  3. There is no such thing as a "from" tag.
  4. Can you please provide the default sql so we can run the code.
  5. OP, do you seriously think we can do something with PICTURES of CUTOFF CODE?
  6. That is not the way to handle it. Set a unique constraint on the DB column(s) Attempt the insert and catch the duplicate error if any.
  7. OMG! I could care less about your code dude! I was just trying to help you. Good luck getting assistance with that attitude.
  8. Hi @NotionCommotion, long time no chat. This is all interesting stuff. I was just wondering, are you actually having a problem to where this matters or is this just for learning?
  9. Tell you what, if you can provide a zip of your files I will review it and tell you what is wrong.
  10. In that case, just remove the session start from your include files. You should have no need to check if a session has been started.
  11. I'm sorry, I assumed you wanted to learn how to do things better. My bad.
  12. The better approach is to have a single point of entry to the site/application. Then as mentioned, you set the session once in the main file. Here is a free video series tutorial on Php by the Laravel Laracast guy. Even I, after more than 30 years of programming learned several new things. https://laracasts.com/series/php-for-beginners
  13. Sure you could but you are going to need code gymnastics to cover every possible case. Not really optimum IMO. The "extra data input" is a one time insert and you are done with it. At that point, it is as simple as selecting the column in your query.
  14. Based on the site link I would say what you are looking for is a "short name" for the schools. I would add a column to the DB to hold that data. So you have columns city, school_full_name, school_short_name
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.