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
Insert to MySQL inside foreach
Hey.I am parsing some html, and putting inside an html db.I need to create a randomized integer to be a unique identifier, and i chose just to use time().But I foreach the results, and inside here i
Storing user data help?
Hey Guys, I'm not use if this question is to broad but I can always give you more information if needed.I have a website where users can login which uses mysql anyway I have a little form asking some
Grids not displaying decimals, and behaving differently on different PCs?
Hello,
i need help with php header and footer
I have designed a header and footer for my site and they seem to be ok when they are running individually ( I have a header.php and footer.php) but when I try to run then using a content page with the
Email Script does not reach destination
Hey Guys look at this code snippet :Code: //read a line from the file$myFile = "MailFile.txt";$fh = fopen($myFile, 'r');$theData = fgets($fh);fclose($fh);echo $theData;/send Email$to =
is_dir() problem
Hello,I'm buidling a php scripts that dynamically get's subfolders from a specific folder.my code:Code: <?php if(isset($button)){ $opendirdepot =
Retreiving objects from Sessions
Hi all,I am getting really frustrated with storing and retreiving objects from a session. But it may be because of my lack of knowledge in sessions First some system specs:OS - Vista Home
PHP, Arrays & A Lot Of Confusion
I've been doing basic PHP work on sites for a few years now, but I've never been tempted to learn how the ARRAY function worked, nor in what instances to use it. Now I've stumbled upon the jCarousel
DATEDIFF Question
First time post, and of course it is a help question.I am using a WP plug-in to display previous and next games in a season. (Leaguemanager is the plug-in name - Link
Multidimensional array problems in $_POST
I'm having trouble with a three-dimensional $_POST array. It starts as a two-dimensional array on this side:Code: <html> <head>