No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
3 Posted Topics
* <?php session_start(); if(isset($_POST['submit'])) { $con = mysql_connect("localhost","root",""); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("chat", $con); $message=$_POST['message']; $sender=$_POST['sender']; mysql_query("INSERT INTO message(message, sender)VALUES('$message', '$sender')"); } ?> *
<% Response.Charset = "ANSI" Response.ContentType = "application/octet-stream" Response.ContentType = "application/vnd.ms-excel" Response.AddHeader "Content-Disposition", "attachment; filename=complete_services.xls" Response.ContentType = "application/download" %> <table> <tr> <th>CODe</th> <tr> <tr> <td>test</td> </tr> </table>
<?php ob_start(); $test = "Hello World"; echo $test; ?> output: Hello world
The End.