Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

This topic is 4668 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hello FM people + php people,

I am looking for help . I am developing fm solution that linked to web site via php. this task is 97% completed. the place i am stuck with delete function.

How it works.

This is Agenda Book. So users will update there agenda system from web site (01 or 2 uers will use it). I grab the delete code function from google search and i paste it before body tag. the code is

</style>

<link href="SpryAssets/SpryValidationTextField.css" rel="stylesheet" type="text/css" />

</head>

<script language="javascript">

<!-- Hide from non-JavaScript Browsers

function ConfirmChoice()

{

answer = confirm("Do you want to delete this appoinment ?")

if (answer !=0)

{

location = "deleteapp.php?id=<?php echo $found_records_row->getRecordId(); ?>"

}

}

//Done Hiding-->

</script>

<body>

** Records will display on table view (5 records per page)

The Problem , When ever i delete the record it does not delete the record that i select, it delete the some other record. (snap shot attached)

fmforums.mov

Posted

Question - when you actually render this page in a browser, how does the line deleteapp.php?id=<?php echo $found_records_row->getRecordId(); ?> actually come out looking?

Posted

Hello Webko, Many Thanks for replying.

This is the result of when deleteapp.php load

http://127.0.0.1/atlantixbro/deleteapp.php?id=128. This is Get record id.

Note: I also create the text link called ("Delete") (Right down the delete icon red colour "X" ). When i click that text link it perfectly works. only the problem outcome when i try to pass the parameter from javascript.

Question: Is this Problem something related with Record Set ?

This topic is 4668 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.