473,320 Members | 1,823 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

more help please Sugapablo

MSM
Hello, Thank you for your response Sugapablo

you responded to me by saying:

You should go into your database directly, and create the table there.
Use the PHP code to INSERT ot UPDATE data into the table.

The form's ACTION should point to a .php page that executes the
following:

1) Reads the data from the form. Either $_POST or $_GET.
2) Opens a connection to your database.
3) Constructs a SQL statement to INSERT or UPDATE a table.
4) Queries the database.

OK here is where my Action points to showen below
I am not sure what you mean by going into my database
directly and creating my tables there. This my sound silly but where
Do I create my DB. I thought that whats below was my db

ie

<?php
$first=$_POST['first'];
?>

for connecting to the db do i just place
the @mysql_connect statement just above the code below.

any help you could be would be wonderful. thanks so much.
//

<html>
<head>
<title>Title here!</title>
</head>

<body bgcolor="#ffffff" text="#654000" link="#cbda74" vlink="#808040"
alink="#808040">
<br>
<?
print " <b> ".date("F d, Y")." <br>
<br>
";
?>

<?php
$first=$_POST['first'];
$last=$_POST['last'];
$add=$_POST['add'];
$city=$_POST['city'];
$province=$_POST['province'];
$phone=$_POST['phone'];
$phone2=$_POST['phone2'];
$phone3=$_POST['phone3'];
$make=$_POST['make'];
$model=$_POST['model'];
$year=$_POST['year'];
$color=$_POST['color'];
$cost=$_POST['cost'];
$towing=$_POST['towing'];
$subcontract=$_POST['subcontract'];
$enviromental=$_POST['environmental'];
$taxes=$_POST['taxes'];
$date=$_POST['date'];
$time=$_POST['time'];
$lname =$_POST['lname'];
$lname2=$_POST['lname2'];
$total=$_POST['total'];
$p_effort=$_POST['effort'];

?>
</body>
</html>
Jul 17 '05 #1
0 1354

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Shufen | last post by:
Hi, I'm a newbie that just started to learn python, html and etc. I have some questions to ask and hope that someone can help me on. I'm trying to code a python script (with HTML) to get...
21
by: Rabbit63 | last post by:
Hi: I want to show a set of records in the database table on the clicnt browser. I have two ways to do this (writen in JScript): 1.The first way is: <% var sql = "select firstname from...
0
by: power | last post by:
Suggestion: Read this entire message carefully!! (Print it out or download it) http://network4life.tripod.com/ (check this out) BE PREPARED TO GET EXCITED.... YOU WON'T BE DISAPPOINTED! ...
26
by: Lasse Edsvik | last post by:
Hello I'm trying to build a simple COM+ app in vs.net using C# and i cant register it in component manager..... what more is needed than this: using System; using...
7
by: mp | last post by:
No value given for one or more required parameters. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information...
2
by: Sugapablo | last post by:
I have a DIV that becomes visible when a link above it is moused over. The DIV has links in it like so: <div class="popup" onmouseout="hideLayer(this);"> <a class="popuplink"...
15
by: sparks | last post by:
We get more and more data done in excel and then they want it imported into access. The data is just stupid....values of 1 to 5 we get a lot of 0's ok that alright but 1-jan ? we get colums...
0
by: AxleWacl | last post by:
Hi, The below error is what I am receiving. The code im using is below the error, for the life of me, I can not see where any parameter is missing..... Server Error in '/FleetcubeNews'...
12
by: pedagani | last post by:
Dear comp.lang.c++, Could you make this snippet more efficient? As you see I have too many variables introduced in the code. //Read set of integers from a file on line by line basis in a STL...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.