Vineet Kumar Saini

Vineet Kumar Saini

  • NA
  • 10.4k
  • 7.4m

Name game in php

Mar 29 2012 9:47 AM
Hi Friends.....


I'm working on a project in PHP. I want to make a name game application. The agenda of name game application are as follows

There are 26 alphabet i.e. A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z.

I assigned the number to each character i.e

A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z.
1  2  3  4  5  6  7   8  9  4  3  2  1  5   6  7  8  9  8  7  6  5  4   3   2  1


Suppose we entered vineet in textbox. Then
v  i  n  e  e  t
5  9  5  5 5 7 = sum of name(number)=36=3+6=9

And also I assigned the text and picture to each number i.e.

1 - Some text and picture

2 -Some text and picture

3 -Some text and picture

4 -Some text and picture

5 -Some text and picture

6 -Some text and picture

7 -Some text and picture

8 -Some text and picture

9 -Some text and picture


Now I want, I entered name is vineet then sum of name is 36 then sum of 36 is 9. Then I want show the text and image of number 9 i.e. according to name(vineet).


Please help me anyone ?






Thanks.......





Answers (1)