Jump to content

PHP2005

Members
  • Posts

    69
  • Joined

  • Last visited

Everything posted by PHP2005

  1. Hi All, I have 50 checkboxes and when it display at the page it display all like at once in one column, so I am wonder how can I have it displayed in 2 column of 25 checkboxes. Any help will be appreciated. <?php foreach( $newrecordResult['valueLists']['Detail_Checkbox1'] as $key => $value ) { ?> <?php echo $value; ?> <?php } ?> Thank you
  2. Before we convert the groupwise e-mail to entourage the "send mail" feature was working fine. Now since I am using entourage it is not working at all. I tried to send a test email and I looked inside the entourage folders include the draft and I do not see the e-mail which was sent.
  3. yes, I did but it is empty
  4. Hi, I am trying to use "Send Mail" feature from filemaker, but for some reason after I migrate to entrourage the e-mail feature from Filemaker 9 is not working as it was working when I was using groupwise. Any idea what can be wrong
  5. Ok I finally got it working. <?php echo($viewRecord['valueLists']['Checkbox1'][0]);?>
  6. Hi all, I am trying to display the first record from an array list, but for some reason it is not working, any help will be appreciated. <?php foreach($AddFindRecord['data'] as $recordkey =>$recordDataFIND){ ?> <?php echo $recordDataFIND['Checkbox1'][0]; ?> <?php } ?> it is showing me all the record I checked in a checkbox but I only need the first record checked. thank you in advance
  7. yes it is in reference to a php. What am I trying to do is to compare if the the value ckecked on checkbox are the same as the value checked on checkbox 2. If in case they are the same they should go to page1.php, And if in case they are not equal they should go to another page2.php Any help will be appreciated. thank you
  8. Hi, I am trying to count the number of checkbox which was checked in one of the field in a related record, but I am not sure what am I doing wrong because instead bring the number of that related record it is showing me the number from all the records. (i.e. if I check a,b,c in one record I would like to be showing as 3 if I check d,e,f it should showing 3 check box has been marked but right now it is showing me that 6 checkbox has been marked) What I have until now is: $AddFind = new FX($serverIP,$webCompanionPort); $AddFind->SetDBData('File.fp7','Layout'); $AddFind->AddDBParam('Survey_ID', $Survey_ID); $AddFind->AddDBParam('DetailQ1','*'); $AddFindRecord = $AddFind->FMFind(); $FoundCount = $AddFindRecord['foundCount']; ............. <?php foreach($AddFindRecord['data'] as $SearchKey =>$SearchRecord){ ?> <?php echo $DetailQ1[] = $SearchRecord['DetailQ1'][0];?> <?php }?> Any help will be appreciated. Thank you!
  9. I finally got it. What I did was: echo "$DetailQ1[$prow] ";
  10. I need some help to write an if statement. I have 2 checkboxes with same values but different field name I am wonder how do I write a if statement to compare the two checkbox if the value check are the same then I skip to another page otherwise I keep at the same page. Any help will be appreciated.
  11. Hi All, I am trying to add a text field in between each record displayed, I am wonder since is an array, how I do that <?php for($prow = 0; $prow echo "$DetailQ1[$prow] "; } ?> Any help will be appreciated. Thank you so much in advance.
  12. I have a relational database and in one of the layout I have a portal which shows a list of record, my problem is if I want to add more information to a field which is a portal to that ID number using the fx.php how would I do in order to do not delete the previous record. I am not sure what am I doing wrong. Any help will be appreciated. Here is what I have: $edit_member = new FX($serverIP,$webCompanionPort); $company_id = $_GET[company_id]; $name= $_GET[name]; $recid = $_GET[recid]; $edit_member->SetDBData(members.fp7',’web’); $edit_member->AddDBParam('-recid',$recid); $edit_member->AddDBParam('company_id',$company_id); $edit_member->AddDBParam('name',$name); $edited = $edit_member->FMEdit(); ?> <?php foreach ($edited['data'] as $recordKey =>$recordData) { ?> <?php echo $recordData['company_id'][0]; ?> <?php echo $recordData[‘name’][0]; ?> <?php } ?> Thank you
  13. Hi Everyone, I am new using the filemaker script/calculation, I don’t know to validade a field if someone click at the “CustomerNumber” field a message box should show up and asking “Are you sure you want to make changes at this record?” If they click “OK” it is allow to make change at that field and if they click “No” changes are not allowed. Any help will be appreciated and thank you in advance. Sandy
  14. The file is located in a server not in house If I am not wrong is an IIS sever. the client computer is Mac OSX 10.4.11 FileMaker 9
  15. I have a database located on my server (not filemaker server)at work. I can't open the file and it keep giving me the following error message "do not have sufficient privileges for abc.fp7" Any idea what can be wrong with the database? Any help will be appreciated and thanks in advance.
  16. I have a webpage that is connected with FX.php to a filemaker pro 9 advanced database. In my database I have a container field where I have PDF files. My problem is when I click on the link through the webpage, it bring at window asking for the login information, How can I download the file without ask for the login info.? Here is what I have at the coding: $search_result = new FX($serverIP,$webCompanionPort); $search_result->SetDBData(Handouts.fp7', Annual_08); $search_result->SetDBPassword('monkey','Admin'); $search_result->AddSortParam('session_Order','ascend'); $Result = $search_result -> FMFind(); header('Content-Type: text/html;charset=utf-8'); Any help will be appreciated. Thank you in advance. :confused:
  17. Hi All, I working on a page and I would like to display a specific record where all the records on ABC field will be showing at the pages if is "High School" but for some reason it is not doing what supposed to do. Any help will be appreciated. $search_result21 = new FX($serverIP,$webCompanionPort); $search_result21->SetDBData('Resource_FYR.fp7','seminar_text'); $search_result21->SetDBPassword('','Admin'); $search_result21->AddSortParam('Last_Name','ascend'); $search_result21->AddDBParam(ABC,'High School'); $Result = $search_result-> FMFind(); Thank you, msei
  18. Hi, I did install the FM Server 9 on my computer but when I went to teste the page I have which I use fx.php it is not working, Any idea? Does FM Server 9 works with Fx.php? Any help will be aprreciated. thank you in advance. Php2005
  19. I do have a field with an auto serial number. b_number is to used for a receipt number when people paid in full so each time someone paid I have to print a receipt but it have to be in a serial number.
  20. Hi All, I have a field called “b_number”, how do I write a scrip asking to find the biggest number at b_number field andafter found I will have the add from the b_number +1 added at b_number. Any help will be appreciated. Thank you in advance. ;)
  21. Hi all, I am using FX.php and I am trying to perform a find on a checkbox submitted on a form. But instead showing me the record I had checked, it is showing me all the records. I have no idea what I did wrong. Any help will be appreciated. Thank you in advance Here is what I have: ....... index.php ....... $findrecord = new FX($serverIP,$webCompanionPort); $findrecord->SetDBData('accepted.fp7','Main'); $findrecordResult = $findrecord -> FMFindAll(); <?php foreach($findrecordResult['data'] as $key=>$findrecordData){ ?> <?php echo $findrecordData['Time'][0]; ?> <?php } ?> .......... detail_list.php .......... $findrecord = new FX($serverIP,$webCompanionPort); $findrecord->SetDBData('accepted.fp7','Main'); $findrecord->AddDBParam("-lop","or"); $ID = ""; foreach($_POST[view_detail] as $ID) { $findrecord->AddDBParam("ID", $ID); }; $findrecordResult=$findrecord->FMFind(); Any help will be appreciated.
  22. Hi Don, Thank you for your help. I have the following calculation: Case ( not IsEmpty (Registration) and IsEmpty ( Workshop ); "Conference Only")& Case ( not IsEmpty (Registration) and not IsEmpty (Workshop); "Conference and Workshop")& Case ( IsEmpty (Registration) and not IsEmpty (Workshop); "Workshop Only")& And my problem now is how do I add a case statement if in case the value of Registration be equal to “Pre-Conference” and not IsEmpty(Workshop); “Pre-Conference Only”) it will show up Pre-Conference only at the field. Thank you.
  23. How do I write a calculation? I am new on write calculation. I have a database where I keep record of the registration and workshop, The registration fields are F1, F2, and F3 and the workshop fields are W1, W2, W3, and W4 How do I write a calculation If I am register to any of (F1, F2, or F3) and NONE of the W1, W2, W3, or W4 I would check the radio button as “Registration Only” If I a register to any of (F1, F2, or F3) and any of W1, W2, W3, or W4 I would check the radio button as “Registration and workshop If I am not register and only attend any of the workshop I would check the radio button as “Workshop Only” Any help will be appreciated!
  24. Hi all, I am working in a letter using filemaker send Mail, I am trying to use the TextStyleAdd ( text ; styles ) on the specify calculation but for some reason what I want to be bold is not showing as bold at the e-mail. Any help will be appreciated. By the way here is what I have on the specify calculation: "¶"&TextStyleAdd ( "Workshops:"; Bold)&"¶¶" & Case ( not IsEmpty (W1 ) ; WS1 & ¶ ) & Case ( not IsEmpty (W1DA) ; W1DA & ¶&¶) & Case ( not IsEmpty (W2 ) ; W2 & ¶ ) & Case ( not IsEmpty (W2DA ) ; W2DA & ¶&¶) & Case ( not IsEmpty (W3 ) ; W3 & ¶ ) & Case ( not IsEmpty (W3DA ) ; W3DA & ¶&¶ ) & Sample
  25. Don, Thank you so much for your help.
×
×
  • Create New...

Important Information

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