Jump to content

Endrew

Members
  • Posts

    15
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

Endrew's Achievements

Member

Member (2/5)

0

Reputation

  1. Heres the logic that i use for my page. Hope its useful. [Quote] $datetime = explode(" ",date("Y-m-d H:i:s")); $date = explode("-",$datetime[0]); $time = explode(":",$datetime[1]); if((date("Y")-$date[0]>=1)||(date("m")-$date[1]>=1)||((date("j")-$date[2]>=1)&&(date("His")-implode($time)>=0))) { //write here what u want to do after 24hrs } [/Quote]
  2. Does anyone know where can i get irc script for phpbb? Just want to add chat room for my forum.
  3. I'm working on a web page which displays pictures from user upload files. If the picture is too big , the browser will show scroll bar. So, i want to avoid that from happening even if the picture is clipped.
  4. Is it possible to hide browser's scrollbars using javascript?
  5. I have bunch of checkboxes in my web page. Each checkbox represent a file. I also assign checkbox's name properties to corresponding file name.When a user press a specific button, I like to perform operation on those files. To do this I need to check which checkboxes user have checked. But I don't know how to do this. Is there a way to accomplish this? Thanks in advance, Sry for my english
  6. I have different types of tables in my page. So I use class to solve my problem. My code example is [!--quoteo--][div class=\'quotetop\']QUOTE[/div][div class=\'quotemain\'][!--quotec--] <style type="text/css"> table.rect { background-color: rgb(245,233,217); border: solid; border-color: rgb(10,20,35); border-width: 1px; min-width: 776px; } table.sheet { border: solid; padding: 5px; border-color: rgb(0,0,0); border-collapse: collapse; border-width: 1px; width: 766px; } </style> <table border = "1" class = "sheet"> <tr> <td >........</td> </tr> </table> <table border = "1" class = "rect"> <tr> <td >........</td> </tr> </table> [/quote] I'm quite new to CSS. I don't know whether this implementation is right or wrong. Thanks for ur reply.
  7. [!--quoteo--][div class=\'quotetop\']QUOTE[/div][div class=\'quotemain\'][!--quotec--] table.sheet { border: solid; padding: 5px; border-color: rgb(0,0,0); border-collapse: collapse; border-width: 1px; width: 766px; } [/quote] Hello, I'm having problems applying this definition to my table. Padding isn't working. For border-color, the inner lines are still grey color. Is there anyway to fix this? Thnx
  8. [!--quoteo(post=374853:date=May 17 2006, 11:16 PM:name=GBS)--][div class=\'quotetop\']QUOTE(GBS @ May 17 2006, 11:16 PM) [snapback]374853[/snapback][/div][div class=\'quotemain\'][!--quotec--] Hi there, you forget to add a 'src' attribute to your image,, [code] <a href="index.html" onmouseover="status='Go back to main page';" onmouseout="status='';" > <img border="0" src="a.gif" onmouseover="src='b.gif';" onmouseout="src='a.gif';"> </a> [/code] should do the job,, :) l8tr,, [/quote] THANKS A LOT. [img src=\"style_emoticons/[#EMO_DIR#]/smile.gif\" style=\"vertical-align:middle\" emoid=\":smile:\" border=\"0\" alt=\"smile.gif\" /]
  9. I have a problem with following code. <a href="/index.htm"onmouseover="status='Go back to main page';return true;" onmouseout="status='';"> <img border="0" onmouseover="src='picture/b_homeo.gif';return true;" onmouseout="src='picture/b_homen.gif';return true;"> </a> The button image is not show when the page is loaded. As long as mouse pointer is not over the button, it only shows image icon. I try to process onload message but gave me "Stack overflow" error message.
  10. Is there a way to place anchor in specific location in browser? Like using X,Y coordinate.
  11. I'm having difficulty comparing 2 dimensional arrays. coding :- foreach($ary1 as $row) foreach($row as $col=>$val) ............. ............. I like to add one more array to make comparison. But foreach takes only one array. Is there anyway I can accomplish this.
  12. Is there any functions like array_diff but compares two dimenional arrays. And also preserve indexes.
  13. [b]MYSQL 5.0 , IIS 5.1, Windows XP Professional Edition[/b] Whenever i call mysql_connect function I got this error message. [Quote] Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'ODBC'@'localhost' (using password: NO) in c:\Inetpub\wwwroot\info\~phpdesigner_output_tmp.php on line 2 [Quote] When i change login password, using MYSQL SERVER INSTANCE CONFIG WIZARD, I've got this error message during setting up process. I turned off firewall as the msg said. But it doesn't work. Is there a way to solve this problem? [Quote] Error Nr.1045 Access denied for user 'root'@'localhost'(using password:NO) If a personal firewall is running on your machine, please make sure you have opened the TCP port 3306 for connections. Otherwise no client application can connect to the server. After you have opened the port please press [Retry] to apply the security settings. If you are re-installing after you just uninstalled the MySQL server please note that the data directory was not removed automatically. Therefore the old password from your last installation is still needed to connect to ther server. In this case please select skip now and re-run the Configuration Wizard from the start menu. [Quote]
  14. isset works. Thanks a lot for fast reply.
  15. 1. Is there any php function that checks variable existence? 2. Is there any php function that refreshes page? Thnx
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.