fugix
-
Posts
1,483 -
Joined
-
Last visited
Posts posted by fugix
-
-
do you receive any errors from this script?
-
-
try using the implode() function on your post data
-
sorry it didn't work...just a shot in the dark..was worth a shot
-
I am rather confused as to what you are trying to accomplish as well
-
i find it to be a good practice to use mysql_close() at the end of each page for better security..i suppose that you could also close it after the each coding line that you are finished using it..seems a bit tedious though
-
could you append a break onto your fwrite()
fwrite($fp,$_POST['visitormail' . " <br /> \n"]);
-
there are probably ways to combine the queries...but i would use two as to not confuse one from the other
-
you could probably make multiple queries using limits...but im not sure if that would be the most effective way..I'l try to come up with some more
-
always validate forms that will have user input...to protect against SQL injection
-
sorry salathe..was rude of me
-
you can google for phpmyadmin...and as for mysql admin...if you have linux then you can find it in the synaptic package manager
-
oh okay..wasnt sure
-
cool
-
salathe copy paste from php.net
-
ahh..was not aware of that..thanks pikachu
-
look into the chmod() function
-
while($row = mysql_fetch_assoc($query)) { $name = $row['name']; $value = $row['value']; $array = array($name => $value); }
maybe something like that?
-
then you could probably set up a switch function using each unique radio button name...telling it what to do when that specific button is clicked
-
first thing that i see is that all of your input names are the same...they need to be unique names
-
so basically the two the I described yesterday
-
what errors are you receiving? and what exactly do you have stored for your image urls inside of your db?
-
$array = array($var1, $var2, $var3); just use the vars that you have already set to use for your array
-
I think it may also be used in objects along with -> bit I'm not sure
Column count doesn't match value count at row 1
in MySQL Help
Posted
this error means that the number of columns in your db does not match the number of columns that you are trying to insert into..it looks like in your code that you have 5 columns and you are only adding data into 4 of them..you need blank quotes ('') for any column that you do not wish to add data into