Echoing ASCII code


Posted on 16th Feb 2014 07:03 pm by admin

I have a php page that splits a string into chars and then echoes the ASCII code for each char. I'm trying to get it print the original value => ASCII code, splitted by :, like:

A => 65: B=>66: C => 67:

It is currently echoing: =>65 : =>66: =>67:
Any one, please?

Thanks

No comments posted yet

Your Answer:

Login to answer
271 Like 9 Dislike
Previous forums Next forums
Other forums

Confused with Loop
guys, i got confused with Looping...this is the case

I have 3 stocks, let say "Stock A&q

Warning: session_start() [function.session-start]: Cann.....
hi, can someone help me with this? I keep getting this error....

Warning: session_start() [fu

Syntax Help
I'm trying to make a form that edits a php file which contains config settings. I'm using strings t

matching numbers inside ( )
I know I can match numbers by just [0-9]+, so I thought matching numbers inside ( ) would be somethi

Linking with Foreign Keys
I have been getting an erro when I try and link:

create table Faculty_Specialty (I_Name v

Include a php
Hello,

I'm trying to include a function that shows the recent searches.
Example I have <

php + mysql count consecutive data
I have a database of values and I want to work out how to display them if the values match a consecu

how to insert value
I am having file bookissueadd.php..... in which i am having tag

<td height="21&q

Email Form Syntax Issue
I need the TO: in email to display To: CEO instead of To: abc@mail.com

How to alter the scri

Transferring session variables into MySQL
I am trying to transfer $_SESSION variables into MySQL. However there is an error in my MySQL statem

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash