Eric Holmstrom wrote:
Hi there
I have a database called Eric and table name called Rocket'.
Table consists of three values.
PARTNO | DESCRIPTION | COMMENT
So far if i want to show copper headgaskets from the 5r field i put this
string into the php script (along with the rest of the html/php
Okay i have this so far
---
?php
$conn = mysql_connect(localhost, , );
mysql_select_db(ERIC,$conn);
$sql = SELECT * FROM rocket;
$result = mysql_query($sql, $conn) or die(mysql_error());
while ($newArray = mysql_fetch_array($result)) {
$partno =
Eric Holmstrom mailto:[EMAIL PROTECTED]
on Monday, December 08, 2003 3:06 PM said:
How do i make it so if i type
http://localhost/test.php?partno=5rdescription=copper
$partno = $_GET['partno'];
$description = $_GET['description'];
$sql =
SELECT partno
,
Eric Holmstrom wrote:
Okay i have this so far
---
?php
$conn = mysql_connect(localhost, , );
mysql_select_db(ERIC,$conn);
$sql = SELECT * FROM rocket;
$result = mysql_query($sql, $conn) or die(mysql_error());
while ($newArray =
4 matches
Mail list logo