merck_delmoro
Members-
Posts
70 -
Joined
-
Last visited
Everything posted by merck_delmoro
-
I am building a php code that sends an email but when I use mail function it is not working properly I try a simple code of mail it is not working either and also i try the codes form w3schools the tutorial of scripts I copy paste the code and try it but still not working is there any alternative ways to mail using php???
-
use $_POST to sends the check values in every page and make a $_SESSION for them
-
can anyone help me on this script search multiple words
merck_delmoro replied to merck_delmoro's topic in PHP Coding Help
@ignace I dont have problem on searching the multiple words my problem was I want to arrange all the matching strings from my csv file starting from the nearest match string that I typed -
Do not insert FORM if User field is empty?
merck_delmoro replied to tomm098's topic in PHP Coding Help
make a condition like if(!isset($_COOKIE["username"])) { header("location:login.php"); } -
Use this PHP function mail(to,subject,message,headers,parameters)
-
insert height and width to the code
-
because you don't have any image created make an image using any picture editor dn change the SRC value from <INPUT TYPE="image" SRC="button.gif" VALUE="Search" ALT="Search" NAME="Search"> to the name of your picture that been create
-
can anyone help me on this script search multiple words
merck_delmoro replied to merck_delmoro's topic in PHP Coding Help
Can Anyone Help Me????????? -
Change <input type='submit' name='submit' value='Search'> to <INPUT TYPE="image" SRC="button.gif" VALUE="Search" ALT="Search" NAME="Search">
-
Form validation with 2 actions if error or not
merck_delmoro replied to Eggzorcist's topic in PHP Coding Help
read this article http://javascript.internet.com/forms/email-validation---basic.html -
study the program inside this page http://php.about.com/od/phpwithmysql/ss/php_pagination.htm
-
Form validation with 2 actions if error or not
merck_delmoro replied to Eggzorcist's topic in PHP Coding Help
Sorry I forgot to tell you that ^^ yup the function was a JavaScript function -
Form validation with 2 actions if error or not
merck_delmoro replied to Eggzorcist's topic in PHP Coding Help
-
Form validation with 2 actions if error or not
merck_delmoro replied to Eggzorcist's topic in PHP Coding Help
yup -
[SOLVED] Checkbox not being check on CheckAll button
merck_delmoro replied to Russia's topic in Javascript Help
there are no errors it checks all the check boxes when I click it are you sure you are clicking the right button??? <?php error_reporting(E_ALL); require("inc/config.php"); if (isset($_POST['del'])) { for ($count = 0;$count<count($_POST[delchk]);$count++) { $delete = $_POST[delchk][$count]; $query = "DELETE FROM persons WHERE id = '$delete'"; $result = mysql_query($query); if (!$result) { die("Error deleting persons! Query: $query<br />Error: ".mysql_error()); } } } $result = mysql_query("SELECT * FROM persons"); // Check how many rows it found if(mysql_num_rows($result) > 0){ echo "<table id=\"mytable\"> <thead> <tr> <th align=\"center\" scope=\"col\">Delete</th> <th align=\"center\" scope=\"col\">First Name</th> <th align=\"center\" scope=\"col\">Last Name</th> <th align=\"center\" scope=\"col\">High Scores</th> <th align=\"center\" scope=\"col\">Date of Entry</th> <th align=\"center\" scope=\"col\">IP Address</th> </tr> </thead> <tbody>"; echo "<form name = 'myform' action='' method='post'>"; while($row = mysql_fetch_array($result)) { echo "<tr align=\"center\">"; echo '<td><input type="checkbox" id="delchk" name="delchk[]" value="'.$row['id'].'" /></td>'; echo "<td>" . $row['FirstName'] . "</td>"; echo "<td>" . $row['LastName'] . "</td>"; echo "<td><a target=frame2 href='" ."profile.php?user1=". $row['FirstName'] ."'>Check HighScores</a></td>"; echo "<td>" . $row['AddedDate'] . "</td>"; echo "<td>" . $row['Ip'] . "</td>"; echo "</tr>"; } echo "</tbody>"; echo "</table>"; echo "<hr>"; echo "<input type='submit' name = 'del' value='Delete Selected'></form>"; echo "<input type='button' onclick='checkall(document.myform.delchk);' value='Select All'>"; echo "<input type='button' onclick='uncheckall(document.myform.delchk);' value='UnSelect All'>"; } else{ // No rows were found ... echo "No Registered Members"; echo "</tbody>"; echo "</table>"; } mysql_close($con); ?> -
[SOLVED] Checkbox not being check on CheckAll button
merck_delmoro replied to Russia's topic in Javascript Help
I have tested the code it check all the checkboxes when I click button named "SELECT ALL" try your code from your post yesterday here is the link http://www.phpfreaks.com/forums/index.php/topic,266488.0.html -
Form validation with 2 actions if error or not
merck_delmoro replied to Eggzorcist's topic in PHP Coding Help
on your place onSubmit("return action();") on your <form> and make a function named action() or any thing you want to name it dn make a if else condition for your validation if validation creates an error return false; and if no errors return true; -
[SOLVED] Checkbox not being check on CheckAll button
merck_delmoro replied to Russia's topic in Javascript Help
Any more questions???