RE: [PHP] PHP Error

2001-04-23 Thread jessica

Yeah right...

Sure, we can use ob_start(), but the poster of original message apparently
does not make any use of these functions , 
therefore his problem is easily solvable by just keeping track of output
start rather then creating a whole buffering system.

After all, why would you use some strange (for the poster) functions when he
can just delete the space/newline after ?>   ?

Thanks for suggesting an alternative.

Maxim Maletsky
www.PHPBeginner.com




-Original Message-
From: Jochen Kaechelin [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 09, 2001 6:49 PM
To: Maxim Maletsky
Subject: RE: [PHP] PHP Error


> it says that on line 15 of settings.php there's an output.
> 
> you need to set cookies BEFORE any output.
> 

that's not quiet right! you can use the 
output buffering functions such as ob_start()
to avoid this problem!

--
phpArbeitsgruppe in Gruendung - Jochen Kaechelin
Stuttgarter Str.3, D-73033 Goeppingen
Tel. 07161-92 95 94, Fax 07161-92 95 98
http://www.php-arbeitsgruppe.de, mailto:[EMAIL PROTECTED]


 Emanuel.exe

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]


[PHP] Re: Job Opportunity

2003-01-20 Thread Jessica Gillert
Mr. Hunter,
My apologies for the delay in following back up with you.
My client has expressed interest in  talking with you.  I am in the process of pinning 
them down on whether they would like to do a phone or face-to-face interview - and 
also what their schedule/time frame is.  I will follow up with you as soon as I hear 
back.  Please give me an idea of what might work best for you so I can coordinate 
accordingly.
Thanks!
Jessica

Jessica K. Gillert
Account Manager
Hall Kinion ...  "The Talent Source for Emerging Technologies"
www.hallkinion.com
801.322.2225   x206
801.322.2205   fax



[PHP] problem with a while loop

2004-05-06 Thread Jessica Mays
From: [EMAIL PROTECTED]
Subject:problem with a while loop
Date:   May 6, 2004 11:25:28 AM EDT
To:   [EMAIL PROTECTED]
Hey everybody!
I am new to php (and mySQL) and I am working on a php page that links 
up to a mySQL database.  My current code works up to a point, BUT what 
happens is that I try to have a while loop and check a variable with an 
inner while loop but it only catches after the first complete cycle.

Basically, some producers will only call up one row, but you always get 
2 at the minimum with this code below.  I have tried lots of different 
things which all lead to the second row endlessly repeating or the page 
not loading at all.

Any ideas?  Please email me directly since I am on the digest. Thanks
Jessica
(Also, I am new to this list and if this email is in the wrong format I 
apologize.)

CODE :

  $query = "select * from wine where REGION like 'California' order by 
PRODUCE,DESCRIPT,VINTAGE";

  $result = mysql_query($query);
  $num_results = mysql_num_rows($result);
  echo "Number of wines found: ".$num_results."";
  $i =0;
  while ($i < $num_results)   {
$row = mysql_fetch_array($result);
$producer = $row["PRODUCE"];
		echo "";
 	echo stripslashes($row["PRODUCE"]);
		echo "";
		
		$color = "#cc";
		echo "";

// id number
echo stripslashes($row["INVID"]);
echo "";
// vintage
 echo stripslashes($row["VINTAGE"]);
 echo " ";

// description
echo stripslashes($row["DESCRIPT"]);
echo " ";
// bottle size
if ($row["BOTSIZE"] != "750ml"){
echo "";
echo stripslashes($row["BOTSIZE"]);
echo "";
}

if ($row["NOTES"] != ""){
echo "";
echo stripslashes($row["NOTES"]);
echo "";
}

echo "";

// list price
echo "";
 echo stripslashes($row["WINENUM"]);
 echo "";

// sale price
echo "";
 echo stripslashes($row["SALEPRICE"]);
echo "";


while (  $producer == $row["PRODUCE"]) {

if ($color == "#ccdd99")
$color = "#cc";
else
$color = "#ccdd99";

$row = mysql_fetch_array($result);

echo "";

// id number
echo stripslashes($row["INVID"]);
echo "";

// vintage
 echo stripslashes($row["VINTAGE"]);
 echo " ";

// description
echo stripslashes($row["DESCRIPT"]);
echo " ";
// bottle size
if ($row["BOTSIZE"] != "750ml"){
echo "";
echo stripslashes($row["BOTSIZE"]);
echo "";
}

if ($row["NOTES"] != ""){
echo "";
echo stripslashes($row["NOTES"]);
echo "";
}

echo "";

// list price
echo "";
 echo stripslashes($row["WINENUM"]);
 echo "";

// sale price
echo "";
 echo stripslashes($row["SALEPRICE"]);
echo "";

++$i;
}

echo " ";
++$i;
  }


?>


[PHP] Passing values to PHP

2004-03-30 Thread Ciemny, Jessica
Hey every, I'm new to the group and to PHP (3 days now) and I would like to
ask a question. I purchased a book on PHP a day or so ago and as I'm going
through the book it comes to a point where it talks about passing html form
values to PHP. So I type up the examples from the book, both the html file
and the PHP file and I run it and I don't get anything when the PHP file is
accessed. H puzzling! I don't get any errors at all, but the values just
aren't coming across.

The book says that I should be able to take the "name=xyz" value from the
HTML form and just use it as a regular variable ($xyz) in the PHP file. But
this doesn't work. 

After much digging on web pages and through email lists I found reference to
something called the $_POST variable. This seems to be the only way that I
can make the PHP file use the "name=xyz" values from the HTML file. So in
the PHP file I would have to use the variable "$_POST[xyz]" to get the form
value returned. 

Anyone have any ideas as to what's up. I hope its just something silly that
I'm missing being a newby to PHP and all.

I will include small versions of the file here for reference:

HTML FILE
-



Please enter your name:






PHP FILE (Doesn't Work)
-





PHP FILE (Does Work)
-




So I guess my question ultimately is, what are the different ways in which
form data can be passed to a PHP script?

Thanks you,

Jessica 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] php/perl module

2001-07-18 Thread jessica lee tishmack

Is there any way for php to call a perl module?  If so, would I need to do
some sort of include (like the Perl "use THIS;")?  I don't know if this
can even be done, but thanks in advance.

Jessica


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] set var in PHP

2001-07-18 Thread jessica lee tishmack

In html, I can do



How do I do this in PHP?

Thanks,
Jessica


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] set var in PHP clarified

2001-07-18 Thread jessica lee tishmack

Thanks for the prompt replies...but I think I should clarify...

In regular html, I would do this:




and header.html would have in it (among other things):



So, the title of the webpage would be "some title here"...

How can I accomplish the same thing in PHP?

Thanks,
Jessica





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]