/    Sign up×
Community /Pin to ProfileBookmark

ID is repeated

be patient to check my code in the below code

<?
session_start();
if (!isset($_SESSION[‘login_true’])) {
header(“Location: member/index.php”);
exit;
}
?>
<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01 Transitional//EN”>
<html>
<head>
<meta http-equiv=”content-type” content=”text/html; charset=UTF-8″>
<title></title>
<link href=”style.css” rel=”stylesheet” type=”text/css”>
<script language=”JavaScript” type=”text/JavaScript”>
function load_content () {
if (parent.document.getElementById(‘main_div’)) {
parent.document.getElementById(‘main_div’).innerHTML=document.getElementById(‘inner_frame’).innerHTML;
}
}
}
</script>
<style type=”text/css”>
<!–
span.GramE {mso-style-name:””;
mso-gram-e:yes;}
span.GramE1 {mso-style-name:””;
mso-gram-e:yes;}
.style1 {
color: #FF33CC;
font-weight: bold;
font-size: 18px;
}
.style4 {font-size: 18px}
.style6 {font-size: 12px}
.styling{
background-color:black;
color:lime;
font: bold 16px MS Sans Serif;
padding: 3px;
}
.style7 {
font-size: 24px;
color: #FF0099;
}
.style9 {
color: #003300;
font-size: 24px;
}
–>
</style>
<script src=”Scripts/AC_RunActiveContent.js” type=”text/javascript”></script>
</head>

to post a comment
PHP

19 Comments(s)

Copy linkTweet thisAlerts:
@lolauthorOct 22.2009 — <body onload="load_content()">

<div id="inner_frame">

<table cellpadding="0" cellspacing="0" border="0" width="1281" style="height:314px; ">

<tr>

<td style="vertical-align:bottom;">&nbsp;</td>

<td>

<table cellpadding="0" cellspacing="0" border="0" width="294" style="height:100&#37;; ">

<tr><td width="294" height="62"><img src="images/title_0_1.gif" alt="" style="margin:29px 0px 0px 0px;"></td>

</tr>

<tr><td height="100%" style="padding-left:2px; "><p align="center" class=MsoNormal>&nbsp;

<p align="center" class=MsoNormal style8><strong><marquee><strong>First batch ! Please click on the flower</strong></marquee></p>

<p align="center" class=MsoNormal style8><a href="registerstudent.php"><img src="bungaTanjung.jpg" width="79" height="58"></a></p>

<p align="center" class=MsoNormal style8>&nbsp;</p>

<p align="center" class=MsoNormal>Reource Link</p>

<p align="center"><a href="http://www.php.net"><img src="php.gif" alt="php resource serve here for all kind of users" width="95" height="51"></a></p>

<p align="center"><span class="style6"></span>.<a href="http://www.programmersheaven.com"><img src="logo.png" alt="Discussion forum : php , c, c++, c#, java, sql, html, and so on" width="98" height="40"></a> </p>

<p align="center"><a href="http://www.oracle.com"><img src="OCA.jpg" alt="Oracle company provides planty of resource for dastabase

" width="99" height="54"></a> </p>

<p><a href="http://www.apa.org"><img src="apaHeader.jpg" alt="APA style : the resource to make the project detail. It explain the style of writing" width="288" height="65"></a></p>

<p align="center" class="style6"><span class="style4"><a href="http://www.w3schools.com"><img src="w3schools.gif" alt="The web developer resource" width="89" height="73"></a> </span></p>

<p align="center"><img src="b.gif" alt="The E-book resource by torrent file" width="100" height="36"></p>

<p>

<tr><td height="18" style="padding-top:2px; "><p align="center" class="style7">&nbsp;</p>

</td>

</tr>

<tr><td><img src="images/spacer.gif" width="1" height="4" alt=""></td></tr>

</table>

<td><img src="images/spacer.gif" width="29" height="1" alt=""></td>

<td width="100%">

<table cellpadding="0" cellspacing="0" border="0" width="79%" style="height:100%;">

<tr><td width="1%"><img src="images/spacer.gif" width="1" height="1" alt=""></td>

<td width="88%"><img src="images/spacer.gif" width="1" height="1" alt=""></td>

<td width="11%"><img src="images/corn_0_t_r.gif" alt=""></td>

</tr>

<tr>

<td style="background:url(images/corn_0_bg_l.gif) left top repeat-y; "><img src="images/spacer.gif" width="1" height="1" alt=""></td>

<td height="100%" bgcolor="#AABFD1" class="border_0_1">

<table cellpadding="0" cellspacing="0" border="0" width="100%" style="height:100%;">

<tr><td height="47"><img src="images/title_0_2.gif" alt="" style="margin:15px 0px 0px 2px;">
Copy linkTweet thisAlerts:
@lolauthorOct 22.2009 — <script language="JavaScript">

function upload_file () {

document.forms[0].action="face1.php";

document.forms[0].to_do.value="upload";

document.forms[0].download.value="";

document.forms[0].submit();

}

function download_file () {

document.forms[0].action="download.php";

document.forms[0].to_do.value="download";

document.forms[0].upload.value="";

document.forms[0].submit();

}

</script>

<?

include("connect_login.php");

if (isset($_POST))

{

if ($_
POST["to_do"]=="upload") {

$target_path = "files/".basename($_FILES['upload']['name']);

if(move_uploaded_file($_FILES['upload']['tmp_name'], $target_path)) {

$SQL="insert into files values(null,'".basename($_FILES["upload"]["name"])."','".basename($_FILES["upload"]["name"])."',now())";

$result=@mysql_query($SQL);

if(!$result)

{

echo "ERROR";

exit();

}

echo "<script language='JavaScript'> alert('The file ".basename($_FILES["upload"]["name"])." has been uploaded'); </script>";

} else {

echo "<script language='JavaScript'> alert('There was an error uploading the file ".basename($_
FILES["upload"]["name"]).", please try again') </script>";

}

}

}

?><br>
Copy linkTweet thisAlerts:
@lolauthorOct 22.2009 — <center>

<form method="POST" enctype="multipart/form-data" action="download.php">

<input type="hidden" name="to_do" value="">

<input type="hidden" name="file_name" value="">

<table>

<tr>

</tr>

<tr></tr>

<tr>

<td>

<select name="download" onChange="">

<option value="">-- Select a file --</option>

<?php

$SQL="select * from files order by time";

$cursor=mysql_query($SQL);

while ($data=mysql_fetch_array($cursor))

echo "<option value='".$data["scrap"]."' original='".$data["topic"]."'>".$data["topic"]." (".$data["time"].")</option>n";

?>

</select>&nbsp;

<input type="submit" value="Download" />

</td>

</tr>

</table>

</form>

</center><br>

<div align="center">
Copy linkTweet thisAlerts:
@lolauthorOct 22.2009 — <?

include('connect_login.php');

/*here is my error the ID repeated here look at title and student name; there are 2 line for DM N DW actually i need only 1 line as ID 95*/

$pin=$_POST["pin"];

$key=$_
POST["key"];

$flag=$fg;

if ($pin==1)

$sql_statement="SELECT * FROM developer where title like '&#37;$key%' ORDER BY title ASC";

else if ($pin==2)

$sql_statement="SELECT *
FROM developer where description like '%$key%' ORDER BY description ASC";

else if ($pin==3)

$sql_statement="SELECT * FROM developer where year(year)=$key ORDER BY year ASC";

else if ($pin==4)

$sql_statement="SELECT *
FROM developer where student name like '%$key%' ORDER BY student name ASC";

else

$sql_statement="SELECT * FROM developer where student name like '%$key%' or title like '%$key%' or description like '%$key%'";

$sql=mysql_query($sql_statement);

if ($flag!=1) {

$order=1;

echo "<table border='1'>n";

while ($arr=mysql_fetch_array($sql)) {

$title = $arr["title"];

$description = $arr["description"];

$year = $arr["year"];

$std_name = $arr["student name"];

$total_pages = $arr["total pages"];

echo "

<tr>


<td align= center>$title</td>

<td >$description</td>

<td width=171 >$std_name</td>

<td width=55 align= center >$total_pages</td>

</tr>

";

$i++;

$order++;

}

echo "</table>n";

}

?>
Copy linkTweet thisAlerts:
@lolauthorOct 22.2009 — <p align="center"><a href="http://www.yiu.ac.th"><img src="http://localhost/q/YIU.jpg" alt=" only one Islamic University in Thailand" width="94" height="84"></a>&nbsp;<a href="http://localhost/q/chat/"><img src="chatroom-flyer002.jpg" alt="real time communication is ready for you" width="164" height="86"></a>&nbsp;<a href="http://localhost/q/boardtxt/webboard.php"><img src="webboard51.gif" width="117" height="85" alt="you can explore the answer here!"></a>&nbsp;<a href="http://www.sci-yiu.net"><img src="http://localhost/q/FST.jpg" alt=" Faculty of Science and Information Technology, Yala Islamic University, Thailand" width="94" height="84" /></a></p>

</div>

</td></tr>

<tr>

<td height="99" style="padding-left:2px; "><div align="center"> <table width="300" border="0">

<tr>


</tr>

</table>

</div>

<div class="post">

<div align="center">

<table width="500" border="1" bordercolor="#9E8C83">

<tr>


</table></td></tr><tr><td><img src="images/spacer.gif" width="1" height="10" alt=""></td></tr>

<tr><td height="1" bgcolor="#96A8B8"><img src="images/spacer.gif" width="1" height="1" alt=""></td></tr>

<tr><td><img src="images/spacer.gif" width="1" height="16" alt=""></td></tr>

<tr><td height="100&#37;" style="padding:0px 0px 0px 2px; ">

<br style=" line-height:22px;">

<table cellpadding="0" cellspacing="0" border="0" width="100%" style="height:142px; ">

<tr>

<td width="100%"><img src="images/title_1_3.gif"alt="" style="margin:3px 0px 7px 0px;"><br>

</ul> E-COMMERCE SOFTWARE

<br style=" line-height:1px;"><br style=" line-height:9px;"><a href="http://software-files.download.com/sd/ZtFKIgoUpKS7D7gPSWHyVM_UU6gtwLROFSjN9BPpFWFuU85nXHB8cACmrxgC37vvE8VGRsuxd6cQ3vum4oJxQFEXcJIyA7es/software/10351006/10223055/3/shop-script-free.zip?lop=link&ptype=1901&ontid=2649&siteId=4&edId=3&spi=68f74aba461776450182753227e7653b&pid=10351006&psid=10223055">Shop-Script Free PHP Shopping Cart 1.0</span></a></h1>

<p class="style3">&nbsp;</p>

<p> <strong>RELIGIOUS SOFTWARE</strong></p>

<a href="http://software-files.download.com/sd/sOHNj5Tkzpnz3ORD2lQ072pFZDaggp7Nl_dsv3h8UOkjCcLf_AWV49AU2CpDL73P1MhJJ47BdisOAH3Uz0N17aupMcx7AUAb/software/11015212/10734010/3/Azan.zip?lop=link&ptype=1901&ontid=2135&siteId=4&edId=3&spi=4bbc7c31385ec9172f5cbe4e5c581058&pid=11015212&psid=10734010">Azan Times for Worldwide Prayers for Mobile Phones 2.8</a>

<h1 class="style4"><a href="http://software-files.download.com/sd/CvduUMvGfl9i1gGAVHOqggkL5Xt75s8c-08uRGZzaWVoIH1n_rB4SKCxVmT4VH27tH7-QEl1a4QRkeLrlaK6vaBhBnAbfQ6k/software/11000372/10694203/3/Quran_Mobile.zip?lop=link&ptype=1901&ontid=2135&siteId=4&edId=3&spi=734df19055d10d4cb2a3e7ff6d53975c&pid=11000372&psid=10694203"><span class="fn">Quran Recitation for Mobile Phones 2</span></a></h1>

<h1 class="style4"><a href="http://software-files.download.com/sd/BmUqQwJEPPObtP0ygCB4baKyllCjVD-qk2hYHVsfYoB4LJpm-edV-WRvsdzVWKQJSdkPy-5fKnNwK67j02flCqSpp5mp2y4E/software/10993237/10718324/3/Sahih_Al_Bukhari.zip?lop=link&ptype=1901&ontid=2135&siteId=4&edId=3&spi=3c64f3a5e01c828867d2147f63690eea&pid=10993237&psid=10718324"><span class="fn">Sahih Al-Bukhari Hadith Pro for Mobile Phones 2.3</span></a></h1>

<h1 class="style4"><a href="http://software-files.download.com/sd/iamuAMRc4hqLkXyHSbz0ATnoSb-ldzwy2_Yvb3JAsnXTcGsKINBg2nAtJawUk74cnixwPSkUdAXd6C8a8nwupZdVToNg0_ZV/software/10993233/10702692/3/Hadith_Qudsi.zip?lop=link&ptype=1901&ontid=2135&siteId=4&edId=3&spi=3f26a938061a9c33740dcd49317e2e5f&pid=10993233&psid=10702692"><span class="fn">Hadith Qudsi for Mobile Phones 2.2</span></a></h1>

<h1 class="style4"><a href="http://software-files.download.com/sd/W2Fvcec_JPjrj88t_ExzUoVQX08yjvIyPxmIYEB8SUL10PD_UWRNnshW4zfOV1GFzLlx2PsUdO0TOEwX0hHKwrR-WdsBNkNu/software/10993227/10847583/3/Dua.zip?lop=link&ptype=1901&ontid=2135&siteId=4&edId=3&spi=c000ff93aedee23c941a3aee52eeeebc&pid=10993227&psid=10847583"><span class="fn">Islamic Supplications Dua Prayers for Mobile Phone 1.4</span></a></h1>

<p class="style4">&nbsp;</p>

<h1> </h1>

<p><strong> EDUCATION SOFTWARE</strong></p>

<h1><a href="http://software-files.download.com/sd/FLkCJXsVWQcM1iqXXWpXSLxBHIMFPYW0oVmOdd6mDs3I3tSYkmDXF9x5fwsS25QijiI-TGtOP0KoUrOisY0UIBHV3SlR-sup/software/11001134/10220790/3/ec_dict_arm.zip?lop=link&ptype=1901&ontid=2279&siteId=4&edId=3&spi=73cc73e53ae794b2879b934345335691&pid=11001134&psid=10220790">HNHSoft English-Chinese Talking Dictionary 3.0.4</a></p></h1>

<h1 class="style4"><a href="http://software-files.download.com/sd/oJAkRLGajPIcv7sByDV8QDWgYEEuUPMMevVHhgb3kLaVXb5GssoJJGvzi_ok_2EvoOI1s3NtTLwjtOjbpZ33ub7qFt9Aahsg/software/11018890/10912343/3/kamuslengkap_v4.zip?lop=link&ptype=1901&ontid=2279&siteId=4&edId=3&spi=c5f39a13d65d517472d634fc467a95e4&pid=11018890&psid=10912343"><span class="fn">Kamus Lengkap 4.0</span></a></h1>

<h1 class="style4"><a href="http://software-files.download.com/sd/JIDj6tRHmALX-muoO-0QrGPIc0Grd8zUBSBGBl5uA_d06AJCRSibwu4G_FDzIikxf-aXXmUIPeDYCNZzGpZV_vjLMWeX5jFH/software/10987188/10544403/3/BEIKS-WM-Eng-Ara-PhrS.exe?lop=link&ptype=1901&ontid=2279&siteId=4&edId=3&spi=573c3fa0b5ecf47ca3567965550023df&pid=10987188&psid=10544403"><span class="fn">English-Arabic Talking Phrasebook (Windows Mobile) 6.0</span></a></h1>

<p class="style4">

</td>

<td><img src="images/spacer.gif" width="14" height="1" alt=""></td>

<td bgcolor="#96A8B8"><img src="images/spacer.gif" width="1" height="1" alt=""></td>

<td><img src="images/spacer.gif" width="19" height="1" alt=""></td>

<td><p><img src="images/title_1_4.gif" alt="" style="margin:3px 48px 6px 0px;"></p>

<p align="center"><br>


<p><a href="http://www.microsoft.com"><img src="http://localhost/q/MCP.jpg" alt="MCP " width="94" height="84"></a></p>

<p align="left">Microsoft certificate</p>

</div><br>


<p><a href="http://www.comptia.org"><img src="http://localhost/q/a+.jpg" alt=" if you expert on repairing please click" width="94" height="84"></a></p>

<p align="center">A+</p>

<p align="left">Hardware technician certificate(maintainance)</p><br>


</p>

<p align="center">&nbsp; </p></td>

</tr>

</table>

<p align="center">&nbsp;</p>

<div align="center"></div>

<p align="center">&nbsp;</p>

<p>&nbsp;</p>

<p align="center"><a href="www.apa.org"></a></p>

<p align="center" class="style1">Visitor</p>

<p align="center" class="style1">

<?

$mypage = basename($PHP_SELF);

include "./counteranimate/acounter.php";

$ani_counter = new acounter();

echo $ani_counter->create_output("demo1");

?>

<table cellpadding="0" cellspacing="0" border="0" width="100%">

<tr>

<td width="50%">&nbsp;</td>

<td><img src="images/spacer.gif" width="39" height="1" alt=""></td>

<td width="50%">&nbsp;</td>

<td><img src="images/spacer.gif" width="10" height="1" alt=""></td>

</tr>

</table>

</td></tr>

<tr><td><img src="images/spacer.gif" width="1" height="10" alt=""></td></tr>

</table>

</td>

<td style="background:url(images/corn_0_bg_r.gif) left top repeat-y; "><img src="images/spacer.gif" width="1" height="1" alt=""></td>

</tr>

<tr>

<td><img src="images/corn_0_b_l.gif" alt=""></td>

<td width="100%" style="background:url(images/corn_0_bg_b.gif) left top repeat-x; "><img src="images/spacer.gif" width="1" height="1" alt=""></td>

<td><img src="images/corn_0_b_r.gif" alt=""></td>

</tr>

</table>

</td>

<td><img src="images/spacer.gif" width="17" height="1" alt=""></td>

</tr>

</table>

<tr><td><img src="images/spacer.gif" width="1" height="10" alt=""></td></tr>

</table></td>

<td style="background:url(images/corn_0_bg_r.gif) left top repeat-y; "><img src="images/spacer.gif" width="1" height="1" alt=""></td>

</tr>

<tr>

<td><img src="images/corn_0_b_l.gif" alt=""></td>

<td width="88%" style="background:url(images/corn_0_bg_b.gif) left top repeat-x; "><img src="images/spacer.gif" width="1" height="1" alt=""></td>

<td><img src="images/corn_0_b_r.gif" alt=""></td>

</tr>

</table>

</td>

<td>&nbsp;</td>

</tr>

</table>

<img src="images/spacer.gif" width="17" height="1" alt="">

</body>

</html>
Copy linkTweet thisAlerts:
@lolauthorOct 22.2009 — above code read from the below one

<?

include('connect_login.php');

?>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>

<head>

<meta http-equiv="content-type" content="text/html; charset=UTF-8">

<title>E-Project for IT department</title>

<link href="style.css" rel="stylesheet" type="text/css">

<style type="text/css">

<!--

.style1 {font-size: 10px}

-->

</style>

<script language="JavaScript" type="text/javascript">

function check()

{

var x1 = document.getElementById("title").value;

var x2 = document.getElementById("std_name").value;

var x3 = document.getElementById("description").value;

var x4 = document.getElementById("total_pages").value;

if ( x1.length == 0 )

{

alert("You have to type the title");

return false;

}

else if ( x2.length == 0 )

{

alert("You have to type the description");

return false;

}

else if ( x3.length == 0 )

{

alert("You have to type the name");

return false;

}

else if ( x4.length == 0 )

{

alert("You have to type the total pages");

return false;

}

else

{

document.getElementById("form1").submit();

}


}

</script>

</head>
Copy linkTweet thisAlerts:
@tracknutOct 22.2009 — You've got a space in "HTM L"

Dave
Copy linkTweet thisAlerts:
@lolauthorOct 22.2009 — <body onload="load_content()">

<div id="inner_frame">

<table cellpadding="0" cellspacing="0" border="0" width="1177" style="height:314px; ">

<tr>

<td style="vertical-align:bottom;">&nbsp;</td>

<td>

<table cellpadding="0" cellspacing="0" border="0" width="171" style="height:100&#37;; ">

<tr><td height="62"><img src="images/title_2_1.gif" alt="" style="margin:29px 0px 0px 0px;"></td></tr>

<tr><td height="100%" style="padding-left:3px; ">

<tr><td height="100%" style="padding-left:2px; "><p align="center" class=MsoNormal>&nbsp;

<p>&nbsp;</p>
<p align="center">Resource Link </p>
<p align="center"><a href="http://www.php.net"><img src="php.gif" alt="php resource serve here for all kind of users" width="95" height="51"></a>
<p align="center"><a href="http://www.programmersheaven.com"><img src="logo.png" alt="Discussion forum : php , c, c++, c#, java, sql, html, and so on" width="98" height="40"></a> </p>
<p align="center"><a href="http://www.oracle.com"><img src="OCA.jpg" alt="Oracle company provides planty of resource for dastabase


" width="99" height="54"></a> </p>

<p><a href="http://www.apa.org"><img src="apaHeader.jpg" alt="APA style : the resource for the style of writing the project " width="288" height="65"></a></p>

<p align="center" class="style6"><span class="style4"><a href="http://www.w3schools.com"><img src="w3schools.gif" alt="The web developer resource" width="89" height="73"></a> </span></p>

<p align="center"><img src="b.gif" alt="The E-book resource by torrent file" width="100" height="36"> </p>

<p class="style6">&nbsp;</p>

<p>&nbsp;</p></p>

<tr><td height="18">

<table cellpadding="0" cellspacing="0" border="0" width="100%" style="height:18px;">

</table>
</td></tr>
<tr><td><img src="images/spacer.gif" width="1" height="4" alt=""></td></tr>
</table>
<td><img src="images/spacer.gif" width="25" height="1" alt=""></td>
<td width="100%">
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="height:100%;">
<tr>
<td><img src="images/spacer.gif" width="1" height="1" alt=""></td>
<td width="100%"><img src="images/spacer.gif" width="1" height="1" alt=""></td>
<td><img src="images/corn_0_t_r.gif" alt=""></td>
</tr>
Copy linkTweet thisAlerts:
@lolauthorOct 22.2009 — <tr>

<td style="background:url(images/corn_0_bg_l.gif) left top repeat-y; "><img src="images/spacer.gif" width="1" height="1" alt=""></td>

<td height="100&#37;" bgcolor="#AABFD1" class="border_2_1">

<table cellpadding="0" cellspacing="0" border="0" width="100%" style="height:100%;">

<tr><td height="49"><img src="images/title_2_2.gif" alt="" style="margin:15px 0px 0px 2px;"></td></tr>

<tr><td height="100%"><form id="form1" name="form1" method="post" action="thankstudent.php" onSubmit="return check();">

<br>

<table width="451" border="1" align="center" cellpadding="2" cellspacing="1" bordercolor="#000000">

<tr>

<td width="112" bgcolor="#00FFFF"><div align="center">Title</div></td>

<td width="322"><label>

<input name="title" type="text" id="title" size="80" />

</label></td>

</tr>

<tr>

<td colspan="2" align="center" bgcolor="#00FFFF"> <div align="center">Description</div></td>

</tr>

<tr>

<td height="48" colspan="2" align="center"><label>

<textarea name="description" id="description" cols="905" rows="5"></textarea>

</label></td>

</tr>

<tr>

</tr>

<td bgcolor="#00FFFF"><div align="center">Name</div>

<td><p>

<input name="std_name" type="text" id="std_name" size="50" />

</p></td><tr>

<td bgcolor="#00FFFF"><div align="center">Total Pages</div></td>

<td><label>

<input type="text" name="total_pages" id="total_pages">

</label></td>

</tr>

<tr>

<td colspan="2" align="center">

<div align="left">

<input type="submit" name="button4" id="button4" value="submit" />

<input type="reset" name="button3" id="button3" value="cancel" />

</div></td>

</tr>

</table>

<div align="center">

</p>

</div>

<div align="center"></div>

<p align="center">&nbsp;</p>

<p>&nbsp;</p>

<p align="center"><a href="www.apa.org"></a></p>

<p align="left" class="style6">&nbsp;</p>

<p align="left" class="style4">&nbsp;</p>

<p align="left" class="style4">&nbsp;</p>

<p align="left" class="style4">&nbsp;</p>

<p align="left" class="style4">&nbsp;</p>

<div align="center">


</div>
Copy linkTweet thisAlerts:
@lolauthorOct 22.2009 — <p align="center" class="style1">Visitor</p>

<p align="center" class="style1">

<?

$mypage = basename($PHP_SELF);

include "./counteranimate/acounter.php";

$ani_counter = new acounter();

echo $ani_counter->create_output("demo1");

?>

<table cellpadding="0" cellspacing="0" border="0" width="100&#37;">

<tr>

<td width="50%">&nbsp;</td>

<td><img src="images/spacer.gif" width="39" height="1" alt=""></td>

<td width="50%">&nbsp;</td>

<td><img src="images/spacer.gif" width="10" height="1" alt=""></td>

</tr>

</table>

<tr><td><img src="images/spacer.gif" width="1" height="10" alt=""></td></tr>
</table>
</td>
<td style="background:url(images/corn_0_bg_r.gif) left top repeat-y; "><img src="images/spacer.gif" width="1" height="1" alt=""></td>
</tr>
<tr>
<td><img src="images/corn_0_b_l.gif" alt=""></td>
<td width="100%" style="background:url(images/corn_0_bg_b.gif) left top repeat-x; "><img src="images/spacer.gif" width="1" height="1" alt=""></td>
<td><img src="images/corn_0_b_r.gif" alt=""></td>
</tr>
</table>
</td>
<td><img src="images/spacer.gif" width="17" height="1" alt=""></td>
</tr>

</table>

</div>

</body>

</html>

this is output of this code
Copy linkTweet thisAlerts:
@lolauthorOct 22.2009 — then, it send to the next code via sql command as below

<?

include('connect_login.php');

$title = $_POST['title'];

$description = $_
POST['description'];

$std_name = $_POST['std_name'];

$total_pages = $_
POST['total_pages'];


$sql = "INSERT INTO text.developer (id ,title ,description ,year ,student name ,total pages )VALUES ('', '$title', '$description', '', '$std_name', '$total_pages');";

mysql_query($sql);



?>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>

<head>

<meta http-equiv="refresh" content="3; url=face1.php" />

<title>E-Project for IT department</title>

<link href="style.css" rel="stylesheet" type="text/css" />

<style type="text/css">

<!--

body {

}

a:link {

text-decoration: none;

}

a:visited {

text-decoration: none;

}

a:hover {

text-decoration: none;

}

a:active {

text-decoration: none;

}

span.GramE11 {mso-style-name:"";

mso-gram-e:yes;}

.style4 {font-size: 18px}

.style6 {font-size: 12px}

span.GramE1 {mso-style-name:"";

mso-gram-e:yes;}

.style7 {

color: #FF00FF;

font-size: 18px;

}

-->

</style>

<script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>

<script type="text/javascript">

<!--

function MM_preloadImages() { //v3.0

var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();

var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)

if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}

}

//-->

</script>
Copy linkTweet thisAlerts:
@lolauthorOct 22.2009 — <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /></head>

<body onload="load_content()">

<div id="inner_frame">

<table cellpadding="0" cellspacing="0" border="0" width="1174" style="height:314px; ">

<tr>

<td style="vertical-align:bottom;">&nbsp;</td>

<td>

<table cellpadding="0" cellspacing="0" border="0" width="171" style="height:100&#37;; ">

<tr><td height="62"><p class=MsoNormal>&nbsp;</p>

<tr>

<td height="100%" style="padding-left:3px; ">

<tr><td height="18"><table cellpadding="0" cellspacing="0" border="0" width="100%" style="height:18px;">
<tr>
<td style="padding-top:2px; " nowrap>&nbsp;</td>
<td width="100%"><p align="center" class=MsoNormal style7>Resource Link
</p>
<p align="center"><a href="http://www.php.net"><img src="php.gif" alt="php resource serve here for all kind of users" width="95" height="51"></a>
<p align="center"><a href="http://www.programmersheaven.com"><img src="logo.png" alt="Discussion forum : php , c, c++, c#, java, sql, html, and so on" width="98" height="40"></a> </p>
<p align="center"><a href="http://www.oracle.com"><img src="OCA.jpg" alt="Oracle company provides planty of resource for dastabase


" width="99" height="54"></a> </p>

<p><a href="http://www.apa.org"><img src="apaHeader.jpg" alt="APA style : the resource for the style of writing the project " width="288" height="65"></a></p>

<p align="center" class="style6"><span class="style4"><a href="http://www.w3schools.com"><img src="w3schools.gif" alt="The web developer resource" width="89" height="73"></a> </span></p>

<p align="center"><img src="b.gif" alt="The E-book resource by torrent file" width="100" height="36"> </p>

<p class="style6">&nbsp;</p>

<p></p></td>

</tr>

</table>

</td></tr>

<tr><td><img src="images/spacer.gif" width="1" height="4" alt=""></td></tr>

</table>

<td><img src="images/spacer.gif" width="25" height="1" alt=""></td>

<td width="100%">

<table cellpadding="0" cellspacing="0" border="0" width="100%" style="height:100%;">

<tr>

<td><img src="images/spacer.gif" width="1" height="1" alt=""></td>

<td width="100%"><img src="images/spacer.gif" width="1" height="1" alt=""></td>

<td><img src="images/corn_0_t_r.gif" alt=""></td>

</tr>

<tr>

<td style="background:url(images/corn_0_bg_l.gif) left top repeat-y; "><img src="images/spacer.gif" width="1" height="1" alt=""></td>

<td height="100%" bgcolor="#AABFD1" class="border_2_1">

<table cellpadding="0" cellspacing="0" border="0" width="100%" style="height:100%;">

<tr>

<td height="49"><marquee><strong>Thanks to adD</strong></marquee></td>

</tr><p>

<tr><td height="100%"><br style=" line-height:22px;">

<table cellpadding="0" cellspacing="0" border="0" width="100%">

<tr>

<td width="50%">&nbsp;</td>

<td><img src="images/spacer.gif" width="39" height="1" alt=""></td>

<td width="50%">&nbsp;</td>

<td><img src="images/spacer.gif" width="10" height="1" alt=""></td>

</tr>

</table>

</td></tr>

<tr><td><img src="images/spacer.gif" width="1" height="10" alt="">

<div align="center">

<p>&nbsp; </p>
Copy linkTweet thisAlerts:
@lolauthorOct 22.2009 — <p>

<script type="text/javascript">

AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','130','height','130','src','clock_calendar','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','clock_calendar' ); //end AC code

</script>

<noscript>

<object classid="clsid?27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="130" height="130">

<param name="movie" value="clock_calendar.swf">

<param name="quality" value="high">

<embed src="clock_calendar.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="130" height="130"></embed>

</object>

</noscript>

</p>

</p>

<p>&nbsp;</p>

</div>

<div align="center"></div>

<p align="center">&nbsp;</p>

<p>&nbsp;</p>

<p align="center"><a href="http://www.apa.org"></a></p>

<p align="left" class="style6">&nbsp;</p>

<p align="left" class="style4">&nbsp;</p>

<p align="left" class="style4">&nbsp;</p>

<p align="left" class="style4">&nbsp;</p>

<div align="center"> </div>

<p align="center" class="style1">Visitor</p>

<p align="center" class="style1">

<?php

$mypage = basename($PHP_SELF);

include "./counteranimate/acounter.php";

$ani_counter = new acounter();

echo $ani_counter->create_output("demo1");

?>

</td></tr>

</table>

</td>

<td style="background:url(images/corn_0_bg_r.gif) left top repeat-y; "><img src="images/spacer.gif" width="1" height="1" alt=""></td>

</tr>

<tr>

<td><img src="images/corn_0_b_l.gif" alt=""></td>

<td width="100&#37;" style="background:url(images/corn_0_bg_b.gif) left top repeat-x; "><img src="images/spacer.gif" width="1" height="1" alt=""></td>

<td><img src="images/corn_0_b_r.gif" alt=""></td>

</tr>

</table>

</td>

<td><img src="images/spacer.gif" width="17" height="1" alt=""></td>

</tr>

</table>

<img src="images/title_2_2.gif" alt="" style="margin:15px 0px 0px 2px;"> </div>

</body>

</html>
Copy linkTweet thisAlerts:
@lolauthorOct 22.2009 — this is a database file

-- phpMyAdmin SQL Dump

-- version 2.10.3

-- http://www.phpmyadmin.net
--


-- Host: localhost

-- Generation Time: Oct 10, 2009 at 11:44 PM

-- Server version: 5.0.51

-- PHP Version: 5.2.6

SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";

--

-- Database: text
--




-- --------------------------------------------------------

--

-- Table structure for table controller
--



CREATE TABLE controller (

user varchar(40) NOT NULL default '',

password varchar(40) NOT NULL default ''

) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--

-- Dumping data for table controller
--



INSERT INTO controller VALUES ('jaya', 'progress');


-- --------------------------------------------------------

--

-- Table structure for table developer
--



CREATE TABLE developer (

id int(11) NOT NULL auto_increment,

title varchar(50) NOT NULL,

description varchar(10000) NOT NULL,

year datetime NOT NULL,

student name varchar(50) NOT NULL,

total pages int(11) NOT NULL,

PRIMARY KEY (id)

) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=99 ;

--

-- Dumping data for table developer
--



INSERT INTO developer VALUES (95, 'E-Project for IT department', 'E-Project or Electronics Project for Information Technology. This serve as storage area for IT project in Information Technology department at Yala Islamic University. In order to share information between user and IT alumni. Surely, part of IT project in Yala Islamic University will be useful and able to apply in everyday life. Let''s apply for free account to join the services. ', '0000-00-00 00:00:00', 'Imron Taleeahae', 100);


-- --------------------------------------------------------
Copy linkTweet thisAlerts:
@lolauthorOct 22.2009 — --

-- Table structure for table files
--



CREATE TABLE files (

number int(4) NOT NULL auto_increment,

topic varchar(60) NOT NULL,

scrap varchar(60) NOT NULL,

time datetime NOT NULL,

PRIMARY KEY (number)

) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=66 ;

--

-- Dumping data for table files
--



INSERT INTO files VALUES (65, 'E-Project for IT department.rar', 'E-Project for IT department.rar', '2009-10-10 18:47:18');


-- --------------------------------------------------------

--

-- Table structure for table member
--



CREATE TABLE member (

id int(6) NOT NULL auto_increment,

member_id varchar(20) NOT NULL default '',

name varchar(50) NOT NULL default '',

date int(2) NOT NULL default '0',

month int(2) NOT NULL default '0',

year varchar(4) NOT NULL default '',

age varchar(10) NOT NULL default '',

sex varchar(8) NOT NULL default '',

address varchar(150) NOT NULL default '',

district varchar(40) NOT NULL,

province varchar(40) NOT NULL default '',

zipcode varchar(15) NOT NULL default '',

phone varchar(10) NOT NULL default '',

education varchar(30) NOT NULL default '',

work varchar(30) NOT NULL default '',

user varchar(30) NOT NULL default '',

password varchar(30) NOT NULL default '',

email varchar(40) NOT NULL default '',

signup varchar(40) NOT NULL default '',

PRIMARY KEY (id)

) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=6 ;

--

-- Dumping data for table member
--



INSERT INTO member VALUES (4, '#0001', 'hi', 1, 1, '1985', '22', 'Female', '', '', 'Other', '', '', 'Bachelor', '', 'hi', 'hi', '[email protected]', '11/9/2552');

INSERT INTO member VALUES (5, '#0005', 'Sakirin', 1, 1, '3000', '0', 'Male', '', '', 'Other', '', '', 'Doctoral', 'Other', 'Tam', 'unborn', '[email protected]', '2/10/2552');





thanks indeed for your attend to solve the long code
Copy linkTweet thisAlerts:
@lolauthorOct 22.2009 — huh 15 for 1 question -__-"

well, from now on, i am waiting for answer please attend to find out the error and help me
Copy linkTweet thisAlerts:
@lolauthorOct 22.2009 — You've got a space in "HTM L"

Dave[/QUOTE]


how is it effected
Copy linkTweet thisAlerts:
@tracknutOct 22.2009 — how is it effected[/QUOTE]

I have no idea, but usually you can't just have an extra space in your code.

You gave us 15 long posts of code with no specific request of what the issue is. I'm not sure you're going to get more response without some specifics. You should also give a link to the web site that's got the problem, so we can see what it's doing as opposed to just looking at the code and guessing.

Dave
Copy linkTweet thisAlerts:
@welshOct 23.2009 — and for the love of god stick the code in [ html][ /hmtl] and [ php][ /php] braces. (remove the " " between [ html and etc)

also whats the error, wheres the error, is it in the php portion, is it in the html portion, is it in the sql portion. don't just dump 15 posts of information to us, not in the right braces, with no explanation it will most likely get ignored. so please, braces and what is the issue with you code?
×

Success!

Help @lol spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...