-
Posts
969 -
Joined
-
Last visited
Posts posted by Destramic
-
-
that should work
[code]
<input name="username" type="text" id="username" value="<?PHP echo $_POST['username']; ?>">
[/code]
-
doesn't seem that you are closing your else brace, try this.
[code]
<?php
if ($submit) {
$tomail = "[email protected]";
$replyemail = "[email protected]";
$Name = $_POST['Name'];
$EMail Address = $_POST['EMail Address'];
$Telephone = $_POST['Telephone'];
mail($tomail, "Masiv Studio's Form Queried", "An interested client with the ID:($REMOTE_ADDR,REMOTE_HOST,HTTP_USER_AGENT) has entered the following information with regards to an interest with Phull Designs and Masiv Studios.<br><br><b>Name:</b>$Name<br><b>E-Mail Address</b> $Email Address<br><br><b>Telephone:</b> $Telephone<br><b>, "Content-Type: text/html; charset=\"ISO-8859-1\"\nFrom:$replyemail\n");
echo "The data entered has been sent to the Sales Team @ Phull Designs. Please allow up to 48 hours for a reply..";
}
else {
?></p>
<p class="style5"><strong>Please Note:</strong> For security reasons, your IP will be sent. Please see our <a href="privacy.html">privacy policy</a> for more details. </p>
<table width="71" border="0" align="right">
<tr> </tr>
</table>
</form>
<table width="815" border="0">
<tr>
<td width="800" height="3"><img src="images/h-line.png" width="800" height="1" /></td>
</tr>
</table>
<p class="style2"><span class="style4">Web</span> | <span class="style3">Links</span> </p>
<p class="style1"><a href="http://www.masivstudios.com">Masiv Studio's</a></p>
<p class="style1"><a href="http://www.phulldesigns.com">Phull Designs </a></p>
<p class="style1"> </p></td>
</tr>
<tr>
<td bgcolor="#CCCCCC"><div align="center"><span class="style1">| - © Copyright 2006 Phull Designs. All Rights Reserved. - | </span></div></td>
</tr>
</table>
</body>
</html>
<?php
} // close else brace
?>
[/code]
hope this helps...if it doesnt could you paste over the code for line 61. -
from what i see the problems is where you have a space in your variable.
[code]
// incorrect
$EMail Address = "[email protected]";
// correct
$email_address = "[email protected]";
[/code]
hope that works now.
-
k thank you..but this is the mysql error im getting
[!--quoteo--][div class=\'quotetop\']QUOTE[/div][div class=\'quotemain\'][!--quotec--]
ALTER TABLE `games` CHANGE `status` `status` ENUM( 1 ) NOT NULL DEFAULT '0'
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '1) NOT NULL DEFAULT '0'' at line 1
[/quote] -
k i have a field in my table but i want to know what type to set my news status as:
have a field called "status" for my news
either it should be a field that contains the value true or false ie. 0 or 1
or on the other hand i could have the value "Active" or "Inactive"
what field type would be the best for this and what would be the best way?
thanks..how comeone can help me on my query -
i have apache on my computer and i want to find the ip to my server, so i can have my domain at ukreg located to my apache server....
is this possible? help please?
thanks destramic
-
erm got it working...i did a typo =/
gulp!
thanks!
-
i did this:
extension_dir = "C:\Program Files\Apache Group\Apache2\php5\ext"
in my php.ini the when i restart i says unable to load
C:\Program Files\Apache Group\Apache2\php5\ext\php_mysql.dll
-
the only thing i can see in my php.ini is:
;extension=php_mysql.dll
so i removed the semi - colon and not worked
then when i restarted my apache it says it cans load the moduel
destramic
-
i have:
apache 2.1
php 5
mysql 5.1
phpmyadmin
i have a probelm now with my phpmyadmin:
cannot load mysql extension;
please check PHP configuration
can anyone help me please?
-
ok i followed the tutorial and did what i said...
i had already had apache and php working fine on it....but i cant get my MySQL Server 1.4 working.... can someone help...i still get a error on my page saying:
Call to undefined function mysqli_connect()
thank you destramic
-
ive installed mysql server 4.1, php5 and apache 2
im just having problems with getting mysql working...can someone help please?
-
how do i get mysql on my server
-
accually i need mysqli on my server...could you help?
cheers destramic
-
k i have my apache working with php5 as i wanted...but i cant seem to find a download for mysql for my apache....also i would like to have phpmyadmin...
would anyone know where i could get this from?
thanks destramic
-
im currently running on windows....and im wondering if anyone knows somewhere simple i can learn how to configurate an apache server to my needs...
i want a server with:
php
mysql
phpmyadmin
could someone please help me ?
thanks destramic
php 5 install on apache 2.2
in Apache HTTP Server
Posted
LoadModule php5_module "c:/Server/PHP/php5apache2.dll"
AddType application/x-httpd-php .php
PHPIniDir "C:/Server/PHP"
and it dont seem to work...when i try to restart apache it says "operation failed" but when i remove those 3 lines its alright..and has no errors....can anyone please help on this matter?
regards