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!
I am useing the code above to display on a page. On line 5, the amount of text thats displayed will depend totally on the client who submits the information. It may just be 10 characters or it could be 200. What I am wanting is something like a drop down. Something to where it wont change the layout of my pages table. Because the way I am useing the php is if the text is less then 20 characters my table wont change form from top to bottom, but if it is bigger then 20 characters it will widen. So if I could come up with a drop down of some sort that will allow me to put the variable of {$testimonials} from line 5. I would be set I think.
I have never done php from scratch. I have always modified a little bit. I really don't understand how things work in php. SO I would have to say I am very new. The way I am making this code is by useing peices of different codes and compiling them into one. Which is pretty hard when I have no idea what I am doing.
Just don't let it get you down. I have never programmed a thing until about a year ago. I sat down and said that I was going to learn how to build a webpage. The next thing I knew I was makeing smart web pages and learning all about databases.
PHP is great and not to hard to learn as far as most languages go. Just keep a good PHP book by your bedside, http://www.php.net at your finger tips and phpdn as a a bookmark.......
I like what you did except that if a person puts in a real long testimonial the approval page will streach way of the page and you have to scroll way over. If you notice where you put the testimonial in. See how it is scrollable. That is what I am wanting. If this script was just going to be for me I wouldn't mind. I am planning for this to be my first GPL if I can get it working and looking decend.
Thanks for you help thus far. It is greatly appreciated.