THE WORLD'S LARGEST NEWS, ENTERTAINMENT AND TECHNOLOGY SITE
We are on
×

MEMBERS LOGIN








TESTIMONIES
TESTIMONIES :
Sixtjohn
August 1, 2018

Wow' I got paid for my post'

I'm happily thanking Naijacrawl.com for paying for my post and crediting my account.

 


davidenabs
June 12, 2018

Enjoying all the benefits of this great site and do not share my own testiomoies, to be frank, it won't be fair.

NiajaCrawl is really blessed, I thank all the team members and most especially the CEO, the concept about the site is too muchtwothumb

One area I really love so much about the site, is the community forum , it has really helped me alot, asking questions and getting helpful answers. (NaijaCrawl has expanded my knowledge on BOOTSTRAP most especially and others).

Kudos to NaijaCrawl

Fans please invite friends and loved once to also enjoy the benefit of NaijaCrawl


Infopee
March 25, 2018

I just want to say a big thank you to NAIJACRAWL for keeping their promise just got paid 3k in my account for a competition I participated in, Naijacrawl is the best, you guys are awesome . ...... .    

 


laravel
February 21, 2018
Thanks to naijacrawl for fulfilling their promise , I received the 3Gb plus 3k in my account. Am very happy

melodyogonna
February 12, 2018

Best website i have seen, i just love this website, keep it up bro.


Sixtjohn
December 7, 2017

Naijacrawl is incredible, I never believed until I was convinced, I was paid for my posts and I withdrew 20$ from my Naijacrawl account, I got paid in my local account in less than 24hr,

Naijacrawl is for real, a trial just convinced me.

Thanks to Naijacrawl and Team for crediting my account. 


laravel
November 29, 2017

hi guys, i love these site, it has awesome features which am enjoying right now, join me and give your own testimony.


emmanuelibu
November 12, 2017

Hi there, my name is Emmanuel Ibu, I registered here on Naijacrawl about 3 Months ago and began work, by work I mean I write articles and essays on the latest local and international stories, music, sports, health, politics e.t.c. in my spare time. I must say it has been a rewarding experience, I was a bit sceptical that I won’t get paid whenever I got to my 15$ threshold but lo and behold I did get paid in less than 24hrs after I clicked on the withdraw button and entered my bank details. Naijacrawl is for real, do register, get creative and earn, I assure you, you won’t regret it. Ciao!!!  




ADVERT SPACE

get anything you want people to know about

You can place your advert here.

BUY NOW


ADVERT SPACE

get anything you want people to know about

You can place your advert here.

BUY NOW

Join Us On Facebook

phpmysql Webmaster
    How to use Concatenation in Php .

Posted by kizinho March 30, 2018

    Hi guys today will share with you on how to use Concatenation in Php .  With concatenation you can do alot while working with php.  

    We use Concatenation to add suffix or prefix to a variable that holds  the data or object .

    Assuming I want to join to letters will use concatenate for doing it.

    E.g. 

    $new_name ="world";
    $final_name ="hello".$new_name;

    The out put will be helloworld .

    I used concentrate to add prefix.

    For suffix 

    $new_name ="world";
    $final_name =$new_name."hello;

     

    You can use it with your variable be it the one from database or the one you created by yourself .

    Will generate a random number and will add prefix or suffix to it using php concentration

    <?php
    $token =str_random(16);
    $new_token ="NAIJ".$token;
    
    echo="$new_token";
    ?>
    
    Note that you can echo it or use $new_token as a value to insert to your database

    Note that token is a variable. 

    Str_random Will generate a random strings like number, alphabet , lower and uppercase.

    16 is the limit of the random number.

    Happy coding , share if it is interesting .

    TRY IT YOURSELF



      Code                               Output
                        
            

     Fresh and Hot Updates!!

    Also Read :

    Click Here To Comment



    FOLLOW US ON:-


    RELATED POSTS
    How to use Concatenation in Php .
    Kizinho | 8 months ago
    Comment

    Learn PHP OOP (insert,delete,update,dbconnection)
    Kizinho | 6 months ago
    Comment

    MOST VIEWED
    Learn PHP OOP (insert,delete,update,dbconnection)
    Kizinho | 6 months ago
    Comment

    How to use Concatenation in Php .
    Kizinho | 8 months ago
    Comment


    =Comment Wisely no offensive words===

    0 Comment
    No Comment Yet












    Prove that you are Human





DONATE FOR US


CONTACT US FOR ADVERT

GET NAIJACRAWL SCRIPT OR HIRE A WEB DEVELOPER
Subscribe to our weekly newsletter



logo Face of Naijacrawl


HOT VIDEO !!!

Video: XXXTentacion Moonlight ( Mp4 )

Chat Us on
×

Artist of the Week
DEEJAY J MASTA ANI FT PHYNO & FLAVOUR MP3

EEJAY-J-MASTA-ANI-FT-PHYNO-FLAVOUR-MP3-.jpg

Video of the Week

NC TRENDING POSTS