fugix
-
Posts
1,483 -
Joined
-
Last visited
Posts posted by fugix
-
-
i know of mysqladmin and phpmyadmin...both of which you users would need to have login info..hopefully someone else knows something else for this
-
storing them like that isnt really important..so i would store them like a normal array...to display them like that I would use a foreach loop
foreach($post_values as $array_values) { echo $array_values . "<br />"; }
something like that
-
Do you want to store it that way or show it like that?
-
Firs thong that comes to my mind is to create a while loop to draw out allot the email addresses that you want to send to. Then create the email
-
no problem...let us know if you need further assistance
-
i would echo your $numrows variable to make sure that you are grabbing a row in your database if the user exists..that would be my first step
-
in your $queryreg mysql_query...you need to specify the values to add immediately after VALUES...WHERE is the last part of the query. and guilty gear is right...just add another field to your users table specifying whether or not they have been verified
-
the above code looks correct....your main issue butler was in your mysql_query, you put $_POST('username5') instead of $_POST['username5']..
-
in your if statement..you want it to run the code if all 3 fields are set...then you state that if $_POST['state'] is blank to run more code..how can it be set and empty at the same time? unless you set it to be a blank space..?
-
Try printr($array) to see what displays
-
In mysql queries. I've found that variables do not need to be inside single quotes. So plans does not need to be wrapped in quotes. Where did calamari come from?
-
Okay say you set the $planetname = $row_planetname. Make a query like.
mysqli_query("select * from fleet where planetname=$planetname")
-
What is the error that you are receiving
-
So you would create another query telling it to grab the rows where planetname = $row_planetname
-
what is your solution?
-
mysql is rather easy to learn and will most certainly benefit you
-
yes it needs to be int unless you are planning on inserting letters.
-
so instead of it descending it actually ascends?
-
your echo needs to be before your header..you could use a <meta> refresh tag so that the user sees the message for a specified amount of time...then they are directed to the specified page
-
die() will terminate any code that is after it...I believe that it is mainly meant for when errors occur, so the script doesnt continue to run
-
the foreach loop will only work to iterate arrays..
-
glad we could help
-
yeah looks like you are receiving those errors because you are using ['username'] instead of ['name']
-
so after case 404 you would put default and echo whatever you would like the default text to be
Else, Else if, OR, ?!? Syntax error!
in PHP Coding Help
Posted
yep looks like you need to add one more ending parenthesis on that line