Jump to content

EricOnAdventure

Members
  • Content Count

    80
  • Joined

  • Last visited

Community Reputation

0 Neutral

About EricOnAdventure

  • Rank
    Regular Member

Profile Information

  • Gender
    Male
  • Location
    Asia
  • Interests
    www.yourworldyourhome.com
    www.efunstudies.com
  1. Right now my software uses a simple mailer.php to send a generated text emails to my account, and from there I can work on them. It would be easier if my software could instead input the generated information into a doc or docx file (this seems very complex) and send it to a folder in my google docs. 1.Is this possible with php? 2. Would this be way too difficult or might there be some preexisting scripts somewhere out there(haven't found any) Thanks
  2. Thanks for checking on my code awareness, but I got that part covered I know the output is coming from these because when I // the output goes away I know nothing is set because I am using foreach($_POST as $varname => $value) { print "<b>".$varname."</b> = $value <br/>"; } and these $varables are not set That is why I am stumped.
  3. Running the following code, nothing is set, but everything echos anyway if((isset($_SESSION['post']["EduMA"])) && (isset($_SESSION['post']["EduMA2"]))) { echo $EduMA2; } if (isset($_SESSION['post']["EduPhD"])) { echo $EduPhD; } Thanks
  4. Ah, yes, good point and thanks. I will be working on my layout as well.
  5. I am getting an unexpected end of page error due to this line. if (isset($skippage)){header("location: page4_form.php"); $skipage is set. Any ideas? Thanks
  6. I reverted back, but still I cant get his fiddle to work, maybe some interference with a script? Zane since you have the theme could you take a quick look at it and see if you can figure out why it doesn't work? I would like it to work, but nothing I do works.
  7. Thanks Kicken, I tried that but I can't seem to get it right. Here is what the var dump gives m array(10) { ["Details"]=> array(0) { } ["HasEditGrant"]=> bool(true) ["CancelUrl"]=> string(28) "unidata.php?operation=return" ["EditUrl"]=> string(32) "unidata.php?operation=edit&pk0=1" ["PrintOneRecord"]=> bool(false) ["PrintRecordLink"]=> string(36) "unidata.php?operation=printrec&pk0=1" ["ExportButtons"]=> array(0) { } ["Title"]=> string(7) "Unidata" ["PrimaryKeyMap"]=> array(1) { ["id"]=> string(1) "1" } ["Row"]=> array(79) { ["University"]=> arr
  8. Thanks Kicken, I've been trying to follow your advice but I haven't ended up anywhere better. in $Grid, the 3rd array is the University Key I tried everything I could think of to get it to work from this point, but everything failed. Any advice on which direction I should take this?
  9. Hey Kicken, your right that is generated by smarty so editing that file is rather pointless So let me display what print r gives me for $grid.row and $grid I get this Array ( [university] => Array ( [Caption] => University [Value] => Texas A & M International University [DisplayValue] => Texas A & M International University ) [sTABBR] => Array ( [Caption] => STABBR [Value] => TX [DisplayValue] => TX ) [PREDDEG] => Array ( [Caption] => PREDDEG [Value] => 3 [DisplayValue] => 3 ) [HIGHDEG] => Array ( [Caption] => HIGHDEG [Value] => 4 [Dis
  10. I cant seem to make lasting changes to this file, at least not now, as the program is auto-changing this file as I make changes to my templet. I disabled warnings, thinking that would fix the issue, at least for now, and it did, except that it also helped me spot a new issue. So I am not only getting the row sent back to me, but also u for example u u u U Saint Augustine College u u u U IL, u u u U 2, This is what I get from my first three trials related to : {foreach from=$Grid item=row} {$row.XXXXXX.DisplayValue} {/foreach} XXXXXbeing whatever it is I am calling.
  11. What a fun approach, anywhere here is what I get, (FYI I changed the university and therefor data row from the previous data) array(0) { } bool(true) string(28) "unidata.php?operation=return" string(34) "unidata.php?operation=edit&pk0=552" bool(false) string(38) "unidata.php?operation=printrec&pk0=552" array(0) { } string(7) "Unidata" array(1) { ["id"]=> string(3) "552" } array(79) { ["University"]=> array(3) { ["Caption"]=> string(10) "University" ["Value"]=> string(23) "Saint Augustine College" ["DisplayVal
  12. Ok thanks, that works, although I get quite a few warnings all related to line 26 in an associated file <?php $_from = $this->_tpl_vars['Grid']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): foreach ($_from as $this->_tpl_vars['row']): ?> !!!!!!line 26---> <?php echo $this->_tpl_vars['row']['University']['DisplayValue']; ?> <?php endforeach; endif; unset($_from); ?>
  13. Thanks muddy, I am sure that would work in normal conditions, unfortunately as this generator uses smarty the code runs into conflict with smarty's code... Here is how the page creates an output of every bit of info in the array. </table> <div class=""> <div class="col-lg-8"> {foreach from=$Grid.Row item=Cell} <div class="form-group"> <label class="col-sm-3 control-label"> {$Cell.Caption} </label>
  14. Hey guys I need a bit of help with associative arrays. I am using the mysql php generator to create a rather nice searchable database. The software uses smarty as to reate page templets, that may be useful for my issue. My issue is this I want to echo an aspect of an array but I can get that to happen, if I print the array I get this: Array ( [university] => Array ( [Caption] => University [Value] => Texas A & M International University [DisplayValue] => Texas A & M International University ) [sTABBR] => Array ( [Caption] => STABBR [Value] => TX [DisplayValu
  15. Zane, thanks for your hack but it is still not working for me. Perhaps I did it wrong in some way? I tried many, many diffrent ways, but none works, Anyway here is the code as it is with me trying to reflect your hack as best I can... <li class="active"><a href="#tab1">Step by Step Guide</a></li> <li><a href="#tab2">Before You Apply</a></li> <li><a href="#tab3">Your Application</a></li> <li><a href="#tab4">Your Acceptance</a></li> <li><a href="#tab5">Final steps</a></li&g
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.