[PHP-DB] permission...

2003-07-23 Thread Chris Mach
When I get a warning like below, is that something I can fix by modifying the code? or is that some configuration that need to be changed on the server? Warning: unable to create file files/sked.html because Permission denied in /server3/home/cjmach/public_html/newfile.php on line 14 I get this

[PHP-DB] write to word..

2003-07-22 Thread Chris Mach
hi, I'm just wondering if it is possible to write to a word document or any other file type that would allow for easy editing(besides txt) with out having to copy and past everything in? I'm looking to have a template perhaps in word and have the code insert variables from the database. If it is

[PHP-DB] commas

2003-07-17 Thread Chris Mach
Is there a function that will strip or add commas? I'm trying to do calculations with attendance numbers of football games... for example: 33,153 right now I don't have a comma for the numbers in the database. So the above example is 33153 in my database. If I put the comma in, when I try to do

[PHP-DB] Re: commas

2003-07-17 Thread Chris Mach
Thanks guys! number_format() works great!! Chris Mach [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Is there a function that will strip or add commas? I'm trying to do calculations with attendance numbers of football games... for example: 33,153 right now I don't have a comma

Re: [PHP-DB] Array Pointer

2003-06-05 Thread Chris Mach
My database is set up in this way: fan_roster: has player id (play_id) , week, and stats on that player for that week. So there are 20 records for each player, because there are 20 weeks. So what I need to do is add up all the players weekly totals. so pass_yrd1 for week1 + pass_yrd1 for week2

[PHP-DB] strip

2003-06-04 Thread Chris Mach
does anyone know how to strip a ' from a string? It's causing errors for my sql statements -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] strip

2003-06-04 Thread Chris Mach
. addslashes() instead. Chris Mach wrote: does anyone know how to strip a ' from a string? It's causing errors for my sql statements -- The above message is encrypted with double rot13 encoding. Any unauthorized attempt to decrypt it will be prosecuted to the full extent