Search found 487 matches

by psychotomus
Fri Aug 07, 2009 4:36 pm
Forum: PHP - Code
Topic: Combining PNG Images?
Replies: 7
Views: 428

Re: Combining PNG Images?

cool cool thanks thanks
by psychotomus
Thu Aug 06, 2009 2:41 pm
Forum: PHP - Code
Topic: Combining PNG Images?
Replies: 7
Views: 428

Re: Combining PNG Images?

I done looked through the GD image functions. didnt find nething unless I overlooked it. I look again.
by psychotomus
Thu Aug 06, 2009 12:35 pm
Forum: PHP - Code
Topic: Combining PNG Images?
Replies: 7
Views: 428

Combining PNG Images?

I don't think my png images have transparency, so how would I go about making them transparent then combing them?


Image
Image
by psychotomus
Mon Aug 03, 2009 4:50 pm
Forum: PHP - Code
Topic: mergegif class. how do I use it?
Replies: 3
Views: 442

Re: mergegif class. how do I use it?

looks like id rather use Image Magick. I can see its installed on my server but the following code i got from a site to test if it works doesn't work.. <?php   header('Content-type: image/png');   $image = new Imagick('data/games/1-9.png');   // If 0 is provided as a width or height parameter, // as...
by psychotomus
Mon Aug 03, 2009 2:30 am
Forum: PHP - Code
Topic: mergegif class. how do I use it?
Replies: 3
Views: 442

mergegif class. how do I use it?

anyone know how to use the mergegif class?
by psychotomus
Wed Jul 29, 2009 4:17 pm
Forum: Javascript
Topic: changing text with image map.
Replies: 0
Views: 293

changing text with image map.

http://www.tacticalrpgengine.com/demo/testz.htm

I have this image map with mouseover calling a ja vascript function thats SUPPOSE to update some area of text with different text depending upon where the mouse is scrolled over, but its not working. can anyone see why?
by psychotomus
Wed Jul 29, 2009 1:36 am
Forum: PHP - Code
Topic: Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_ST
Replies: 2
Views: 264

Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_ST

Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting '}' in /home/allfoodm/public_html/admin/bot.php on line 52 whats going on here???????? line 52 is: echo "<option value='$rr->categoryName'>$rr->categoryName</option>"; <?php     require_once("function.php"...
by psychotomus
Mon Jul 27, 2009 8:02 pm
Forum: PHP - Code
Topic: imagepng
Replies: 1
Views: 105

imagepng

Ok. So I can save my image. It changes every time someone submits a form, but it doesn't change the image on the page itself. you need to refresh the page to get it to display the new image. how can I fix this? //save image imagepng($bg, "data/games/$gameid.png"); all {VAR} is replaced wit...
by psychotomus
Sun Jul 26, 2009 8:57 pm
Forum: Javascript
Topic: wztooltip
Replies: 1
Views: 381

wztooltip

anyone familar with it? How do I place a form inside of it?
by psychotomus
Sun Jul 26, 2009 8:03 pm
Forum: PHP - Code
Topic: Image library - generating a map
Replies: 1
Views: 280

Image library - generating a map

I have 100 tiles i need to place like 01,02,03,04,05,06,07,08,09,10 11,12,13,14,15,16,17,18,19,20 ect. My code doesn't work to well. it creates a empty file. i get no errors so i must be heading in the right direction: heres what i got so far: function generate_map($gameid, $userid) {     //game inf...
by psychotomus
Wed Jul 22, 2009 6:10 pm
Forum: PHP - Code
Topic: mySQL WHERE with MULTIPLE AND's and 1 OR
Replies: 5
Views: 310

Re: mySQL WHERE with MULTIPLE AND's and 1 OR

nvm. had wrong var name. lols ;]
by psychotomus
Wed Jul 22, 2009 4:18 pm
Forum: PHP - Code
Topic: mySQL WHERE with MULTIPLE AND's and 1 OR
Replies: 5
Views: 310

Re: mySQL WHERE with MULTIPLE AND's and 1 OR

superdezign wrote:Then that is a problem. Are you sure your variables are defined?
100% sure. cause it inserts correct data into mySQL database if its 0 results which is always.
by psychotomus
Tue Jul 21, 2009 8:32 pm
Forum: PHP - Code
Topic: mySQL WHERE with MULTIPLE AND's and 1 OR
Replies: 5
Views: 310

Re: mySQL WHERE with MULTIPLE AND's and 1 OR

hmm. i get

SELECT id FROM pvpchallenges WHERE ((userid='$userid' AND oppid='$usersid' AND mapid='$map->id' AND status='p') OR (userid='$usersid' AND oppid='$userid' AND mapid='$mapid' AND status='p'))
by psychotomus
Tue Jul 21, 2009 7:07 pm
Forum: PHP - Code
Topic: mySQL WHERE with MULTIPLE AND's and 1 OR
Replies: 5
Views: 310

mySQL WHERE with MULTIPLE AND's and 1 OR

$result = mysql_query("SELECT id FROM pvpchallenges WHERE ((userid='$userid' AND oppid='$usersid' AND mapid='$map->id' AND status='p') OR (userid='$usersid' AND oppid='$userid' AND mapid='$mapid' AND status='p'))") or die(mysql_error()); if(mysql_num_rows($result) == 0) my statement wont ...