[PHP] Mysql insert problems

2005-04-15 Thread Frank Miller
All, I have a form which submits technical requests. It worked fine on an old linux box using Mysql 3 series but recently we switched to windows 2003 server SP1 using Mysql 4.1.10. It was doing this before the service pack. I get the form values and then insert them into a table. Sometimes it wor

[PHP] Help with Displaying RSS feed links

2003-09-09 Thread Frank Miller
($xml = fread($fp, 4096)) { if (!xml_parse($xp, $xml, feof($fp))) { die("XML parser error: " . xml_error_string(xml_get_error_code($xp))); } } // destroy parser xml_parser_free($xp); // now iterate through $items[] array // and print each item as a table r

[PHP] Using $PHP_SELF in a form

2002-06-24 Thread Frank Miller
" "; } else { // initialize database connection print $WONumber; $connection = mysql_connect("localhost") or die("Couldn't connect to the database!");  // select database mysql_select_db("techsupport", $connection); //formulate and run query $query

[PHP] Apache2

2002-05-13 Thread Frank Miller
e MySQL and PHP over again for the second installion of Apache? I know I'll have to change the port number on the second Apache installion. What I'm wondering is has anyone done this and, if so, what steps you used to accomplish this. TIA - Frank Frank Miller Computer Specialis

Re: [PHP] Upgrading PHP

2002-02-28 Thread Frank Miller
ou recompile apache as a whole. >It's still using the php4.0.3 module, and when you recompile with the new >php it will register the 4.1.2 module. > >Mike >----- Original Message - >From: "Frank Miller" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> &

[PHP] Upgrading PHP

2002-02-28 Thread Frank Miller
to do to get rid of the older version of PHP and upgrade to the new? Thanks in advance - Frank Frank Miller Computer Specialist and Webmaster Technology and Distance Education Texas A&M University-Texarkana 2600 North Robison Rd Texarkana, Texas 75501 Phone: 903-223-3156 Fax: 903-223-

[PHP] RE: mysql_num_rows

2002-02-19 Thread Frank Miller
ts of $num it would always be blank. The clue came when I deliberately changed the vale of $num right above my code above and it still didn't work. Thanks again to all who replied. It was a good chance to learn about isset(), empty() and other functions. Frank Frank Miller Computer

[PHP] Mysql_num_rows

2002-02-18 Thread Frank Miller
here is something scheduled but when there is nothing scheduled $num shows nothing on the screen. I'm using Mysql 3.23.38 and php 4.06 on a windows test machine but it works the same on php 4.06 and Mysql 3.23.46 on my Linux server. Has anyone else run into this and if so can you tell me w

[PHP] Formatting a MYSQL time

2002-02-07 Thread Frank Miller
all I get is 6:00 pm for all the events. When I print $eventtime I get the correct time that is stored in Mysql. My question is am I doing this correctly or do I need to use another function to format a mysql time. Thanks in advance. Frank Miller Computer Specialist and Webmaster Technology