Jump to content

PravinS

Members
  • Posts

    459
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by PravinS

  1. Use FROM_UNIXTIME() MySQL function
  2. try using this http://www.phpclasses.org/package/5927-PHP-Display-an-hierarchic-menu-stored-in-a-MySQL-table.html
  3. try using like this $serial->sendMessage("The big Brown Fox jumped over the cold lazey dog <br>");
  4. explained with examples http://in3.php.net/manual/en/function.urlencode.php http://in3.php.net/manual/en/function.urldecode.php you can check other function too
  5. @dweb, the function given by Psycho should work now @Psycho, thanks for noticing the issue of "0" at first and last position
  6. you can also set memory limit using ini_set function on that page like this ini_set("memory_limit","256M");
  7. use javascript replace function var elm = document.getElementById('fieldx').value; elm.replace("0",""); after replacing "0" from string it will give output as "1,,23,,99", now replace ",," to blank elm.replace(",,",""); try this
  8. <td style="font-size: 100%;"><b>Weather History for' echo date("D M jS"); '</b></td> above line should be like this <td style="font-size: 100%;"><b>Weather History for '.date("D M jS").'</b></td>
  9. You can disable notice error through php.ini file or you need to declare every variable at top. And regarding warning errors (line 161,162), you need to give read, write permission to folder "/home/venzo/public_html/admin/files/" may this will help you
  10. You need to call slideit() after callnow() function where ever you want to use the slide show or else u can call slideit() function in callnow() function, then u don't need to call slideit() function after callnow() function. may this will help you.
  11. you can use image tag instead of input tag and can submit using javascript <img src="img/progress.png" onclick="document.FORMNAME.submit();">
  12. give 100% percent width to table tag and use align="right" in td tag
  13. i think it will not work through phpmyadmin, you can use sqlyog (MySQL GUI Tools), download it from here https://www.webyog.com/ now when you will execute multiple queries in sqlyog query editor, it will give you multiple result in different tabs below the editor, now you will need to export this result one by one in which ever format you want (i.e. csv,sql etc.) may this will help you
  14. try using DATABASENAME.TABLENAME in you select query like this SELECT `NickName`,`FirstName`,`LastName`,`Email` FROM DATABASENAME.Profiles;
  15. replace tilt(`) character with quote (") in the line return trim( "file -bi $f" );
  16. try using parse_url() php function refer: http://php.net/manual/en/function.parse-url.php
  17. first check ftp_connect, is connection working properly with given details replace this line $conn_id = ftp_connect($ftp_server); with and check the connection $conn_id = ftp_connect($ftp_server) or die("Couldn't connect to $ftp_server");
  18. so to avoid reloading a page you should use AJAX refer this url: http://www.w3schools.com/php/php_ajax_database.asp
  19. First option is that you can submit the form to search.php page on onchange event of textbox And second you can use AJAX
  20. your semicolon ( ; ) is after curly bracket ( } ), bracket should be after semicolon
  21. use any php mailer class, you can check this url http://www.phpclasses.org/search.html?words=php+mailer&x=-421&y=-163&go_search=1
  22. Try using this this headers $headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; $headers .= "From: \"ClairVision Network\" <\"admin@clairvision.net\">\r\n";
  23. According to XML you will get values like this $data = "http://www.mesquiteweather.net/xml/mesquite.xml"; $xml = simplexml_load_file($data); $fname = $xml->fname; $lname = $xml->lname; $location = $xml->location; $report = $xml->report; $description = $xml->description;
  24. Try this $result = str_replace(substr($word,1,1),ucfirst(substr($word,1,1)),$word);
×
×
  • 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.