Forums

PHP

This topic is locked

field error

Posted 30 Jul 2001 21:01:50
1
has voted
30 Jul 2001 21:01:50 Keith Slater posted:
UltraDev made this code itself but when it tries to run it I get this error.

<input type="hidden" name="MM_recordId" value="
Fatal error: Call to a member function on a non-object in C:\Inetpub\wwwroot\caricaturePHP\addcar.php on line 359

this is the line it messes up on
<input type="hidden" name="MM_recordId" value="<?php echo $Recordset1->Fields("PICTURE_NAME" ?>">

any ideas?

thanks


Keith Slater
Word Pro Systems
www.wordprosys.com

Replies

Replied 31 Jul 2001 01:02:11
31 Jul 2001 01:02:11 Tim Green replied:
Call to a member function on a non-object means the $Recordset1 isn't a Recordset object.

Check that after you applied the behaviour that inserted this code that you didn't, in fact change the recordset name.

Also, ensure that before you create a recordset that you save the file first.

It could also be that you need to upload the adodb and Connections folder from your webroot to your webspace.

Tim Green

Extension & PHP TalkZone Manager

------------------------------------------
www.UDzone.com : A dynamic Dreamweaver,
Ultradev and Fireworks site for developers
by developers.
------------------------------------------

Reply to this topic