vibhaJ 126 Master Poster

HI,
you do not need to include js twice.
all u need is to just call fuction 'NewCal' with different parameter with both text boxes.

vibhaJ 126 Master Poster

When u r inserting record in this table? meance post php code sample.
what is structure of this table?

vibhaJ 126 Master Poster

I have just changed this part of php.ini and it works for me.
Check it out.

[mail function]
; For Win32 only.
SMTP = mail.mywebsite.com // smtp mail server name
smtp_port = 25

vibhaJ 126 Master Poster

Hi all,

i want to know that 'Is mysql support chinese language?'
If yes then any changes require in configuration?

My site is in english.
Let if any user have inserted their information in Chinese and if anyone search using Chinese keyword, then it should match with mysql and if matching found in Chinese then that user will be listed in search result.

Any suggestion?

vibhaJ 126 Master Poster
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<script language="javascript">
	function sendTextarea()
	{
		var text = escape(document.getElementById('tb').value);
		window.location.href='second.php?tb='+text;
	}
</script>

</head>

<body>
<textarea id="tb">this is text</textarea>
<input name="Pass" value="Go To Second Page" onclick="sendTextarea();" type="button" />
</body>
</html>

this is example code you can use.
hope it will help you.
even you can decode passing text using base64decode.

vibhaJ 126 Master Poster

Even you can use nl2br function during displaying it.

e.g. <td><?php echo nl2br($address);?></td>

vibhaJ 126 Master Poster

waiting for any logic regarding this

vibhaJ 126 Master Poster

same way buttons onclick event using js.
<input name="Delete" value="Delete" type="button" onclick="window.location.href='user.php?act=delete&userid=<?=$result?>'" />

vibhaJ 126 Master Poster

You can give userid on delete button's href.
e.g. <a href="user.php?act=delete&userid=<?=$result?>">delete</a>

vibhaJ 126 Master Poster

Hi all,
i want php code which will add website's logo in user's uploaded doc file. So whenever that doc file is downloaded from website logo appears at top.
How can i achieve this in windows/Linux both.
any help will be appreciated.