PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Look more up about CSS while you're at it. Once you learn that you'll realize how you just can't live without it if you're going to even be half serious about coding.
Hi
I think I made the right corrections to the code, but it does'nt work the way it should. I would like $PodName keeps the same if data is found in the database, or else add [Not Registered] to the name.
jd57 wrote:I think I made the right corrections to the code, but it does'nt work the way it should.
There is not enough code there to make a conclusive determination about what is wrong. I think you are probably using too many variables, which is confusing you about what any of them hold. Also, on line 9, $pod_exist is assigned a string, but it is never used because the script terminates on the next line.
Edit: This post was recovered from search engine cache.