[PHP] Column count doesn't match value count at row 1?

2003-02-07 Thread Jeremy Bowen
Hey,

I can't seem to figure this out. I am modifying some else's script I added
some rows to the myself database and no I get this error when I try to add
information to the database.

I am searching the docs but I can't seem to find the answer.

Thanks,

Jeremy



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




[PHP] Date?

2002-06-08 Thread Jeremy Bowen

Hello,

I am having nothing but trouble with the date function. I want it to print
out a date like this: Saturday June 8, 2002 but as soon as I put spaces or
comma's in the string I get parse errors. I can get it to print
SaturdayJune082002 with   I have tried escaping with
\ but it seems to make no difference.

Any ideas?

Thanks,

Jeremy


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




[PHP] Fw: Excel Spreadsheet

2002-06-09 Thread Jeremy Bowen

Hello All,

I was working on a little php today and I remembered that I had another
project that I wanted to do. I have a fairly complicated excel spreadsheet
that helps me price a service I provide and I would like to be able to have
fields on my website that can be filled in and the data passed throught the
spreadsheet (through whatever manner) and the pricing info delivered back to
the client.

I have no idea how to do this and I thought that maybe some of you have done
projects like this and would have an idea of where I should start.

 Thanks,

Jeremy
>


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




[PHP] Mailing all the elements of a form

2002-07-06 Thread Jeremy Bowen

Hey,

I have looked in PHP manual but I cannot seem to find what I am looking for.

I have a very large form that I need to be able to mail. I just don't want
to have to code all of the field into my mail() function.

Thanks,

Jeremy


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




[PHP] Escape characters

2001-01-13 Thread Jeremy Bowen

Hey All,

I am sending e-mail using the mail() command. My question is whenever
an ' is used in the e-mail it is escaped like this: don\'t. Is there any way to
prevent this??

Thanks,

Jeremy 

-- 
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] Can a PHP program recieve an e-mail and write it to a file???

2001-01-18 Thread Jeremy Bowen

Hey,

Here is what I need to do, I need to have a PHP script recieve an e-mail and
write it to a file after erasing whatever was in the file before.

I suppose that it should have some sort of authentication built in to prevent
people from e-mailing PHP code that could be processed and do bad things.

Is there any way to do this? Can a PHP script recieve and e-mail?

Could the e-mail be written to a mail queue say [EMAIL PROTECTED]
and the script periodically check the mail queue for new e-mail print its
contents to a text file somewhere in the serverroot and then erase the mail
queue???

Does this sound possibile???

Thanks,

Jeremy

-- 
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] Multiple Page Form

2001-01-23 Thread Jeremy Bowen

hey,

I am sure this is a dumb question but, I cannot seem to find out what i am
doing wrong. 

I have a three page form, it basically takes a users input, displays it on the
next page to make sure the users info is correct (i store the variables on
this page in a form in hidden input tags), when the user clicks subscribe on
this page it is supposed to go on to the third page which is a confirmation
page. We instead of doing that it just reloads the page and resets all of the
values!

My form looks something like this (This is a simplified version):










}

elseif ($action="Send")

{


PAGE TWO




$name 
$email 





}

elseif ($action="Send")

{


Thanks for Subscribing!

mail("Args","Args","Args");

}

?>

I have looked on php.net but i cannot seem to find docs on how to do this!

Thanks,

Jeremy






 

-- 
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] Top Frame

2001-05-09 Thread Jeremy Bowen

Hey,

I have a pae where a variable is passed to a frameset. the main frame then
loads whatever page the use wants. What I want to do is be able to use the
variable in the frame themselves. I can't seem to grab that variable for the
frames, it works perfectly for the frame set just not the individual frames! 

Is there a way to capture that variable for the frames?

My url looks like this: www.anysite.com/showfame.phtml?url=www.anothersite.com

Thanks,

Jeremy

-- 
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] Printingt Variables in Included Text

2001-06-20 Thread Jeremy Bowen

Hey,

I have a website where I use header and footer files in a "includes" director
to establish the header and footer of each page. They are pretty simple, mostly
straight up html.

The website is kind of an online magazine and what I want to do is print pull
quotes out of each story. 

So in my file lests say index.phtml I have:






---
In the header file I have 

It doesn't work!!!

My problem is that I cannot get the variables to print in the included text.
Isn't the include text run through the pre-processor? What am I doing wrong
here?

I want one pullquote to print in the header fil and one in the footer. I am
going nuts trying to figure out what the problem is!

Thanks,

Jeremy

-- 
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] Determining what kind od software a remote server is running

2001-02-19 Thread Jeremy Bowen

Hey,

A while back someone posted a link to a page where you can enter a url and the
page returns the type of software the remote server is running.

Did anyone save that link?

Thanks,

Jeremy 

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