Re: [PHP] MySQL + PWS Problems

2001-01-16 Thread Dell Coleman
saying it can't connect. I installed usingthe 4.04 win32 installer(heresey I know) which has mysql built in. Do I have to edit anything to all me to try the scripts on my personal cpu? -- Dell Coleman -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED

Re: [PHP] edit plus

2001-01-25 Thread Dell Coleman
Hi Going to http://www.editplus.com/files/ will give you the index of all the available files. HTH D. Coleman Pat Hanna wrote: Anyone who uses Edit Plus. Can you send me the php function files and auto complete file. The edit plus web page has the links but none of them work. Thanks Pat

Re: [PHP] Dumping fields.....

2001-07-27 Thread Dell Coleman
/table; } -- 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] -- Dell Coleman PICO Technology Corp. -- PHP General Mailing List

[PHP] Re: source of global variable

2001-08-25 Thread Dell Coleman
my problem will solve with static variables.??? thanks. -- Dell Coleman, Principal PICO Technology Corp. Victoria, BC Email [EMAIL PROTECTED] Web http://members.home.com/pico/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

[PHP] Re: source of global variable

2001-08-25 Thread Dell Coleman
I think I did misunderstand -- php is not like C where you declare things global both in the main program and in subroutines. If you are not in a function everything is automatically global; in php functions you need to declare variables to be global. --so you don't need it the problem looks

[PHP] Re: exec() major probs

2001-08-28 Thread Dell Coleman
have rw access to the dir I am running from and have read the manual until I'm blue in the face! Has anyone out there used the xece command successfully?? Ps if I exec(ls -l), it works fine ! Linux box Using PHP 4.0.??. latest version MySql, Apache Slackware TIA Terry -- Dell Coleman

RE: [PHP] Problem getting PHP 4 to work on Xitami Server on Windows NT

2001-04-03 Thread Dell Coleman
Hi Web pages in Xitami live at c:\Xitami\webpages\ if you installed on C: unless you specifically installed it so they are at d:\InetPub\wwwroot (the PWS default) Try putting the php script in the document root - not the cgi-bin. PHP scripts usually go in the sub-directories under the

RE: [PHP] query 2 databases from one script

2001-04-03 Thread Dell Coleman
Hi You dont say which db you are using, but I assume MYSQL This may work - When you log onto the second database it must be a different user (not all root for example) make sure you capture the database handle in two different variables something like

RE: [PHP] Count function. (Newbie Question)

2001-04-09 Thread Dell Coleman
Hi There are 2 issues: You need to maintain a page counter You need to pass the page counter and the total page count from page to page You can do this via url params (xxx.html?page=$page_countrecord_count=$record_count), sessions or cookies depending HTH -Original Message- From:

RE: [PHP] Count function. (Newbie Question)

2001-04-09 Thread Dell Coleman
No, this is different - try $query = "SELECT id,count(*) as result_count FROM mango_pr"; $result = mysql_query($query); $row = mysql_fetch_array($result); $id=$row['id']; $result_count=$row['result_count']; echo "$id,$result_count"; You might need to make the form