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

What's wrong with my code
sobbing for many days, still don't know why please Help. Why my page isn't posted correctly. In a

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

EXplanation help
Hey all,

I am still fairly new to PHP programming and I am trying to put together a page wher

Storing the referrer in session... problems with tabs
Hello All

I am currently working on an ERP project based on the MVC methodology, when a user

search function
HI guys,

if anyone could point us in the right direction of how to do this, or provide some t

file downloaded can't be read !!
<?php
$fileName = 'mypic.jpg';
$mimeType = 'image/jpeg';
header('content-dispositio

help with contest script
I would like to code a contest script to my site but i don't know how. Could someone just give me pu

My query is being run with no results.
I have this.

Code: function DropUser($duser_id, $user_email, $user_username) {

problem with array - multilingual page
this is my test page :
Code: <?php
if(isset($_GET['lang'])) {
if($_GET['la

php code generators
All

Whilst enjoying learning a new language i have come accross a number of free code generat

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