![]() Topic awaiting preservation: PREG_REPLACE question re: regex (Page 1 of 1) |
|
---|---|
Paranoid (IV) Inmate From: 127.0.0.1 |
![]() Greetings! |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
![]() Well this should grab everything including the first letter (but only the first letter) |
Paranoid (IV) Inmate From: 127.0.0.1 |
![]() Well, I have a field in a MySQL table that contains this code (it's actually a state law number). But the source I use for fetching the actual law text will only work up through the first letter. If there is anything after that, I get an empty result. So I need to keep the field intact, but build a link with the corrected text (I hope that makes sense). |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
![]() |
Paranoid (IV) Inmate From: 127.0.0.1 |
![]() |