Perfect! Thanks!
On Tue, 26 Aug 2003, CPT John W. Holmes wrote:
> From: "Amanda McComb" <[EMAIL PROTECTED]>
>
>
> > I am having trouble finding math functions on php.net. I am also getting
> > "page not found" errors when trying to searc
te:
> Is there some reason you can't use the modulus operator?
>
> http://www.php.net/manual/en/language.operators.arithmetic.php
>
> Cheers,
> Rob.
>
>
> On Tue, 2003-08-26 at 11:07, Amanda McComb wrote:
> > I am having trouble finding math functions on ph
I am having trouble finding math functions on php.net. I am also getting
"page not found" errors when trying to search.
Basically, I'm looking for a mod or division function - something I can
use to tell me when a number is evening divisable by a certain number.
Thanks!
Amanda
--
PHP General M
I am definitely a novice, and I use the online manual, but a lot of times
I won't even know what to search for, or I'll search for something and not
find what I'm looking for, or I'll find what I think I'm looking for, then
pour over some unclear examples and text and realize it's NOT what I'm
look
Ok, after all of the discussion on posting, I'm afraid to post.
Unfortunately, no one I know is a programmer, and I am a beginner. I can
normally figure out what I've done wrong, but I'm missing something here.
Ok, here is my query and the bit of code I can't figure out:
$query = "SELECT * from
t; }
>
> well for starters checkboxes dont have a size and maxlength
> you may want to try that and see if it works...
>
>
>
> ----- Original Message -
> From: "Amanda McComb" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent:
Is there a way to check how many records are returned from a query to the
database?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
If I am using this code:
mail("[EMAIL PROTECTED]", "test", "testbody");
and want to add a From: line, how do I do it?
Also, is this an excepted way of sending mail from a web page?
Thanks,
Amanda
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsu
I have a page that queries the database then uses the data to build an
excel spreasheet. THat spreadsheet is downloaded according to info in the
headers. My manager wants to put the page inside of another HTML page to
make it prettier, but then it breaks because headers are already written
(it's
The version is PHP Version 4.2.3.
On Tue, 29 Jul 2003, Tom Rogers wrote:
> Hi,
>
> Friday, July 25, 2003, 1:48:50 AM, you wrote:
> AM> I am having a problem with uploading a file from a form. I changed the
> AM> permission on the directory, but I am still getting an error. Here is my
> AM> err
I'm not sure what that means...how do I use it, and where?
On Fri, 25 Jul 2003, Marek Kilimajer wrote:
> Don't you need to use $HTTP_POST_FILES array because you have
> register_globals off?
>
> Amanda McComb wrote:
>
> > I am having a problem with uploading a f
I am having a problem with uploading a file from a form. I changed the
permission on the directory, but I am still getting an error. Here is my
error:
Copy failed./home/vencel/www/images/apt/company_logo/14Update Failed!
It looks like it's not finding the file type. Here is my code:
", " ");
Is there a way to make a variable not exist? There are several places
where I test (!$variable), and I want to be able to change the
variable to pass that test, even though it exists, under certain
circumstances.
Thanks.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
I have a form with two dynamic dropdowns that submit the form when an
option is chosen. There is also a button at the bottom of the form that
submits the form.
The first drop down is a list of all customers. The user chooses a
customer, and a query is run that populates all of the fields (mostly
If I have multiple forms on a page, and each form has it's own name, how
can I tell which form has submitted?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I have a list of urls in a MySQL database and I use PHP to get them out.
I need to spawn a new window and use one of those URLs as the location for
the new window. Is there PHP code that can do this? Here is part of the
javascript I currently use:
lastwin=window.open();
lastwin.location
Hello!
I am working on a site that I thought was working just fine - I tested it
in Netscape 7 and IE. However, several people trying to access it using
Netscape 4.7 have been having problems. Specifically, there is a search
that returns linked results. The link transfers the result's id to the
Thanks!! I'll give that a try!
On Thu, 6 Mar 2003, 1LT John W. Holmes wrote:
> > Well, I have a statement that says:
> >
> > if ([EMAIL PROTECTED]($photo, $long_path . "speakers/" . $photo_name)) {
> > echo an error
> > }else{
> > proceed with renaming the file
> > }
> >
> > The er
ling is consistently the same, and if it's attempting to
> overwrite an existing file, it could be a permissions problem. Just a
> couple of guesses...
>
> mh.
>
> On Thu, 6 Mar 2003, Amanda McComb wrote:
>
> > I'm very new to PHP, so I hope no one is offended
The files go to different directories, but I checked the permissions on
all of the directories, and they are all '777'. I am able to upload
files, so I think the directory is ok.
The server is unix.
I am going to ask my boss to send me the files he is trying to upload to
see if the files are t
I'm very new to PHP, so I hope no one is offended by reading my very basic
questions.
I have created a web form that saves some data to a database and uploads
three files, copies them to a new directory, and renames them. From my
work machine and home machine, it works great for me - there are ne
21 matches
Mail list logo