Jump to content

benanamen

Members
  • Posts

    2,134
  • Joined

  • Last visited

  • Days Won

    42

Everything posted by benanamen

  1. There are many out there. Just set the input to read only so the user cannot edit the date by hand and you are all set.
  2. I didn't say anything about a "date field". I said read only which would be a standard text input and then use the date picker to populate it.
  3. You might want to just use a date-picker that will put the date format you want into a read only field. Dont allow the user to enter it wrong in the first place.
  4. Op, it is just as I suspected. If you provide your full and complete files along with an SQL dump of your database with some sample data we can help you get this thing done right. What you think needs to be done to accomplish your task is not it.
  5. It does that because you have a 404 redirect somewhere.
  6. Wow! I can't believe you got that into it. It will definitely fall under a paid job. Op, I am available for hire if you decide to get this done right.
  7. That pretty much sums it up. Anything else is a waste of time.
  8. Without EVERYTHING I need to run this, I cant properly help you. The files and the two downloads is not everything. You have a lot more problems than just the one you think you do. All I have is a screen FULL of errors. There is LOTs and LOTs of work that should be done.
  9. Have you thought about using MySQL instead of FileMaker Pro?
  10. If you zip up all the code/files I will look at it. (everything I need to run it)
  11. I assume you don't want to just display it, but also have each post stay on the page. That will be sending you to database territory. You will need to learn up on form handling http://www.w3schools.com/php/php_forms.asp And MySQL http://www.w3schools.com/php/php_mysql_intro.asp
  12. Where are you getting the data for the dropdown select?
  13. What have you tried? What was the result?
  14. Ok, lets go with this: Again, if you go to the tutorial I posted you will have your answer. If you cannot at least do that much I don't think you are going to get much help from anyone here. We are here to help you with your code, not write it for you.
  15. Based on what you asked, I absolutely can. When I say "anything", I mean anything regarding the subject you are asking about, not implying you dont know other things. We are here to help. Your question clearly shows you have not studied the most basic of basics regarding your question. The fact that your throwing in $_SESSION without session_start further shows that unless you just have not provided the entire code for the page. Instead of jumping on me you could have just gone to the first tutorial I pointed you to and you would have had your answer and more. If you look over all my posts you will see I am very helpful and quite knowledgeable.
  16. I am not sure, but I am thinking this is a situation where the OP is asking for a fix on what he thinks is the solution to the problem/overall goal. OP, you say: Where does this array come from or how is it created?. Please provide details and code and what exactly subpage means to you.
  17. Standard forum protocol is to post what you did to fix your problem so other people reading this thread or having the same problem may benefit from it. Not to mention several people have taken their time to try to help you for free.
  18. I think what you really need to do is study some tutorials. Your question is extremely basic and shows you really haven't put any effort into learning anything. IMO you are not ready to start asking for help yet. At least go through the following tutorial and then see if you have any questions. http://www.w3schools.com/php/php_mysql_intro.asp There are also numerous tutorials at code academy that will teach you all the different areas you need to know, PHP, SQL, HTML, CSS, etc https://www.codecademy.com/learn
  19. For the most part, it looks like your tables are already set to go. Each of those headers and its data would be a table with an id column in each tied to the main id. I see there is repeating sub header names. Those would be additional tables. What you have would be on the complicated side for a beginner but we can help you. You must really understand Database Normalization with what you have going on. Its not a complicated subject and will really help you get this set up.
  20. Your first problem is you need to take the table start and end tags out of the while loop. If you have the <hr> in the loop it is going to keep repeating. Your better off putting the DB variables in parenthesis instead of doing all that escaping. {$row["subject"]}
  21. Do not post duplicate posts for the same thing
  22. If you want to post a row of your data with headers I will help you sort it out, but you still need to understand Normalization.
  23. Why are you even selecting the users status from the database? You already know they are online, just update the status to offline. It appears you are doing something with the status that will require some explanation. It simply should just be status = 1 or status =0 Is the status column an actual timestamp column? And you should be using an actual number for a user id, not the username.
  24. You can have millions of records in a table. You should first learn Database Normalization and you will have a better idea how to do your tables. The amount of records you have wont even tickle a database.
×
×
  • 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.