help with image text


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

Hi ...

see i need the text of the name and number to start in the center and always be in the center now with the code i have the text starts in the center and goes on to the rite it does not stay in the center any ideas guys?

Did you know?Explore Trending and Topic pages for more stories like this.
here is my code
Code: $white = ImageColorAllocate($im, 255, 255, 255);
$start_xx = 80; $start_yy = 50;
$start_x = 70; $start_y = 90;
Imagettftext($im, 15, 0, $start_xx, $start_yy, $white, 'image1.ttf', $_GET['name']);
Imagettftext($im, 35, 0, $start_x, $start_y, $white, 'arial.ttf', $_GET['number']);
Thanks
No comments posted yet

Your Answer:

Login to answer
283 Like 36 Dislike
Previous forums Next forums
Other forums

Looking for help on using joining mysql tables and php....
Does anyone have any good links to references on how to pull mysql data, through joining tables and

Variable Clash
In the past I've had variables clash. For example:

Code: <?php
$c = 5;
$ca

Inserting a variable in a link
I have this code that I want to insert for my own variable but I have no idea how. This is what I wa

MySQL noob question
hi guys

I have a simple mysql table set up, along the lines of

Col 1 - Col 2 - Date_l

PL/SQL: ORA-00947: not enough values error message
Hi all i am getting Error(25,63): PL/SQL: ORA-00947: not enough values error message when executing

Execure stored procedure on a timer
Can someone tell me an easier way to execute a stored procedure on a timer? I am using Oracle 10g R

There was a problem with the request. (Code: 0)
Any Idea what could cause this? I get it randomly at best. But with both IE and FF. It derives from

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

Help with PHP Calendar code...
Hello, I'm new to this forum and I'm glad I found it.
I wrote this code for a PHP calendar as an

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

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

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