Would I do that within the function itself? Would I add something like this to the function or can I do it seperate from the function? $listingID = make_db_extra_safe($listingID); $sql = "SELECT ID, field_name FROM " . "default_listingsDBElements WHERE (paypaluser); if ($listingID, &q...
I was wondering if you could take a look at this and give me an idea as to how far off I am. <?php if (renderSingleListingItemRaw ($listingID, "paypalseller" = "yes") { renderpaypal(); } ?> In case I am sooo far off that you can't tell what I want to do here, I am trying to call ...
Whoa! Thats perfect! Just what I needed. Thank you sooo much for the help man I've been messin with this ALL Day! I really appreciate it! Thanks. NYColt Next thing I need to do is create an "if" statement for the item_name field. if the item_name is empty I don't want the button to show. i...
Thanks, Calling the function is NOT the problem that is working fine. The problem is in the button itself. Before I converted the button to a function the button worked fine. Button values set when I put the button directly on the page with this code: <input type="hidden" name="busine...
You see the first bit of code for the button sets the value. This works: <input type="hidden" name="business" value=<? renderSingleListingItemRaw($listingID, "email") ?>> What does NOT work is when I tried to do the same thing with the button but call it as a function. ...