[PHP] submitting free-form text to a database

2001-07-16 Thread garman
Hello. I'm creating a simple "Classifieds" PHP application. It allows users to view classifieds by category, and add new items to the database. For now, I'm using MS Access 97 as my database (although eventually I would like to switch to MySQL). Anyway, one element of a classified is the de

RE: [PHP] "report" generation with PHP

2001-07-16 Thread garman
>= Original Message From Morten Winkler Jørgensen <[EMAIL PROTECTED]> = >Hi Matthew, > >MG> Now I want to be able to generate this report from the web. It doesn't >MG> have to use Access (and I would prefer that it didn't, so I can convert to >MG> MySQL). But I don't know of a nice (and

RE: [PHP] submitting free-form text to a database

2001-07-16 Thread garman
>= Original Message From Duncan Hill <[EMAIL PROTECTED]> = >On Mon, 16 Jul 2001, garman wrote: > >> box where the user enters a description of the item he is selling. >> If the user's input contains an apostrophe (aka a single quote "'") &g

[PHP] inserting free-form text with quotes to mysql

2001-07-20 Thread garman
I'm creating a specialized "suggestion box" type of web application in PHP. I'm using MySQL for data storage. Whenever I try to submit text that contains a double quote character ("), the submission gets truncated at the first occurance of a double quote and beyond. Single quotes don't seem t

RE: [PHP] inserting free-form text with quotes to mysql

2001-07-20 Thread garman
Dude! I already said that wasn't working :) MG >= Original Message From "Jason Bell" <[EMAIL PROTECTED]> = >$newstring = addslashes($oldstring); > >then, use $newstring for everything should work. > >- Original Message - >From:

[PHP] storing team members---suggestions on approach?

2001-08-06 Thread garman
I've got a fairly simple problem, and I'm not really sure how to approach it. I'm creating a website for team projects, where the project information is stored in a MySQL database. I want folks to be able to name their project, indicate it's length, have a verbal description, etc. The gather

[PHP] dynamic checkboxes?

2001-08-06 Thread garman
I have a form that generates a list of "categories" dynamically. That is, for each category in a database, the form has a corresponding checkbox. The checkboxes are given serialized names, such as "chkbx1", "chkbx2", etc. I'm having trouble figuring out how to process these in the php script

[PHP] checking for null form fields fails

2001-08-06 Thread garman
For all of my HTML forms, I put in some JavaScript to check and make sure no fields are left blank. When the forms are processed in PHP, I also perform a check to make sure the forms fields aren't null (redundant, I know). Anyway, on a form I just made, both JavaScript and PHP think the form h

[PHP] getting an auto increment value immediately after insert

2001-08-06 Thread garman
Hello: I'm inserting some information into a MySQL database via a PHP script. A handful of various information is put into the database via the "INSERT INTO..." SQL command. Each entry has a unique, auto increment field that acts as an index number for that entry. I can't seem to figure out

[PHP] "report" generation with PHP

2001-07-16 Thread Matthew Garman
, and point me in the right direction, it would be sincerely appreciated! Thanks, Matt -- Matt Garman, [EMAIL PROTECTED] "I'll tip my hat to the new constitution, Take a bow for the new revolution Smile and grin at the change all around, Pick up my guitar and play Just like yesterday

[PHP] php file extensions with IIS

2001-07-16 Thread Matthew Garman
been using Linux exclusively for the last few years, so I'm not too Windows savvy. But I'm working at an internship where everything is Windows-based, so I'm a bit lost (but feeling more at home by using great open source packages like PHP and MySQL :) Thanks! Matt -- Matt Garman,

Re: [PHP] "report" generation with PHP

2001-07-16 Thread Matthew Garman
On Mon, Jul 16, 2001 at 05:19:41PM +0300, Marius Andreiana wrote: > În 16 Jul 2001 09:07:17 -0500 garman a scris: > > I forgot to mention that I already looked into the PDF extensions. > > Although > > it looks like it would do exactly what I want, the PDFLib isn't fr

[PHP] image "forwarding" through a proxy?

2001-07-16 Thread Matthew Garman
e, or what. Furthermore, the url to the weather channel magnet is actually script, so it has it's own GET parameters :) Anyone have any suggestions on how to tackle this? Thanks! Matt -- Matt Garman, [EMAIL PROTECTED] "I'll tip my hat to the new constitution, Take a bow for the new revol

Re: [PHP] learning PHP from scratch

2001-07-17 Thread Matthew Garman
umber, and submitting calls a PHP script that prints "hello world" as many times as the input specified. Just some suggestions, hope they help, Matt -- Matt Garman, [EMAIL PROTECTED] "I'll tip my hat to the new constitution, Take a bow for the new revolution Smile and g

Re: [PHP] Re: a good PHP editor

2001-07-18 Thread Matthew Garman
summer I'm interning at a place where there is no alternative to Windows. Fortunately, vim has been ported to win32... Of course non-Unix folks might find vi-like editor kind of goofy... but it's worth a try, you might like it :) MG -- Matt Garman, [EMAIL PROTECTED] "I'll tip

Re: [PHP] inserting free-form text with quotes to mysql

2001-07-21 Thread Matthew Garman
pecialchars() on the value. > > echo " "\">"; > >> Whenever I try to submit text that contains a double quote character ("), the >> submission gets truncated at the first occurance of a double quote and beyond. >> Single quotes don't see

Re: [PHP] PHP.... i suck at it

2001-07-22 Thread Matthew Garman
ike > > IP ADDRESS > 127.0.0.1 > > or > > IP ADDRESS > > 127.0.0.1 > > so what do i put in? > > Thanks for your time :) -- Matt Garman, [EMAIL PROTECTED] "I'll tip my hat to the new constitution, Take a bow for the new revolution Smile and gr