No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Re:
I am a novice at PHP, but I would like to create a simple form that sends to a single email upon Submit. I am running Apache and I don't get any errors, but I never receive my test emails? I press submit, and nothing. Can anybody tell me what … |
|
Re:
Hi, It always stated that 'No Database Selected'. Really need your help. Thanks :) This is the coding [CODE]<?php require('include/config.php'); $conn = mysql_connect($db_host, $db_user, $db_pwd); mysql_select_db($db,$conn); $sql = " SELECT * FROM hod_approval WHERE hod_approval='2' "; $result = mysql_query($sql) or die (mysql_error()); [/CODE] Here's my config.php [CODE]<?php $db = 'TADMS'; … |
|
Re:
hi i am writing a program which take the value from form and then execute a error "failed" each time. which means there is some error in my query but i cant find the problem. here is the code [CODE]<?php session_start(); //print_r($_POST); $name=$_SESSION['SESS_CUSTOMER_ID']; $con=mysql_connect("localhost","root",""); mysql_select_db("pras2"); $product_id=$_POST['P_list']; echo "$product_id"; $quantity=$_POST['quantity']; $query= … |
|
Re:
I donĀ“t understand the error: Parse error: syntax error, unexpected T_VARIABLE in /home/eduardli/public_html/web_designer/insert.php on line 21 php file: [CODE]<html> <body> <?php $con = mysql_connect("localhost","eduardli_user","-z.x,c"); if (!$con) { die('Could not connect: ' . mysql_error()); } $description = $_POST["description"]; $price = $_POST["price"]; $quantity = $_POST["quantity"]; mysql_select_db("eduardli_company", $con); mysql_query ("INSERT INTO Products (Description, … |
|
Re:
[CODE]<form method="POST" action="https://www.thewiseagent.com:443/secure/webcontactAllFields.asp" name="myForm" onSubmit="return chkForm(this);"> <!-- Do not change --> <input type="hidden" name="ID" value="67,176,210,31,93,194,29,70,235"> <!-- These fields can be edited --> <input type="hidden" name="responsePage" value="http://http://www.expertforyou.com/"> <input type="hidden" name="Source" value="website referral"> <input type="hidden" name="Categories" value=""><!-- semicolon;delimited no spaces --> <input type="hidden" name="currentUser" value=""><!-- internal team member --> <input type="hidden" name="ProgramID" … |
|
Re:
Hi frnds .... I am trying to create a contact form in PHP , MySql .... In my form i have two 3 input fields n a Submit Button ..... 1. Name 2. email 3. SecurityCode ( here user have to enter the captcha code ) m collecting all information … |
|
Re:
hi...i really, really need help right now...i have order date and approve date.. 1) my problem is, how i can calculate between those two date 2) code for checking insert date...for example, if the user enter yesterday date for order date, it will pop up an error and if the … |