Monday, September 24, 2007

Websystems 2: PHP and database occuring problem

I had thought that it maybe a good idea to blog what I am doing over and over incorrectly.


When retrieving attributes from the database:

while ($row = oci_fetch_array ($stmt))
{
? >
Breed: < value = "">
< ? echo $row["BREED_NAME"]; ? >
< /option >



Attributes have to be in capitals or else errors occur. My problem is that I write what the attribute of the database case is for which is in lower case.

Problem solved

0 comments: