-
Posts
1,842 -
Joined
-
Last visited
Posts posted by marcus
-
-
There is code missing
<form method="post" action="member.php"> No </form>
as for
AND NickName = '{$_POST['NickName']}'")
$_POST['NickName'] YOU have not put any value to this. If this is working then you
have some invisible code
<OPTON Value="X">Name</Option>
without the X it can't work.
Without the X it can work.
<option>x</option> the value of that is x
<option value="x">hello</option> the value of that is x
<option>Name</option> the value of that is Name
-
You have not got a vaue for the option This ....
<option>$myrow[NickName]</option>;
Actually the indefinite value for an option is defined within itself.
So the value of <option>$myrow[Nickname]</option> is whatever $myrow[Nickname] is defined to.
-
$var = "hello"; function hello(){ echo $var; } hello(); # will not work
$var = "hello"; function hello(){ global $var; echo $var; } hello(); # will work
-
unset specifically kills the defined parameter, session destory destroys the whole session.
-
Can't we just use session_destroy(); ?
-
The file obviously doesn't exist.
Just use a full path
include "C:\folder\folder\test2.php";
-
Why do you need an include path, just define it as you go.
-
<?php set_include_path("C:/hshome/tipa-mu/mu-anime.com"); include "../test2.php"; echo "World"; ?>
-
when i use this
<?php set_include_path('C:/hshome/tipa-mu/mu-anime.com/'"); include "../test2.php"; echo "World"; ?>
i get this message
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in C:\hshome\tipa-mu\mu-anime.com\test\test1.php on line 3
You put another quote in there...
-
<?php set_include_path("/try/using/backslashes"); include "../test2.php"; echo "Word"; ?>
-
mysql_query..
-
<?php set_include_path("C:\hshome\tipa-mu\mu-anime.com\"); include "../test2.php"; echo "World"; ?>
-
Maybe if you didn't act like a complete bitch about it people would gladly be helping you.
-
You're missing a closing brace somewheres.
-
Before anybody tries answering the question do you mind posting your code in the code or php tags?
But, try using error reporting.
$query = "UPDATE tracks SET artistName='$an', SeqNum='$sn', trackname='$tn', ISRC='$is', duration='$du', composer='$co', publisher='$pu' WHERE ISRC='$id'"; $result = mysql_query($query) or die(mysql_error());
-
One acronym and one word.
-
$l = $_GET['LOwner']; $l = urlencode($l); header("Location: yourpage.php?l=" . $l);
-
Try checking to see if the variables have values before submitting information to the database.
-
urlencode($l);
-
Isn't that sort of a contradiction?
If the session doesn't exist and equals the constant false... hmm.
-
$res = mysql_query($que) or die(mysql_error());
you have that...
$res = mysql_query($query) or die(mysql_error());
should be that.
-
You're going to need to use an INNER JOIN.
-
-
$id = mysql_real_escape_string($_POST['course']); $query = "SELECT * FROM `coursers` WHERE `id`='$id'"; # etc..
PHP / Javascript Mixed Validation
in PHP Coding Help
Posted
no idea how the JS is setup.