Adrain, can u suggest a solution for the following ?
I want to mix $tm in $ad (Nice in Well) not using concat (Nicewell).Code:<?php $tm = "Nice"; $ad = "Well"; ?>
but some thing as following.
Nwicelle or some thing any complex string...
Thanks
Tom
Adrain, can u suggest a solution for the following ?
I want to mix $tm in $ad (Nice in Well) not using concat (Nicewell).Code:<?php $tm = "Nice"; $ad = "Well"; ?>
but some thing as following.
Nwicelle or some thing any complex string...
Thanks
Tom
You will know the truth, and the truth will set you free (John 8:32)(The truth is about the only begotten son of GOD)..
When you feel you are alone for facing your problems, God will never leave you by your own You are important for God
You could do;The results will be different every time though so it depends on what you're trying to achieve.Code:<?php $tm = "Nice"; $ad = "Well"; $mix = str_shuffle($tm.$ad); echo $mix; ?>
Focus on Function Web Design | Latest News RSS | Facebook | Twitter |
Fast Edit (A flat file, PHP web page editor & CMS. Small, FREE, no database!) | Fast Edit BE (Snippet Manager) (Web content editor for multiple editable regions!) |
The only limit to creativity is imagination: JemCon.org
letom (05-15-2013)
Thanks .. @Beverley
Is there any way to put the string in specific field.. suppose
$ry = ABCDEFGHIJKLMNOP
$ty = BNGH
putting BN after char A(1st char) and GH after(last char) P (shuffling changes insertions different in different time)..
Last edited by letom; 05-16-2013 at 06:22 AM.
You will know the truth, and the truth will set you free (John 8:32)(The truth is about the only begotten son of GOD)..
When you feel you are alone for facing your problems, God will never leave you by your own You are important for God
Bookmarks