Re: [PHP] helping people...

2006-06-21 Thread Rob W.
(208.107.101.135):SA:0(-1.9/4.5):. Processed in 3.519899 secs Process 86212) Received: from host-135-101-107-208.midco.net (HELO rob) ([EMAIL PROTECTED]@208.107.101.135) by mail.fiberuplink.com with SMTP; 20 Jun 2006 23:46:52 - Message-ID: [EMAIL PROTECTED] From: Rob W. [EMAIL PROTECTED] To: [EMAIL PROTECTED

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

2006-06-20 Thread Rob W.
solving this problem as I have been on it for 2 days now and this is the last bit of code for this program that is holding me up. Please read below for more information on what I am doing. - Original Message - From: Rob W. [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Monday

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 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 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 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

[PHP] Array

2006-06-19 Thread Rob W.
$query=SELECT switchport FROM network; $result=mysql_query($query); $sql_range=array($result['switchport']); Anybody tell me what i'm doing wrong and why this isnt going in to an array?

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

2006-06-19 Thread Rob W.
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 create a php statement that will take and pull

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 Rob W.
Yeah, that's what i'm trying to print is the missing numbers in the db. That's what I've been trying to figure out this whole time. - Original Message - From: Xavier Casto [EMAIL PROTECTED] To: 'Rob W.' [EMAIL PROTECTED] Cc: php-general@lists.php.net Sent: Monday, June 19, 2006 6:34

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.
as $switchport = $foo ) { echo 'option value='.$switchport.''.$switchport.'/option'.\n; $result = 0; } With that, I dont get anything, Not sure what you mean by empty to is_null ect.. - Rob - Original Message - From: Xavier Casto [EMAIL PROTECTED] To: 'Rob W.' [EMAIL

[PHP] mysql ORDER BY problem

2006-06-18 Thread Rob W.
Ok, here's what i got in my mysql db. I got a table listed with numbers as follows 1 2 3 4 5 6 7 10 11 12 13 14 15 16 17 18 19 20 21 22 25 These numbers I can display fine. I'm using .. $query=SELECT * FROM db ORDER BY numbers ASC; Right now it displays it as 1 10 11 12 . 2 22 23 25

Re: [PHP] Re: mysql ORDER BY problem

2006-06-18 Thread Rob W.
It's not in general to mysql, it's how php and mysql is displaying it. - Original Message - From: Michael Rasmussen [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Sunday, June 18, 2006 4:51 PM Subject: [PHP] Re: mysql ORDER BY problem On Sun, 18 Jun 2006 15:55:14 -0500, Rob

Re: [PHP] mysql ORDER BY problem

2006-06-18 Thread Rob W.
Yeah, I got this problem fixed. The datbase was listed under [chr] instead of [integer]. Thanks for the help though. - Original Message - From: Xavier Casto To: Rob W. Cc: php-general@lists.php.net Sent: Sunday, June 18, 2006 7:30 PM Subject: Re: [PHP] mysql ORDER

[PHP] Ok next php problem

2006-06-18 Thread Rob W.
I got the previous question answered, Now here's my next problem. With the numbers displaying correctly again I got: 1 2 3 4 5 6 7 10 11 12 13 14 15 16 17 18 19 20 21 22 25 listed in that order in the database Now i'm trying to figure out how to write a syntax saying that if like number 8

Re: [PHP] Re: Ok next php problem

2006-06-18 Thread Rob W.
=$maxnum; $num++) { $query=SELECT * FROM db where numbers=.$num; echo $num. - .$data.br; } Rob W. [EMAIL PROTECTED] escreveu na mensagem news:[EMAIL PROTECTED] I got the previous question answered, Now here's my next problem. With the numbers displaying correctly again I got: 1 2 3 4 5

Re: [PHP] Ok next php problem

2006-06-18 Thread Rob W.
they are not scripted statically. - Original Message - From: Chris [EMAIL PROTECTED] To: Rob W. [EMAIL PROTECTED] Cc: php-general@lists.php.net Sent: Sunday, June 18, 2006 8:38 PM Subject: Re: [PHP] Ok next php problem Rob W. wrote: I got the previous question answered, Now here's

[PHP] Javascript PHP

2006-06-16 Thread Rob W.
Ok. I am trying to figure out if this would be the correct thing to do. I start off with Java script that looks like this. /* function getType(what,available,owner) { var serverid = serveradd.serverid.value; var cabinetid = serveradd.cabinetid.value; var rowid =

Re: [PHP] Javascript PHP

2006-06-16 Thread Rob W.
Well i'm trying to figure out how to bind the php variables to the javascript variables after I pull them out of the mysql database. - Rob - Original Message - From: Jochem Maas [EMAIL PROTECTED] To: Rob W. [EMAIL PROTECTED] Cc: php-general@lists.php.net Sent: Friday, June 16, 2006 4

Re: [PHP] Javascript PHP

2006-06-16 Thread Rob W.
Well for example when I pull my mysql db variable $serverid=mysql_result($result,$i,serverid); How do I bind it so this ^^ to the java var below? var serverid = serveradd.serverid.value; - Rob - Original Message - From: Jochem Maas [EMAIL PROTECTED] To: Rob W. [EMAIL PROTECTED] Cc

Re: [PHP] Javascript PHP

2006-06-16 Thread Rob W.
Yeah, I think something like that might work. ( I also know it's javascript and not java - Little tired being up @ 5am and havnt slept for over 24 hrs already. ) - Rob - Original Message - From: Jochem Maas [EMAIL PROTECTED] To: Rob W. [EMAIL PROTECTED] Cc: php-general

Re: [PHP] Automatic email sending

2006-06-16 Thread Rob W.
If you have a unix box, Use cron to run a script to exec a php file to do it. If you have a windows box, you can setup a scheduled time to run a php file as well. - Rob - Original Message - From: Murtaza Chang [EMAIL PROTECTED] To: php-general-digest@lists.php.net;

Re: [PHP] Getting totals

2006-06-07 Thread Rob W.
Yeah, it counts how many times block is in $address, so if there's 254 ip's listed in the database, it will incriment it 254 times and display that. - Original Message - From: Rabin Vincent [EMAIL PROTECTED] To: Rob W. [EMAIL PROTECTED] Cc: php-general@lists.php.net Sent: Wednesday

[PHP] Removing an aspect of a variable...

2006-06-06 Thread Rob W.
Say I have a variable setting an ip address of 192.168.100.0 I want to be able to remove the last to chr's of that variable ie: .0 What would be my best solution to do that?

Re: [PHP] Removing an aspect of a variable...

2006-06-06 Thread Rob W.
Tnx. - Original Message - From: rich gray [EMAIL PROTECTED] To: Rob W. [EMAIL PROTECTED] Sent: Tuesday, June 06, 2006 2:44 AM Subject: Re: [PHP] Removing an aspect of a variable... substr($variable,0,-2); Rob W. wrote: Say I have a variable setting an ip address of 192.168.100.0

[PHP] Getting totals

2006-06-06 Thread Rob W.
Ok, Here is my next problem. Inside my database, I have a list of ip's of about 10 blocks 192.168.100.0 all the way though 255 along with 192.168.101.0 though 255 and 192.168.102.0 though 255 and soforth My problem is, is i'm trying to figure out a pattern to match so I can count how many ip's

Re: [PHP] Getting totals

2006-06-06 Thread Rob W.
PROTECTED] To: Rob W. [EMAIL PROTECTED] Sent: Tuesday, June 06, 2006 1:16 PM Subject: Re: [PHP] Getting totals i may be missing something in your description, but does turning the first and last ipnumber in a block into its integer representation, and then doing the math (subtraction) to get

Re: [PHP] Getting totals

2006-06-06 Thread Rob W.
if (strstr(192.168.100,192.168.100.10)) { $inc++; } echo $inc; That returns nothing. What am i still doing wrong? - Original Message - From: Rabin Vincent [EMAIL PROTECTED] To: Rob W. [EMAIL PROTECTED] Cc: php-general@lists.php.net Sent: Tuesday, June 06, 2006 1:36 PM Subject: Re

Re: [PHP] Getting totals

2006-06-06 Thread Rob W.
Sorry for the miss understanding, That's the way the viarable will look, i'm putting it in as a viariable. if (strstr($block,$address)) { $inc++; } - Original Message - From: Richard Lynch [EMAIL PROTECTED] To: Rob W. [EMAIL PROTECTED] Sent: Tuesday, June 06, 2006 8:58 PM Subject

Re: [PHP] Getting totals

2006-06-06 Thread Rob W.
] To: Rob W. [EMAIL PROTECTED] Cc: php-general@lists.php.net Sent: Tuesday, June 06, 2006 11:38 PM Subject: Re: [PHP] Getting totals On 6/7/06, Rob W. [EMAIL PROTECTED] wrote: Sorry for the miss understanding, That's the way the viarable will look, i'm putting it in as a viariable. if (strstr($block

[PHP] Displaying data a certian way.

2006-06-04 Thread Rob W.
Ok, here's my issue that I have. Inside my database I have something that look's like this idserveridcabinetidect... - 1 server11 2 server21 3 server31 I am trying to

Re: [PHP] Displaying data a certian way.

2006-06-04 Thread Rob W.
Just to clarify a little more, I want the output to do something like this... -- | Cabinet 1 | -- Server 1 Server 2 Server 3 and so forth... - Original Message - From: Rob W. [EMAIL PROTECTED] To: php-general

Re: [PHP] Displaying data a certian way.

2006-06-04 Thread Rob W.
That worked. Thanks. - Original Message - From: Chris [EMAIL PROTECTED] To: Rob W. [EMAIL PROTECTED] Cc: php-general@lists.php.net Sent: Sunday, June 04, 2006 10:59 PM Subject: Re: [PHP] Displaying data a certian way. Rob W. wrote: Ok, here's my issue that I have. Inside my

RE: [PHP] Escaping Chars

2003-02-07 Thread Walls Rob W Contr 75 CS/SCBS
Thanks for the reply, but I still can't seem to make the connection... If I enter the value 123\/' in a web form and put the form post value directly into the db (no stripslashes or any other function), the value as reported by the db at a command line query is 123\/' (it LOOKS like the same