i need a script that does that.
I’m trying to make special characters allowed, but when they are entered into a form, they don’t do anything with the code, in which they are processed through. Kinda like on this form that I’m typing. I can enter all the code I want, but when it submits, it will appear as I have typed it. Any ideas? examples would be great.
I believe it has something to do with regular expressions in PHP, and I have read mutiple websites about how to do this, but I just don’t get it. Please help.
I need to create a form for a website that asks for your address, city, state, and zip code, and when you click submit it will redirect you to a mapquest page that has already loaded directions from your address to a local business. Mapquest requires that there be no spaces, just plus signs. How can I write a script in PHP to replace something like “1234 Example Street” to “1234+Example+Street”?
When I display some info, in order to keep it from extending table rows I’d like to add a space or a hyphen every 40 characters in a PHP string. I’m sure there’s a way to do this, but I can’t figure it out. Can anyone help? Thanks.
I would like to know if it is possible to check with php if a string of text contains one word that is longer than 50 characters, just because it would come out of the div since it would be too long, and have no spaces.
If it is possible, any ideas on how to fix this problem?
I used echo and it doesn’t work
I use varbinary field to store the japanese characters. It saved well, but the php doesn’t work.