edit-record.html?r-id=1;
now on the form where i will update the record and send the submit I made it in a way that once it is clicked on the pop up windows closes itself,
eg
Expand|Select|Wrap|Line Numbers
- <form action="edit.class.php" method="post" name="editform">
- <textarea>$row[record]</textarea>
- <input type="submit" onclick="self.close();" />
- </form>
what i want to do is this, after the query is done in edit.class.php
Expand|Select|Wrap|Line Numbers
- if($sql){
- //result text shows in record.hmtl automatically and disappears
- }
- else if(!sql){
- //result text also shows in record.html automatically and disappears
- }
I don't know Ajax and all online solutions make me confused,
all i want is a tip of how to do it using some codes.
I will be very grateful