Thanks. I got it. I appreciate the Help
<td><? echo "$_POST[month] / $_POST[day] / $_POST[year] "; ?></td>
This is how I got it to show in the confirm page.
Thanks
If it makes a difference my column for pickupdate in my db is:
Field-pickupdate
Type-varchar
Length-32
Attributes- empty
Null-notnull
default-empty
extra-empty
Thanks.
Hi:
I am trying to write a date selected by the user into mysql date column. There are three variables month, day, year.
Here is portion of the code from the script that will insert the data into the DB:
/ create query
$query = "INSERT INTO $table_name (shipperorg, pickupdate...
I'm not having much success with the way I was told to post the variables into one date column. Am I doint this wrong?
'$_POST[$year:$month:$day]'
Thanks again for your help
// create query
$query = "INSERT INTO $table_name (shipperorg, pickupdate, origincity, originstate, destcity...
I am getting a parse error '<' on Line 7. I can not see it. Can someone help me out and tell me where it is.
<?
$page_title ="EXDQ TRUCKING ADMIN";
include ('includes/header.html');
?>
<h1 id="mainhead">Expedited Trucking Admin</h1>
<?
echo 'Today is ' .date('l') . ' . The current Time is ' ...
I appreciate the help and hate to be a pain. But i am still learning PHP/MYSql. If you look at my code, how do I id the three variables to go into a column I have named pickupdate.
The code:
<?
function make_calendar_pulldowns($m=NULL, $d=NULL, $y=NULL) {
// Make the months array...
how would I enter the months, day and year into the DB? Do I have to have seperate columns for each?
This is my addload.php script:
<?
$page_title ="ADMIN";
include ('includes/header.html');
?>
<h1 id="mainhead">Expedited Trucking Admin</h1>
<?
echo 'Today is ' .date('l') . ' . The current...
Thanks!! I fixed that but now I am getting an error on line 112, and nothing is there.
<?
$page_title ="EXDQ TRUCKING ADMIN";
include ('includes/header.html');
?>
<h1 id="mainhead">Expedited Trucking Admin</h1>
<p>
<?
echo 'Today is ' .date('l') . ' . The current Time is ' . date ('g:i a')...
Hello:
I have a form that I am trying to make a dropdown menu using a phpscript. I keep getting a tstring error on line 21 which is function make_calendar_pulldowns...
I am using php4, is this the correct format for php 4? If someone could cut and past the script into their editor and see what...
I checked the forum before posting this, and saw a posting but there was no real solution. I am learning to use fopen, and I keep getting
Warning: fopen(exp/runs.txt): failed to open stream: Permission denied in /home/httpd/vhosts/domainname.net/httpdocs/testopen.php on line 2
now here is the...
I want thank all who helped with the issue I was having with the password, so I figured it out. The problem I am having now is info is submitted from form 1, at form two which is the code below, it does not show the info for user to verify before it writes to the DB. I'm figuring I am miss using...
#2. I was told that zip was int. Is that not right?
#1. Password is coming from the first form, where the user inputs the information. I took it out because when it displayed it showed the user password.(not sure if that was right) Also it would not insert into the DB correctly. I'm not sure If...
Here I am again. I have a few issue, needs some advice.
1. How do I get the user password into the table I created via the code below:
2. If the zipcode begins with 0, it does not show up in the zipcode field. Ex: 07017 will look like 7017.
3. my phone number field is not inputting the...
so when I create the table for example:
`email` varchar(20)NOT NULL defualt '',
`password` varchar(30) '',
would this just create a field named password? or when my script writes the user information to the DB the script above will create a password field along with the user pw.
$pwd =...
Hi:
I am creating a table for users via PHPMyAdmin. One of the fields is a password field. What is the correct syntax to create the password field so it will be hashed. i.e, not visible.
Thanks for your help.
Ok. Not quite following. Is there a link in this forum I can read on cathcing the form and putting it somewhere, or do you have sample code to show me based on the code I am using? Also where can I go or what book to buy and read on form validation. I am getting so many opinions I am little...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.