Javascript toString(36) in PHP -


is there php way below javascript code:

var val = 100; val.tostring(36); 

i trying pass values generated via javascript , verify php.

update

after googling think php base_convert way go not know use in frombase , tobase params.

base_convert indeed need. $from_base base original number in (which base 10) , $to_base want (which base 36) goes this:

$val = "100"; base_convert( $val, 10, 36 ); 

Comments

Popular posts from this blog

jquery - How do you format the date used in the popover widget title of FullCalendar? -

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -