can any 1 plz help me ? :D
p.s i can connect to db - also can select db - i just want a command to check if there is any field in this db called x or not
Ok what is the most common language used to develop websites in the US ??
is it PHP + MYSQL or is it oracle +ASP.NET ???
so if i d want to start off as a web developer what should i get stronger in ??
thanks for all the help !!
thanks everyone - u all get a thumbs up from me !!
i have to do a project on php and mysql?
Does this look right? Read the edit below for more information.
<?php
$database = "private";
mysql_connect ("private"- "private"- "private");
mysql_select_db($database) or die( "mysql_error()");
if (isset($_POST[ post ])){
$link= htmlspecialchars(addslashes($_POST[ link ]));
$text= htmlspecialchars(addslashes($_POST[ text ]));
mysql_query("INSERT INTO leftnav (link-text) VALUES ( $link - $text )");
}
?>
<?php
if($_SERVER[ REMOTE_ADDR ] == private )
{
echo "
<div id= lheading >private</div>
<form method= post >
<center>
<font family= helvetica size= 1 >
Link: <input type= text name= link style= width:70px; font-family:helvetica; font-size:10px; ><br>
Text: <input type= text name= text style= width:70px; font-family:helvetica; font-size:10px; ><br>
<input type= submit value= submit style= width:100px; font-family:helvetica; font-size:10px; >
</font>
</center>
</form>
";
}
else {
print "";
}
?>
I get NO error messages at all- and it just won t insert the information into the table. What s wrong? Whenever I import information on pmA it works just fine.
i need it to be linux- to have Mysql Databases- to have installer of free apps (like limesurvey-xoops-etc)- TO BE ABLE TO HOLD AT LEAST 3 DIFFERENT DOMAINS- to be trustable- and to have other standard functionalities of course.
in the $4 a month price range- any suggestions?
No comments:
Post a Comment