Re: [PHP] need help with code

2009-03-22 Thread VamVan
Code without proper indentation and is very hard to comprehend. You have unnecessary spacing and line breaks that makes it difficult to debug. I suggest you few things as a good practice: 1) Until you learn perfectly to code use some nice GUI editors that have syntax highlighting (aptana,

[PHP] need help with code

2009-03-21 Thread Chris Westbrook
I hate asking for help with simple code like this because I can usually figure it out, but I'm stumped on this one. I'm getting a parser error on line 13, whether I comment out the require_once line or not. Can you help? ?php require_once('twitterlib.php');

Re: [PHP] need help with code

2009-03-21 Thread Daniel Brown
On Sat, Mar 21, 2009 at 10:42, Chris Westbrook westbch...@gmail.com wrote: I hate asking for help with simple code like this because I can usually figure it out, but I'm stumped on this one.  I'm getting a parser error on line 13, whether I comment out the require_once line or not.   Can you

Re: [PHP] need help with code

2009-03-21 Thread Virgilio Quilario
I hate asking for help with simple code like this because I can usually figure it out, but I'm stumped on this one.  I'm getting a parser error on line 13, whether I comment out the require_once line or not.   Can you help? ?php require_once('twitterlib.php');

Re: [PHP] need help with code

2009-03-21 Thread Daniel Brown
On Sat, Mar 21, 2009 at 10:54, Virgilio Quilario virgilio.quila...@gmail.com wrote: hi Chris, basing on the code you posted, you're missing the closing brace for if ($accessToken===NULL) { there should be 3 closing braces before the last ? That'll be the next error, but that error

Re: [PHP] need help with code

2009-03-21 Thread Virgilio Quilario
hi Chris, basing on the code you posted, you're missing the closing brace for if ($accessToken===NULL) { there should be 3 closing braces before the last ?    That'll be the next error, but that error would print unexpected $end on line xxx. well, if you're getting the parse error

[PHP] need help/sample code for php/apache/imagemagick

2005-06-17 Thread bruce
hi... i'm considering creating a short test app/game to allow users to use their mouse to select items from a given image/pic. i'd like to be able to take some basic shapes, and construct an image/mosaic from them. i'd then like to be able to display the image to the user, and have the user

Re: [PHP] need help/sample code for php/apache/imagemagick

2005-06-17 Thread Rory Browne
For the determining what part of the picture the user is refering to I'd use image maps - which depending on your situation can be serverside, or clientside. I wouldn't bother with imagemagick, in this case, and just stick to gd. On 6/17/05, bruce [EMAIL PROTECTED] wrote: hi... i'm

[PHP] Need Help Troubleshooting Code That Works Till It Comes to Form at End

2003-09-14 Thread Stephen Tiano
I spent last night trying, overnight brooding (in my sleep), and this morning, finally, finding and fixing the errant line in the code below to get it to display in my browser the entries I made in a test name named users. So I got is to display every column of every entry. But when I tried a

Re: [PHP] Need Help Troubleshooting Code That Works Till It Comes to Form at End

2003-09-14 Thread John W. Holmes
Stephen Tiano wrote: So I got is to display every column of every entry. But when I tried a specialized select statement in the query box provided by the form at the very end of this code, when I pressed the Submit button, nothing changed; I was still left staring at the table of all the info

[PHP] need help converting code to more efficient loop

2002-03-09 Thread Timothy J. Luoma
Hello! I am trying to reduce the size of the code below, which I believe can be simplified. I checked the 'for' entry in the manual as well as googling for some similar code, but did not have any luck. Here is what I have: $ICON_COUNT=0; if ($SHOW_WAI_ICON != no) { $ICON_COUNT++ ;

Re: [PHP] need help converting code to more efficient loop

2002-03-09 Thread Jason Wong
On Saturday 09 March 2002 18:08, Timothy J. Luoma wrote: Hello! I am trying to reduce the size of the code below, which I believe can be simplified. I checked the 'for' entry in the manual as well as googling for some similar code, but did not have any luck. Here is what I have: