hi everyone,
i know this one is quite tricky but can anyone help me out ?
The story goes like this :
1> i have to make an image (the image is attached) using gd function.(first, second houses written are just for identification)
2>now i have(previously calculated) 12 int variables in an array and corresponding to 12 int variables 9 character variable in another array(two dimensional array to be more precise).
one int variable can contain any number of char (i.e 9) and once the char is assigned, it is not taken in to account for the next int variable.
3> now these data have to be fit in to the above image.
4> The first house is the place from where we start filling the data.First we fill the integer variables in all the 12 houses. if suppose first house is 5 then accordingly the next house will be incremented by 1 till it reaches 12 after 12 it is made again 1 so the twelth house will be 4 (in case the first house is 5) and this goes so on for different numbers of first house. (the above integer variables are previously calculated and are stored in the array. )
5> Now the filling of the char variable in the houses. We have 9 chars to be filled in the 12 houses no char is repeated. (for above eg)Now suppose the int variable 5 corresponds one char namely 'MAR' then the first house should have MAR written in it along with int variable. A house can contain any number of chars.
If you find it hard to understand please reply, i will give you an visual link to understand.
I want the above to be implemented using php image functions.
please can anyone one help me out ?
Please Please...