Error

2 posts by 2 authors in: Forums > CMS Builder
Last Post: July 7, 2009   (RSS)

By Toledoh - July 6, 2009

Hi Guys,

I'm trying to add a submission form within a page, using the AddForm.php sample.

When the page stand alone - it works fine, however when I incorporate it into another page - I get an error.

http://www.forrest.id.au/nutsandbolts/blogDetail2.php?1 not working

http://www.forrest.id.au/nutsandbolts/addComment.php working


I guess this is because it's not know what record to pull up when it returns... so the following code kicks in;


// show error message if no matching record is found
if (!$blogRecord) {
print "Record not found!";
exit;
}


But how do I fix this, either to go to a "thank you" page, or reload the same page?

I've attached the page in question...

Cheers,
Tim
Cheers,

Tim (toledoh.com.au)
Attachments:

blogdetail2.php 7K