
PravinS
-
Posts
459 -
Joined
-
Last visited
-
Days Won
2
Posts posted by PravinS
-
-
your button name is "Submit" with capital "S" and while checking isset you are checking with small "s" as "submit", also assign values to each option in age drop down
-
-
how are you executing your index.html page?
also you can not have PHP code in HTML page, check index.html page
-
write error_reporting(E_ALL) at the top, so it will display errors if any
also check whether your database user is having CREATE previlege
-
check your MySQL database username and password
-
How do you input php? Would it just be <?php echo "<p>" . 'custom_weapons_v3' . "</p>"; ?>
sorry not the SQL query, but what you try to say
also <p> tag will also not work in text file and what is "custom_weapons_v3", if it is a PHP variable then use $custom_weapons_v3
-
try this
<div style="text-align:right"><label class="screen-reader-text" for="s">Search for:</label> <input type="text" value="" name="s" id="s"> <input type="submit" id="searchsubmit" value="Search"> </div>
-
search this code
<div><label class="screen-reader-text" for="s">Search for:</label> <input type="text" value="" name="s" id="s"> <input type="submit" id="searchsubmit" value="Search"> </div>
replace it with
<div align="right"><label class="screen-reader-text" for="s">Search for:</label> <input type="text" value="" name="s" id="s"> <input type="submit" id="searchsubmit" value="Search"> </div>
may this works for you
-
How do you input php? Would it just be <?php echo "<p>" . 'custom_weapons_v3' . "</p>"; ?>
i didn't get your query
-
if your content is big then open your file in append mode and write each line by line in file
as you are creating text file the HTML tags will be written in file as it is, so instead of <br> tags use \n for new line
-
-
-
-
-
you missed $ in line
$fh = fopen($MyfFile, "r");
-
image source should be like this
<img src="<?php echo $path;?>" >
-
even i have become millionaire number of time
-
refer: http://www.w3schools.com/php/php_mysql_select.asp
and for total value, you can define $total = 0; above while loop and then in while loop just add database total value to $total
as $total = $total + AMOUNT(ROW)
may this will help you
-
its better if you use any CMS like wordpress
-
there is no need to open multiple database connections, you can use one common file say dbconn.php, write database connection code in it and include that file whereever you want to use database queries
-
if filenames are same then it will overwrite your old file
-
-
just assign value 1 instead of 0 to $score variable at the top
replace this
$score = 0;
with
$score = 1;
-
check your isset part, it should be like this
if (isset($_POST['stage1'])) { $newteamid = $_POST['teamid']; echo $newteamid; $startrace = @mysql_query("INSERT INTO regionals (teamid, stage, ownerid) VALUE ('$newteamid', '1', '$id')") or die("Error: ".mysql_error()); }
I Need Card Integration Code... Please Help
in PHP Coding Help
Posted
what kind of card integration?