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

Mail Script Problems
I have created a PHP mail script. I am having a problem though. In $body i am trying to put two va

Problem with PHP/mySQL login code
Hello,

There is an error in my login script and I can't figure out what it is...
I believe

Select question
Hi,

First I would like to say that php is pretty new for me..
so please don't shoot me if

Thought I has this figured out especially after all the help i received?
Cags, Salathe, Daniel helped me with this yesterday, but not sure i took it all in.
I am attempti

Storing Values taken from a DB...
Using this code it will generate a short list from my database

<?php
mysql_connect

Different payment methods with different cross company requirements in F110
We are implementing SAP in a company in the shipping industry. They have the following requirement:<

help countdown timers
hello every one,

I'd like to know how to insert many countdowns in the same page.
The dura

Impact of movement type 412 E on MAP
Hi

Usage of movement type 412 E is causing huge change in MAP .

Is there any r

Multi-user card game
I'm writing a batch of games and such. Lottery is finished, Poker,blackjack,etc are next. They will

Pspell with my own dictionary
Hello!
I've tested two cases using pspell functions.
1)
Code: $dictionary_link = pspell_new

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