|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Chars with no space
Ok having difficulty here!!!
I have a table, with a table within a table. The tables are set up with html and php. My problem is that when characters are entered into the textbox, or textarea I should say, and then the screen is viewed after the input is entered into the database, the tables alter in width and size to adjust to the characters, rather then breaking them apart. Is there some quick code I can use to break apart a string of characters that do not have an break or space entered in order to prevent the browser from getting a scroll bar and adjusting my tables to suit the characters?? I tried wrap it didn't work. I tried no scrollbar, it didn't work. Any other ideas? |
|
#2
|
|||
|
|||
|
RE: Chars with no space
|
|
#3
|
|||
|
|||
|
RE: Chars with no space
ok so curiously why 160?
I'm working with it and I am getting an error that says: wordwrap() expects parameter 2 to be long, string given in "file" on line "line". |
|
#4
|
|||
|
|||
|
RE: Chars with no space
I got it working!!!
Thanks so much! I'd never heard of the wordwrap function before. |
|
#5
|
|||
|
|||
|
RE: Chars with no space
Ok So how can I reverse it?
So that on the form where thy update, and the information prints out with the <br /> It doesn't actually print out with the <br />? |
|
#6
|
||||
|
||||
|
RE: Chars with no space
you might want to do this:
str_replace("<br />", "/n", $input); |
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Client Side Things > Chars with no space |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|