$thisUsersManager = new UsersManager();
$thisUsersInfo = $thisUsersManager->getUsersByPK($thisUser_id);
if ($thisUsersInfo == false)
{
</quote>
if <b>$thisUser_id = $_REQUEST['user_id']; </b> is not omitted, then there'll be no update done.
Also, is there any other way to avoid editing php.ini or using .htaccess to include the conf.php file ? like prefixing the absolute path automatically to this file ?
regards.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Great work, gives me a good starting point to learn about object php.
the crud updateTable.php has a small bug after it is generated.
<quote>
$thisUser_id = addslashes($_POST['thisUser_idField']);
$thisUsername = addslashes($_POST['thisUsernameField']);
$thisPwd = addslashes($_POST['thisPwdField']);
$thisReal_name = addslashes($_POST['thisReal_nameField']);
$thisUser_id = $_REQUEST['user_id'];
$thisUsersManager = new UsersManager();
$thisUsersInfo = $thisUsersManager->getUsersByPK($thisUser_id);
if ($thisUsersInfo == false)
{
</quote>
if <b>$thisUser_id = $_REQUEST['user_id']; </b> is not omitted, then there'll be no update done.
Also, is there any other way to avoid editing php.ini or using .htaccess to include the conf.php file ? like prefixing the absolute path automatically to this file ?
regards.
wil be fixed in next version