Re: [PHP-DB] mysql_connect()

2002-02-12 Thread Sharif Islam
Check your php install:test.php : ? phpinfo(); ? ) (( ||-. | :|/' -`--'- On Tue, 12 Feb 2002, Martin Allan Jensen wrote: Sorry folks, last time i wrote it to fast! Well here is the hole story We got an organisation to install a new version of phpmyadmin, mySQL and PHP

Re: [PHP-DB] php+mysql simple query help me pls! ty.

2002-01-03 Thread Sharif Islam
I think you need while loop here. $result = mysql_query(SELECT * FROM members,$db); while ( $row =mysql_fetch_object($result)) { printf(ircname: %sbrn, mysql_result($result,0,ircname)); printf(email: %sbrn, mysql_result($result,0,email)); printf(realname: %sbrn,

[PHP-DB] Cgi Timeout

2001-10-03 Thread Sharif Islam
I just installed php in W2k I am getting this error: CGI Timeout The specified CGI application exceeded the allowed time for processing. The server has deleted the process. According to the readme file I added the .php extension in IIS. Anything else needed to be done? thanks ) ((

[PHP-DB] MSSQL question

2001-09-21 Thread Sharif Islam
I already have a MSSQL 7 installed in win2k with IIS. I want to install php. Do i need to configure anything with mssql? thanks ) (( ||-. | :|/' -`--'- -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

[PHP-DB] Php and ODBC

2001-08-31 Thread Sharif Islam
How easy is to connect MSSQL server from PHP , running in Linux? I already have Php installed but I dont think I complied it --with-odbc(?). Do i have to recompile? Is there any way to test it? Any help will be great. thanks -Sharif ) (( ||-. | :|/' -`--'- -- PHP Database

[PHP-DB] Group By problem

2001-08-13 Thread Sharif Islam
I am trying to caregorize to group at the same time, but its not working. Any hints? Here's my code: $temp=Dummy; while ($row = mysql_fetch_array($result)) { if($temp !=$row[group_name]){ $temp=$row[group_name] ; echo bGroup:$tempbr/b; } $temp1=blah; if($temp1 !=$row[service_cat]){

Re: [PHP-DB] Re: Group By problem

2001-08-13 Thread Sharif Islam
Thanks for your reply You don't show your SQL, but I assume it's something like SELECT grp,svc,mach FROM table ORDER BY grp,svc,mach Thats right. But its displaying the same as my code: --- Group:Desktop Service:BACKUP AITSBKUP Service:E-Mail AITSMAIL Service:E-Mail JEEVES Group:Unix

[PHP-DB] Multiple Entry

2001-08-01 Thread Sharif Islam
I have some data in a table like this: ++--+ | services | machine_name | ++--+ | MS Exchange Server and BDC | MAIL | | Microsoft Exchange for UA | UAMAIL1 | | Microsoft Exchange for

Re: [PHP-DB] Multiple Entry

2001-08-01 Thread Sharif Islam
- From: Sharif Islam [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, August 01, 2001 10:30 AM Subject: [PHP-DB] Multiple Entry I have some data in a table like this: ++--+ | services | machine_name

[PHP-DB] Tree Display

2001-07-27 Thread Sharif Islam
I am still trying to figure out how to do it. I want to display my result from the data base in tree/menu like system. So the result page will look like this: +Result1 (you click this , it will expand) -Item1 (you click this and get more info) -Item2 -Item3 +Result2

[PHP-DB] Dynamic Links

2001-07-24 Thread Sharif Islam
I think this topic was discussed before. But I couldn't find it in the archive. I have this table mysql desc inv_table; +--+--+--+-+-+---+ | Field| Type | Null | Key | Default | Extra |