[PHP] Re: I-worm/Klez and a GIF query/question

2002-05-04 Thread Jennifer Downey
Ok so is there a tutorial on how to write the code to generate the key and the image? Please point me to it. Thanks Jennifer "R" <[EMAIL PROTECTED]> wrote in message 007501c1f304$3c1607a0$0a6da8c0@lgwezec83s94bn">news:007501c1f304$3c1607a0$0a6da8c0@lgwezec83s94bn... > Hey all, > Whah, talk

[PHP] Columns not displaying as they should

2002-05-01 Thread Jennifer Downey
Hi to everyone, I am having trouble with this snip and wonder if you might help? This is suppose to display the items 5 accross the browser instead it displays them down like this: item 1 item 2 item 3 I want them displayed like this: item1 item 2 item 3 but for some odd reason it wont any i

[PHP] mail() through a form

2002-04-26 Thread Jennifer Downey
Hello to all, I have a mail script with a set of options in a dropdown list that I'm hoping you can help with. Here is the part I wish to get working then after that I can do the rest What I need this to do is send the users name, email address, the option in the drop down list, and the message.

[PHP] Redirect

2002-04-25 Thread Jennifer Downey
Hi to all, I am wondering if there are other ways to redirect users other than using header()? I have a script that if the user doesn't have enough money to buy an item then it directs to one page and if they do then it directs them back to the referring page. Is this possible? Thanks Jennife

[PHP] SQL Warning

2002-04-23 Thread Jennifer Downey
Hi all, Would you please direct your attention to this URL http://testphp.netfirms.com/code1.html Look at the bottom where the big orange commented syntax is and explain what is going on there? Thanks Jennifer -- The sleeper has awaken --- Outgoing mail is certified Virus Free. Checked by A

Re: [PHP] If else question

2002-04-23 Thread Jennifer Downey
I have it. I actually got it! I had the if statement in the wrong place. Here is what I did: if($quantity <1) { echo "Sorry I can't seem to locate this item"; } else { //check if form has been submitted if($submit) { } else { //if the form has not been submitted run the following echo ""

Re: [PHP] If else question

2002-04-23 Thread Jennifer Downey
've got something wrong in your code. > > > > > > Sincerely, > > Maxim Maletsky > Founder, Chief Developer > > www.PHPBeginner.com // where PHP Begins > > > > > -Original Message- > From: Jennifer Downey [mailto:[EMAIL PROTECTED]] >

Re: [PHP] If else question

2002-04-23 Thread Jennifer Downey
u certain the mysql_query() is successful? I ask, because > you > > don't have the "or die()" that SHOULD be on all queries. > > > > Third, have you printed out all the values fetched via mysql_fetch_array() > > to ensure they contain valid data?

Re: [PHP] If else question

2002-04-23 Thread Jennifer Downey
Ok you asked for it. Don't say I didn't warn you. session_start(); $query = "SELECT name FROM {$config["prefix"]}_users WHERE uid={$session["uid"]}"; $ret = mysql_query($query); while($row = mysql_fetch_array($ret)) { $user = $row['name']; $query = "SELECT uid, id, iname, image, quantity, typ

Re: [PHP] If else question

2002-04-23 Thread Jennifer Downey
TECTED]">news:001d01c1eae9$d58f4360$[EMAIL PROTECTED]... > Is this a nested if? (inside another if statement?) > > > > > - Original Message - > From: "Jennifer Downey" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, April

Re: [PHP] If else question

2002-04-23 Thread Jennifer Downey
then it may be a problem > with your parser. That's not really my area of expertise, but it's > something you could look into if no one else has any better ideas :-) > > -Natalie > > -Original Message- > From: Jennifer Downey [mailto:[EMAIL PROTECTED]] > Sent:

Re: [PHP] Browser cache

2002-04-23 Thread Jennifer Downey
PLEASE TAKE THIS OUT OF MY THREAD. I am trying to get an answer to my question. Not yours. Thank you Jennifer "Stuart Dallas" <[EMAIL PROTECTED]> wrote in message 000d01c1eae5$96243450$de01420a@stuart">news:000d01c1eae5$96243450$de01420a@stuart... > José León Serna <[EMAIL PROTECTED]> wrote: > >

Re: [PHP] If else question

2002-04-23 Thread Jennifer Downey
> -Original Message- > From: Jennifer Downey [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, April 23, 2002 12:23 PM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] If else question > > > > > If and else expect to be followed by exactly 1 statement. To aggregate >

Re: [PHP] If else question

2002-04-23 Thread Jennifer Downey
> If and else expect to be followed by exactly 1 statement. To aggregate > multiple statements as one, surround them with {curly braces}. I'm > guessing you didn't do that, and you're seeing the execution of all but > the first of the statements following the else. > > So it should be: > > if (

[PHP] If else question

2002-04-23 Thread Jennifer Downey
Hi all, I am wondering. When you use an if else statement and a condition exists isn't the if part suppose to stop? Then if the condition doesn't exist it is suppose to do something else? I am wondering because I have a form that goes something like this. select such and such from the table if

Re: [PHP] Re: Using one submit button

2002-04-17 Thread Jennifer Downey
Thank you Jason and Kevin for your time and help. Does this look like what I should have? if(isset($update)) for ($i=0; $i"; Jennifer "Jason Wong" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]... > On Thursday 18 April 2002 00:11, Jennifer Downey wrote:

Re: [PHP] Re: Using one submit button

2002-04-17 Thread Jennifer Downey
$i for the $price index as well. > $query = "UPDATE $table SET price = $price[$i] WHERE id = $id[$i]"; > // do update.. > } > } > > -Kevin > > - Original Message - > From: "Jennifer Downey" <[EMAIL PROTECTED]> > To: <[EM

Re: [PHP] Using one submit button

2002-04-16 Thread Jennifer Downey
;[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > user price[] as the name > you'll also need to pass the ids as $id[] > so you know which one you're updating > > -Original Message- > From: Jennifer Downey [mailto:[EMAIL PR

[PHP] Using one submit button

2002-04-16 Thread Jennifer Downey
Hi all, I thought I was going to give php a break today but I can't it's too adicting. I am having a little problem with a submit button in which it is suppose to update records from a form. Here is the code ec

[PHP] PHP MySQL Hosting services

2002-04-13 Thread Jennifer Downey
Hi everyone, I am wondering if anyone has a good hosting service? I am currently with Aletia which has an excellant package good tech support but sometimes not very functional servers. My site has gone down at least 3 times within the last 20 days. Too many for me. It has to be at least 50 mb d

[PHP] Re: Closing curly brackets?

2002-04-13 Thread Jennifer Downey
Well as I have seen lot's of people get yelled at if they post in the wrong list. So rather than letting that happen and risk not getting any help I thought I would apologize and send it to the right list. Anyway the file you sent is it in the correct format? I have asked about a tutorial on prop

[PHP] Re: Closing curly brackets?

2002-04-12 Thread Jennifer Downey
My apologies for putting this in the wrong list. Jennifer "Jennifer Downey" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi everyone, > > I have a question about this code. The way it sits now it always shows the >

[PHP] Closing curly brackets?

2002-04-12 Thread Jennifer Downey
Hi everyone, I have a question about this code. The way it sits now it always shows the last record in the table. in other words if the user has 6 items, like: item id 1 item id 2 item id 5 item id 6 item id 7 item id 8 it will only show the last record item id 8. I believe it has something to

[PHP] Re: Forms in PHP

2002-04-11 Thread Jennifer Downey
Actually after the submit button is clicked it returns a blank page. "Jennifer Downey" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi all, > > Now I have a weird problem. I am using this code and can't understand why i

[PHP] Forms in PHP

2002-04-11 Thread Jennifer Downey
Hi all, Now I have a weird problem. I am using this code and can't understand why it doesn't work. When the script is run it returns a blank page, no error or done. here it is and any help would be appreciated. if(($type == book) or ($type == weapon)){ echo ""; echo ""; echo "Put

[PHP] Re: Tutorial on proper code formating

2002-04-11 Thread Jennifer Downey
Thank you all for your input. I will read through the tutorial and then figure out which style I want to use. I appreciate your time. Jennifer "Jennifer Downey" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi all, > > Cou

[PHP] Tutorial on proper code formating

2002-04-11 Thread Jennifer Downey
Hi all, Could someone point me to a tutorial on the proper way to format code. To make it more readable. TIA Jennifer --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.344 / Virus Database: 191 - Release Date: 4/2/2002 -- PHP

[PHP] Getting user name in text area

2002-03-28 Thread Jennifer Downey
Hi all, Here is what I have and what I am trying to do. I would like the user name to be printed in the Username text box but can't seem to get it there. I don't want the user to have to type there username in, just click the submit button and it is entered into the db. Can anyone show me what

[PHP] MySQL and indexes

2002-03-18 Thread Jennifer Downey
rchar(20) NOT NULL default '', pet_date date NOT NULL default '-00-00', num_pets int(1) NOT NULL default '0', ) TYPE=MyISAM; Thanks Jennifer Downey -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] DHTML Trouble please help

2002-03-13 Thread Jennifer Downey
Hi all, I am no DHTML expert and don't even know the language also didn't know where to post this. But after today I am going to learn. I downloaded a tetris game from Dynamic Drive: http://www.dynamicdrive.com/dynamicindex12/tetris/index.htm Have a look. I would add it here but it's too long.

[PHP] Random number Question

2002-03-12 Thread Jennifer Downey
r.php: You have won!"; }else{ print("Sorry that wasn't the answer"); } ?> Any help would be appreciated. Thanks in advance Jennifer Downey -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php