Jump to content

ginerjm

Members
  • Posts

    6,906
  • Joined

  • Last visited

  • Days Won

    99

Everything posted by ginerjm

  1. a project WITH code? Why not just google for something? Read a book? go to a code posting site and grab something? The better way would be to read a book and LEARN how to write the code. Setup an environment to test with and read a beginner's manual and start writing and testing. Much better way than struggling to understand stuff in some 'full-blown project' that will probably be way over your head.
  2. You don't provide nearly enough info to help us to help you. How did they get to the page they are on? If they are on a specific page, how do you know they don't want to stay on that page and not go to your idea of the page they should be on? If they got to this page, why should they be re-directed? How did they get to this page anyway? If you had a specific entry page/point for your 'steps', then the way to progress thru the series would be to have 'Next' and 'Prev' buttons that have the proper urls in them. Theses would be setup by your script that generates each page. (if generating page 4 then you would create the Next button with a "?step=5" and the Prev button with a "?step=3" in the src of any link tag or the action of any form tag.)
  3. Oh - so you didn't write this code (as you said earlier)?
  4. I do realize that you are new at this, but with only SEVEN lines of code, you really should have been able to find one typo.
  5. Spelling is very important in this business. Check it.
  6. Trying to understand your problem. You are looking for a php script that you can run to grab a .SQL file (a file containing some sql statements?) and then execute that sql code to update your db table(s). This sql file is created by some process outside your control I presume, otherwise why would you not just simply do the update instead of saving and retrieving this sql code from the .SQL file? Is that accurate?
  7. I have no idea what your last two posts are talking about. I will offer my usual tips: 1 - turn on php error checking 2 - separate your logic (your php code) from your output (your html code). Makes it easier to read and to maintain 3 - Try and write your questions in clear language and use punctuation so that we can interpret what you are trying to tell us better. 4 - Learn how to spell the word 'separately'. I still stand by my original post - do not store multiple items in one field. That is not how databases are used.
  8. Does that mean your problem is solved or do you still have an error?
  9. You should change your table structure to store ONE and only ONE image name in a table column. If you have multiples of them for a single user/date, etc you need to have an "image table" just to store the names, all linked back to that user/date, etc. Never store data in a table as a comma-separated value.
  10. Show us the code here. The Relevant code please.
  11. Actually, as coded the comparison test works just fine.
  12. So? What's wrong with this code? Looks fine to me.
  13. ginerjm

    php c

    php d?
  14. How far does your code manage to make it? Do you have error checking turned on? Add some echos at various steps in the process and show some values so you can see if things are happening as you designed.
  15. I prefer to see code posted on the forum, not somewhere else.
  16. Hard to help someone who won't share their code. One line is not much of a context to follow.
  17. You want to re-state your question again? Don't know what you are trying to say there.
  18. Have you ever seen a list box with line feeds in it? Can't be done! And - just why are you using a dropdown in an email? Is this going to be some kind of input to another script?
  19. You're outputting an html formatted email, so just use std. html to format your email. Use a <br> tag between the lines of the address - no?
  20. 1 - please use appropriate tags to wrap your way-too-much code. 2 - How about adding some echos to debug your code. See where it is going and decide if the flow is as you expect. Usually people start their session right at the top of their scripts so it is always readily available. Usually people separate their php code from the html code (and other stuff) to make it more manageable and easier to maintain as well as to read. 3 - please isolate your post to the area of the code that has the problem. You posted way more than most people want to wade thru to help you out. Why post a bunch of html if you are only concerned about your session vars?
  21. Sorry - I don't go to 'websites'. You can post the relevant code here just as easily.
  22. It is actually NOT at the top of the page - it is your topic title. Could you give us the ENTIRE message so that we can locate the lines involved since I don't see the use of the vord 'index' anywhere. Maybe you could give us a snippet of the particular lines? What it means is that you are using login as an index to an array and that particular index does not (yet) exist. Also the second error msg means that you have not defined the object yet (or it failed) and therefore you cannot use any of that object's methods yet.
  23. Sorry - no idea what you are talking about.
  24. Who says you have a mistake? Are you getting an error message? If so, what is it? Why should we read thru all this code when we don't know what we are looking for?
  25. Sorry - your English is not very clear. "when I click on submit not in my signature" - what does that mean? If you read my last post you would have noticed my signature - that is how to turn on error reporting.
×
×
  • 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.