Re: [PHP] Still trying to figure this out...

2006-06-22 Thread Richard Lynch
On Tue, June 20, 2006 1:37 am, Rob W. wrote: I still have not yet found anybody to help me with this. All the code that people have given me has not worked at all. I still get no output. So to add a little more to this, I'm gonna define how the database looks.

Re: [PHP] Still trying to figure this out...

2006-06-22 Thread Richard Lynch
Damn. Tack on this at the end: $max_port = 2048; for ($p = $last_port + 1; $p $max_port; $p++) echo $p is openbr /\n; On Tue, June 20, 2006 1:37 am, Rob W. wrote: I still have not yet found anybody to help me with this. All the code that people have given me has not worked at all. I

Re: [PHP] Still trying to figure this out...

2006-06-20 Thread Rob W.
I still have not yet found anybody to help me with this. All the code that people have given me has not worked at all. I still get no output. So to add a little more to this, I'm gonna define how the database looks. -- |switchid|switchport |

Re: [PHP] Still trying to figure this out...

2006-06-20 Thread Chris
Rob W. wrote: I still have not yet found anybody to help me with this. All the code that people have given me has not worked at all. I still get no output. So to add a little more to this, I'm gonna define how the database looks. -- |switchid|

Re: [PHP] Still trying to figure this out...

2006-06-20 Thread Rob W.
to help with what I wanted. - Rob - Original Message - From: Chris [EMAIL PROTECTED] To: Rob W. [EMAIL PROTECTED] Cc: php-general@lists.php.net Sent: Tuesday, June 20, 2006 1:39 AM Subject: Re: [PHP] Still trying to figure this out... Rob W. wrote: I still have not yet found anybody

Re: [PHP] Still trying to figure this out...

2006-06-20 Thread Robert Cummings
On Tue, 2006-06-20 at 02:37, Rob W. wrote: I still have not yet found anybody to help me with this. You found PLENTY of people to help you on this. PLENTY of people gave you perfectly valid solutions. YOU have a problem elsewhere that we are unable to ascertain due to our current inability to

Re: [PHP] Still trying to figure this out...

2006-06-20 Thread Jochem Maas
, June 20, 2006 1:39 AM Subject: Re: [PHP] Still trying to figure this out... Rob W. wrote: I still have not yet found anybody to help me with this. All the code that people have given me has not worked at all. I still get no output. So to add a little more to this, I'm gonna define how

Re: [PHP] Still trying to figure this out...

2006-06-20 Thread Rob W.
Message - From: Jochem Maas [EMAIL PROTECTED] To: Rob W. [EMAIL PROTECTED] Cc: php-general@lists.php.net Sent: Tuesday, June 20, 2006 3:54 AM Subject: Re: [PHP] Still trying to figure this out... Rob W. wrote: OMG Chris, Thankyou very much. That is exactally what I needed. If you wish

Re: [PHP] Still trying to figure this out...

2006-06-20 Thread Stut
Rob W. wrote: Ya know, after working on this for 2 days straight, I have tried my own work. I never said I was an expert at php, that's why this list is here, so the next time you critisize someone, keep it to your self cause no one cares to hear about it. If you dont wanna help, then stfu.

Re: [PHP] Still trying to figure this out...

2006-06-20 Thread Rob W.
- From: Stut [EMAIL PROTECTED] To: Rob W. [EMAIL PROTECTED] Cc: php-general@lists.php.net Sent: Tuesday, June 20, 2006 4:08 AM Subject: Re: [PHP] Still trying to figure this out... Rob W. wrote: Ya know, after working on this for 2 days straight, I have tried my own work. I never said I

Re: [PHP] Still trying to figure this out...

2006-06-20 Thread Jochem Maas
: Tuesday, June 20, 2006 3:54 AM Subject: Re: [PHP] Still trying to figure this out... Rob W. wrote: OMG Chris, Thankyou very much. That is exactally what I needed. If you wish for me to pay you some amount, I will be very happy to. Please send me a private email where I can paypal you

Re: [PHP] Still trying to figure this out...

2006-06-20 Thread Rob W.
- Original Message - From: Jochem Maas [EMAIL PROTECTED] To: Rob W. [EMAIL PROTECTED] Cc: php-general@lists.php.net Sent: Tuesday, June 20, 2006 4:13 AM Subject: Re: [PHP] Still trying to figure this out... Rob W. wrote: Ya know, after working on this for 2 days straight, I have

Re: [PHP] Still trying to figure this out...

2006-06-20 Thread Jochem Maas
Rob W. wrote: ... Dont complain about people asking for help when that is what this list is for. I wasn't complaining Rob, merely trying to point out that 'help' != 'do my work for me' that's why this list is here, really, could you please quote your support contract number. If

Re: [PHP] Still trying to figure this out...

2006-06-20 Thread tedd
At 11:43 AM +0200 6/20/06, Jochem Maas wrote: a, whether you or anyone else *wants* my opinion is irrelevant. b, I'm quite sure there are a couple of people here that appreciate at least *some* of my input on this list. You can count me into that couple of people group. I've always found your

Re: [PHP] Still trying to figure this out...

2006-06-20 Thread tedd
At 4:19 AM -0500 6/20/06, Rob W. wrote: - Original Message - From: Jochem Maas [EMAIL PROTECTED] To: Rob W. [EMAIL PROTECTED] Cc: php-general@lists.php.net Sent: Tuesday, June 20, 2006 4:13 AM Subject: Re: [PHP] Still trying to figure this out... snip flame city Ahhh crap -- does

Re: [PHP] Still trying to figure this out...

2006-06-19 Thread Jochem Maas
Rob W. wrote: Ok, I am still trying to get this figured out from what I tried doing last night. If anybody wants to try it, please be my guest. This is the deal. Create an INTEGER table. Put the numbers 1 - 24 in it. Leave out like number 8, 9, 22, 23 ect.. I'll assume the DB creation and

Re: [PHP] Still trying to figure this out...

2006-06-19 Thread John Nichel
Jochem Maas wrote: snip echo 'option value=',$port,'',$port,'/option'; snip 2. try to output something that resembles proper HTML (an option without a closing tag sucks) P I never close my option tags that way option value=foo /Bar :-p -- John C. Nichel IV

Re: [PHP] Still trying to figure this out...

2006-06-19 Thread Jon Anderson
John Nichel wrote: P I never close my option tags that way option value=foo /Bar :-p I didn't think this would compute as proper XHTML...Sure enough validator.w3c.org says: Error /Line 10 column 10/: character data is not allowed here. |option /*t*est| You have used

Re: [PHP] Still trying to figure this out...

2006-06-19 Thread tedd
At 5:48 PM -0400 6/19/06, Jon Anderson wrote: John Nichel wrote: P I never close my option tags that way option value=foo /Bar :-p I didn't think this would compute as proper XHTML...Sure enough validator.w3c.org says: Error /Line 10 column 10/: character data is not allowed

Re: [PHP] Still trying to figure this out...

2006-06-19 Thread Jochem Maas
John Nichel wrote: Jochem Maas wrote: snip echo 'option value=',$port,'',$port,'/option'; snip 2. try to output something that resembles proper HTML (an option without a closing tag sucks) P I never close my option tags that way option value=foo /Bar but that's

Re: [PHP] Still trying to figure this out...

2006-06-19 Thread Rob W.
This also didnt work, Still giving me no output just like the last try. - Original Message - From: Xavier Casto To: Rob W. Cc: php-general@lists.php.net Sent: Monday, June 19, 2006 4:33 PM Subject: Re: [PHP] Still trying to figure this out... Have you ever thought

Re: [PHP] Still trying to figure this out...

2006-06-19 Thread Rob W.
Yep, and still nothing output's. - Original Message - From: Xavier Casto [EMAIL PROTECTED] To: 'Rob W.' [EMAIL PROTECTED] Cc: php-general@lists.php.net Sent: Monday, June 19, 2006 6:20 PM Subject: RE: [PHP] Still trying to figure this out... You did make sure to assign a numerical

Re: [PHP] Still trying to figure this out...

2006-06-19 Thread Rob W.
Nope, I still dont get anything back from that. So i'm still stuck in the mud. - Original Message - From: Jochem Maas [EMAIL PROTECTED] To: Rob W. [EMAIL PROTECTED] Cc: php-general@lists.php.net Sent: Monday, June 19, 2006 4:05 PM Subject: Re: [PHP] Still trying to figure this out

Re: [PHP] Still trying to figure this out...

2006-06-19 Thread Robert Cummings
On Mon, 2006-06-19 at 16:39, Rob W. wrote: Ok, I am still trying to get this figured out from what I tried doing last night. If anybody wants to try it, please be my guest. This is the deal. Create an INTEGER table. Put the numbers 1 - 24 in it. Leave out like number 8, 9, 22, 23 ect.. Now

Re: [PHP] Still trying to figure this out...

2006-06-19 Thread Rob W.
PM Subject: RE: [PHP] Still trying to figure this out... Are there any numbers missing in your database table between 0 and the number you assigned to $maxport? -Original Message- From: Rob W. [mailto:[EMAIL PROTECTED] Sent: Monday, June 19, 2006 6:26 PM To: php-general@lists.php.net

Re: [PHP] Still trying to figure this out...

2006-06-19 Thread Richard Lynch
On Mon, June 19, 2006 3:39 pm, Rob W. wrote: $query=SELECT switchport FROM network; $result=mysql_query($query); //If you wanna use fetch_array or whatever, fine. //But I dunno how to use it and don't care to learn. //And haven't felt the need for a decade now. //So there :-) while

Re: [PHP] Still trying to figure this out...

2006-06-19 Thread Jochem Maas
Rob W. wrote: Nope, I still dont get anything back from that. it will AT THE VERY LEAST return the string: 'select name=port/select' do you have any idea what you have in your database??? and have you ever heard of print_r() or var_dump()? you can use them to *investigate* your

Re: [PHP] Still trying to figure this out...

2006-06-19 Thread Rob W.
Nope, still does nothing. - Original Message - From: Xavier Casto [EMAIL PROTECTED] To: 'Rob W.' [EMAIL PROTECTED] Cc: php-general@lists.php.net Sent: Monday, June 19, 2006 6:49 PM Subject: RE: [PHP] Still trying to figure this out... I think the problem is I forgot to reset

Re: [PHP] Still trying to figure this out...

2006-06-19 Thread Rob W.
PROTECTED] Cc: php-general@lists.php.net Sent: Monday, June 19, 2006 7:37 PM Subject: RE: [PHP] Still trying to figure this out... Ok Rob, I tested my code in Oracle (obviously changed for that database type) and discovered I needed to change empty to is_null I had forgotten that empty

Re: [PHP] Still trying to figure this out...

2006-06-19 Thread Robert Cummings
On Mon, 2006-06-19 at 21:09, Rob W. wrote: $range = array_flip( range( 1, 24 ) ); $query = SELECT switchport FROM network ; if( ($result = mysql_query( $query )) !== false ) { while( ($row = mysql_fetch_array( $result )) !== false ) { unset(