Hello, I got the parse error "Parse error: syntax error, unexpected ',' in register.php on line 21
Heres the code:
Code: <body bgcolor="black">
<head>
<title>Unamed Project</title>
<link rel="stylesheet" type="text/css" href="http://bleej.exofire.net/main.css" />
</head>
<div style="background-color:green; text-align:center">
<a href="index.html">Index</a>
</div>
<?php
@mysql_connect("localhost", "bleej", "*********") or die("Cannot connect to DB!");
@mysql_select_db("tbl_lgin") or die("Cannot select DB!");
[b]$sql="INSERT INTO login_tbl (loginid, password and email) VALUES (".$loginid.â€,â€.$password.â€,â€.$email.â€)â€;[/b]
$r = mysql_query($sql);
if(!$r) {
$err=mysql_error();
print $err;
exit();
}
?>
</body>
</html>
Any help? I can't see anything wrong
FTP issues
Hi all,I am currently facing some serious problems with a script and really need some advise before I am actually sick To give you a brief overview of the situation, I have a script which is going to
trim function issues
Hi guys, total noob here... So I've been tinkering around with a html and am using php to email the subitted data to me. It's all working fine, except now I've changed the rules of the form a little
Transport data between itab and textfield on ALV event
Hallo,
count only commas outside parenteses
I have a sql table containing id - query - query namethe first page contains a drop down menu of all the query names. When chosen the user is sent to a page that prints the result of the query in a
$action = "insert"; //$action = $_GET['action'];
$action = "insert";//$action = $_GET['action'];why is this invalid type? I am just modifying code that is there and want the action = insert so it will run all the parts of the code for
How to get the previous months last date....
Here's my wittle problem. I suck at working with dates.So today is 10/20/2009, i need to figure out how to useCode: $lastmonth = date("m-d-Y", strtotime(" "));in order to get
how can i expire the submitted page using session.
hi,i'm new to php world.i'm using "post" method.when i submit it,data goes to database successfully.BUT when i click the back button of browser(IE) the previouspage will appear.how can i
help removing unwanted graphic
How do I remove the small elongated rectangular shape between the "Latest post" and "Archives" section at http://www.simonlindgren.com ?The code surrounding this place
Working with popups and such in a class
I've recently started building my applications completely enclosed in classes. I like the fact that I can base everything off one root and work with that, but I'm having a problem with popups
Operating System
How in PHP or other language can I detect Operating system, ie Windows XP Home, Windows 7 Ultimate, Mac OS 10?Anyone know how?Thanks