1

(6 replies, posted in PHP)

That worked!!!

Thank you! These tutorials are awesome, and so is this board!

Thanks to everyone, especially Stephan.

Lynn Strauch

2

(6 replies, posted in PHP)

Well, that did not work either. I am still getting the error after removing the comma and space. Stephan has it working with the comma and space...room for another I am assuming, and it works for him, and it is working for the other guy...but not for me...sigh.

Same Error though:
Parse error: parse error in C:\wamp\www\php_work\AssociativeArray.php on line 19

Lynn

3

(6 replies, posted in PHP)

I get a parse error:
Parse error: parse error in C:\wamp\www\php_work\AssociativeArray.php on line 19


This is what I have for the complete code:

<html>
<head>
<title>Associative Arrays</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body bgcolor="#FFFFFF" text="#000000">

<?php
//Associative Arrays

$my_array = array("Elizabeth","Lynn","Lynette",7);
print "The value held in position 2: ";
print $my_array [2];

// Associatative Array Uses Name Value Pairs
print "<br><br>"

$prices_array = array("TV" => "250.00", "DVD" => "100.00", "VHS" => "2.00", );
print $prices_array ['TV'];

?>

</body>
</html>

No matter what I do, it will not work on my computer. I am not sure why this is.

4

(6 replies, posted in PHP)

Hi,

I am following along, and doing well for the most part until I hit the Array tutorial #2.

Here is what I have, and I blows an error on line 17 everytime. I am getting kind of frustrated because it looks right, yet, it must not be.

What am I doing wrong. It is in the "first line of the actual array.

<?php
//Associative Arrays


$prices_array = array("TV" => "250.00", "DVD" => "100.00", "VHS" => "2.00",);
print $prices_array ['TV'];

?>

Thank you,

Lynn

5

(1 replies, posted in PHP)

Hello,

Most of us can create the form, we just don't know how to make it work with the database. At least, that is my case. The tutorial seemed to stop there after the tutorial on MySQL connect, root, die tutorial. Which I thought was very insightful.

Are you planning on creating more tutorials that actually walk you through building a small form like you have, and then putting that form into the db? Maybe I missed it, but I looked back and did not find the rest of those tutorials to finish off the basics of how to make your form interact with the DB by inputting the text into the db.

Thank you,

Lynn