Jump to content

pranav_kavi

Members
  • Posts

    126
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

pranav_kavi's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. U dont need to escape the single quotes.Hence,shud b $sql = mysql_query("INSERT INTO `". MEMBERS ."` (`userid`, `username`, `password`, `posts`, `avatar`, `signature`, `msn`, `aim`, `website`, `IP`, `email`, `rank`, `last_active`, `birthday`, `location`, `interests`, `title`) VALUES (NULL, '". $user ."', '". $pass ."', '', '', NULL, NULL, NULL, NULL, '". $_SERVER['REMOTE_ADDR'] ."', '". $mail ."', '4', CURRENT_TIMESTAMP, NULL, NULL, NULL, NULL") or die(mysql_error());
  2. I can suggest u using a javascript framework-Prototype tat ll achieve wat u want.
  3. u can work on the font size of the string by referring to the documentation for imagestring at http://www.php.net/manual/en/function.imagestring.php. // *** Add the passcode in white to the image *** imagestring($image, 5, 30, 3, $pass, $clr_white);
  4. ve u tried using imagettfbbox fn???
  5. try running the sql statement SHOW TABLE STATUS FROM logtable; in sql server directly rather than thru php.Ther may b some error bcos of wich ur result set is not getting populated.
  6. $result = mysql_query("SHOW TABLE STATUS FROM logtable;"); while($array = mysql_fetch_array($result,MYSQL_ASSOC)) { print_r($array[update_time]); // Will print information about each table stored in database }
  7. try, <?php $string_to_be_stripped = "Hi, I am a string and I need to be stripped..."; $new_string = ereg_replace("[^A-Za-z0-9]", "", $string_to_be_stripped ); ?>
  8. for($i=2001; $i<=)(date("Y")+1); $i++){ wont d abov work?
  9. I assume ur luking 4 replace method for Strings in javascript. Syntax: stringObject.replace(findstring,newstring) Example: replace the word Microsoft with W3Schools <script type="text/javascript"> var str="Visit Microsoft!" document.write(str.replace(/Microsoft/, "W3Schools")) </script>
  10. wich browser r u using??? Since it seems tat ur javascript is not running and ur code seems fine,try clearing the browser cache and then running the page again.Tis happens 2 me often in FF.
  11. I don't think there is a limit on how big an array can be, but there is a limit on how much memory your script can use. The 'memory_limit' directive in the php.ini configuration file holds the max amount of memory your scripts can consume.
  12. print_r($_COOKIE) wud display all the cookie values.As $_COOKIE is an array,we cannot use echo on it,have to use print_r command.
  13. Have u tried printing out the cookie array i.e print_r($_COOKIE); ???
  14. Hi,my name is Kavitha.I'm a female programmer...tuk a masters degree in software engineering and have been workin in tis field for the past 2 yrs.Programming experience started arnd 9 yrs back...luckily got the chance to learn many technologies like C,C++,Java,J2EE,PHP,Joomla etc.
×
×
  • 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.