This topic is locked

Editing records

8/8/2006 10:34:25 AM
PHPRunner General questions
A
amirgulamali author

Hi there,
I am tiding up my pages and want to make afew changes on the _edit page:
Currently when a record is edited: the header displays:

TABLE NAME, Edit record [primarykey: 23123]
I dont want to see the last part ([primarykey: 23123]) upon editing entries in all of my generated pages.
I know this is a simple echo script and I can remove it from the edit page in the /source folder but I want to ask the admins if this action would mess up something else?
Please tell me exactly what line should i remove in the source? thanx

J
Jane 8/9/2006

Amir,
open ..._edit.php file, find following code snippet

echo "<h1>TableName, ".mlang_message("EDIT_RECORD")." [".Label($strKeyField).": ".htmlspecialchars($key);

if($strKeyField2)

echo ", ".Label($strKeyField2).": ".htmlspecialchars($key2);

if($strKeyField3)

echo ", ".Label($strKeyField3).": ".htmlspecialchars($key3);

echo "]</h1>";



and replace it with this one:

echo "<h1>TableName, ".mlang_message("EDIT_RECORD")."</h1>";

A
amirgulamali author 8/10/2006

thanx, works