function condation bettwen two tables Programming Web Development by ibakir …;, GetSQLValueString($colname_formUpdate, "int")); $formUpdate = mysql_query($query_formUpdate, $dalilack) or die(mysql_error()); $row_formUpdate = mysql_fetch_assoc($formUpdate); $totalRows_formUpdate = mysql_num_rows($formUpdate); $colname_formUpdate = "-1"; if… Restrict Access to Page defined by user name Programming Web Development by ibakir … explorers WHERE Id = %s", GetSQLValueString($colname_formUpdate, "int")); $formUpdate = mysql_query($query_formUpdate, $dalilack) or die(mysql_error()); $row_formUpdate = mysql_fetch_assoc… Re: Table with option to sort by any column. Programming Web Development by jenishkottaram …; enctype="application/x-www-form-urlencoded" name="formupdate" action="#"> <table id="border… Re: Restrict Access to Page defined by user name Programming Web Development by almostbob the [I]display users[/I] page and the [I]edit user details[/I] page, should be completely separate, when opening the edit user details page the user should be presented with a single item, containing only their details, [icode]select * from table where id = userid[/icode] , where userid is only pulled from the session already established never … Re: Restrict Access to Page defined by user name Programming Web Development by ibakir very nice in what did u said, thanks man , but the [I]edit user details[/I] page is collecting Data info by the user ID same as the [QUOTE]select * from table where id = userid[/QUOTE] i need to control that logged in user from not editing other users in the [I]Display user page[/I] :( so i need a lil description about how to deal with access … Re: Restrict Access to Page defined by user name Programming Web Development by almostbob example1 Button at the top of this page "users online" example2 button in your control panel to allow you to edit only your own details nothing but a simple display page of other users submit for update on your own page, by _post(and/or ajax) to sanitise the urls these are the minimum standard required Re: Restrict Access to Page defined by user name Programming Web Development by ibakir take a look at this thread :D [url]http://www.daniweb.com/web-development/php/threads/184658[/url] Re: Restrict Access to Page defined by user name Programming Web Development by Stefano Mtangoo [QUOTE=ibakir;1599615] so i need a lil description about how to [COLOR="Red"]deal with access level in adobe Dreamweaver cs5[/COLOR] , and sorry for my English :D[/QUOTE] Check the red color and tell me if you are kidding :) Anyway, take look at good answers above! Re: Restrict Access to Page defined by user name Programming Web Development by ibakir LOL :D its like how the hack i must write those access level , and the answers didn't really helped me :S i need if a user logged in he won't be abble to miss around in the others info EX : when you comment on facebook.com you can after while edit it again !!! that's what i actually need :D by the way you can give a try [url]http://www.dalilack.… Re: Restrict Access to Page defined by user name Programming Web Development by Stefano Mtangoo [QUOTE=ibakir;1600062]LOL :D its like how the hack i must write those access level , and the answers didn't really helped me :S i need if a user logged in he won't be abble to miss around in the others info EX : when you comment on facebook.com you can after while edit it again !!! that's what i actually need :D by the way you can give a try [url… Re: Restrict Access to Page defined by user name Programming Web Development by ibakir ok now that's what i call it a solution now chk this two tables [url]http://www.dalilack.com/info.jpg[/url] [url]http://www.dalilack.com/admin.jpg[/url] then in the update info user page [CODE]<?php if (!isset($_SESSION)) { session_start(); } $MM_authorizedUsers = ""; $MM_donotCheckaccess = "true"; // *** Restrict … Re: Restrict Access to Page defined by user name Programming Web Development by Stefano Mtangoo IF I understand, what you want to implement is, like, you have users and each user have profile. Each user should be able to modify HIS profile and NOT any other. The same for the post/item. If that is right then check userId of logged user and Id associated with item/profile. If they match, allow edit. If not restrict edit! Since I have no Idea … Re: Restrict Access to Page defined by user name Programming Web Development by ibakir yes that's right :D [QUOTE]If they match, allow edit. If not restrict edit![/QUOTE] i would like to write this in php code , but unfortunately i still beginner in writing functions, any way thank you a lot man :D Re: Restrict Access to Page defined by user name Programming Web Development by ibakir i would like to write a function if that user id who post that post equal the same user id who logged in then he can edit his own post , then if its match go to the update page ; [url]http://www.dalilack.com/marketFormUpdate.php?Id=11[/url] if not : go to log in page to write his own user name and pass for that post he clicked edit on it ; [url]… Re: Restrict Access to Page defined by user name Programming Web Development by Stefano Mtangoo [QUOTE=ibakir;1600197]yes that's right :D i would like to write this in php code , but unfortunately i still beginner in writing functions, any way thank you a lot man :D[/QUOTE] There is very [URL="http://www.youtube.com/user/phpacademy#g/p"]nice channel[/URL] with full of videos to teach you. Once you pass the basics, check login …