-
Posts
783 -
Joined
-
Last visited
Posts posted by Q695
-
-
$sql = "INSERT INTO fooddiary (ID, Date, DayTime, FoodName, Calories)
VALUES ('$clid', '$date', 'Breakfast', '$food', '$cal')
ON DUPLICATE KEY UPDATE FoodName = '$food', Calories=$cal";try the chance, then echo $sql
-
Adapt these videos:
-
Almost every single variable is used by a database, and i'll tell it to do an exception if the error is being created.
-
tie the back end into a database that populates the form based on numbers, and text. On the back end have it do a for each output, and hidden if the variables are filled in, but others are blank. I did one of those a few years ago.
-
History would be a simple insert of the variables based on the site you were on.
-
copy the insert line from phpmyadmin, and adapt it for what you need to do.
-
or on the WAMP login screen.
-
SHOW YOUR CODE!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-
What is $c?
-
print_r($row) will output the query values
-
do a while loop with the ."$priKeys=mysql_fetch_assoc($results)"
-
do $_POST['send']!='' for all the variables.
-
They do it on this website with something like each variable name is different, and it does urling based on what the variable name is.
-
Hello!
If I understand your question correctly, you can do this.
<td><font face="Arial, Helvetica, sans-serif"><?php echo '<a href=". $f6 .">A Link</a>'; ?></font></td>
Hope that helps!
He forgot the while loop:
<?php while ($row){ $f1=$row['f1']; $f6=$row['f6']; echo" <tr> <td><font face='Arial, Helvetica, sans-serif'> $f1</font></td> ... <td><font face='Arial, Helvetica, sans-serif'> $f6 </font></td> </tr>"; } ?>
-
Do it on your frame layout, so it is on all pages by default.
-
Am I missing anything for my variable security statement?
foreach( $_GET as $key => $value){ $_GET["$key"]=mysql_real_escape_string($value) ; } foreach( $_POST as $key => $value){ $_POST["$key"]=mysql_real_escape_string($value) ; }
How would I reverse it on the output side?
-
Your file is missing/not pointed to the right name of the file.
-
I know it was, so I was saying that the number could be a rational number also.
-
Yes, page will be a rational number, and doing an include within an include, like 3.1, and 3.2 would be elements of 3.
I was trying both ways, and displaying the code for the types of things I tried.
It's still in the range.
-
I'm stumped on how to convert the if statement to a case statement
if ($page>=3 && $page<4) case (>='3' && <'4'):
It's doing the block inside when the case variable isn't set.
-
-
-
Any other sources to pull ads from, or does adwords pay the best?
-
Block Following Own Account
in PHP Coding Help
Posted
isset means does it exist.