Jump to content
Killersites Community

fana

Member
  • Content count

    7
  • Joined

  • Last visited

Community Reputation

0 Neutral

About fana

  • Rank
    New member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Enable
  1. goal: post several groups of radio buttons to array (as a message, to database, etc.) Hi there, I was wondering how i can post my selections of several groups of radio buttons. Here is the code: <body> <form action="" method="post"> <select name="module 1"> <input type="radio" name="radioA" value="Radio 1">Radio 1 <input type="radio" name="radioA" value="Radio 2">Radio 2 <input type="radio" name="radioA" value="Radio 3">Radio 3 <input type="submit" name="submit" value="Get Selected Values" /> </select> <br> <select name="module 2"> <input type="radio" name="radioB" value="Radio 21">Radio 21 <input type="radio" name="radioB" value="Radio 22">Radio 22 <input type="radio" name="radioB" value="Radio 23">Radio 23 <input type="submit" name="submit" value="Get Selected Values" /> </select> <br> <select name="module 3"> <input type="radio" name="radioC" value="Radio 31">Radio 31 <input type="radio" name="radioC" value="Radio 32">Radio 32 <input type="radio" name="radioC" value="Radio 33">Radio 33 <input type="submit" name="submitC" value="Get Selected Values" /> </select> <br> </form> <?php if (isset($_POST['submit'])) { if(isset($_POST['radioA'])) { echo "You have selected :".$_POST['radioA']; // Displaying Selected Value } } ?> </body> ...But I can't make it display the list of my selections, but only one instructions, instead of 3x (one for each). Long story short... How can I treat this as a 1 global set of 3 groups, having only 1 "submit" button to process all 3 groups at once? Txs a lot, and have a nice weekend.
  2. Hi there I've just started a fresh website for a non-profit organisation (meaning I won't get paid), so my options are: doing it as fast as possible, with minimum costs, standard interface, easy maintenance, strong community support. Therefore, being pragmatic, I've chosen WordPress. Now, this npo asked me for me a simple booking system for their training sessions. The business rules are: 1) Training seminar duration: 1 week 2) there will be 2 different sessions (workshops) a day, for 5 days = 10 workshops (all different) 3) each participant must choose/book 2 sessions a day, every day (of course, they cannot conflict, and cannot repeat) 5) there is a maximum amount of available seats for each session: each booking must check against the balance of available seats, and so on.... 4) no payments involved My question is: which "tools" would you advise me? a ) create a new page OUT of WordPress with PHP? b ) create a new page OUT of WordPress with JAVASCRIPT? c ) create a new page WITH of WordPress with existing PLUGIN? d ) any other suggestion? Having done my research, many suggestions and recommendations show up...but I'd like your opinion according to your own experience. Txs
  3. Hi there not sure this is worth even mentioning it.... but here it goes... being a newbie and just started learning html css and javascript.... now learning how to master wordpress seems a step backwards since not coding is needed... just sharing the feeling... so now i've decided i'm deep into php dev and wp dev in order to take advantage of my earlier studies and keep learning and using full stack skills... the only to escape is forward into development of wp does this make any sense to you?
  4. fana

    multilingual website

    txs Stef. i'd say that my assumptions would be as follows (for a simple landing website page): many concerned users block javascript, client-side solution would expose all my translated files and logic (not sure I really know what I'm talking about), create a solution with minimal impact on (code) structure and logic for newer translation versions (added content and/or added languages) Therefore: 3. use a server-side solution: PHP or JS? 4. use DB, as per your suggestion. Being PHP the most popular, I'd would opt for it, for the sake of pragmatism... but then JS (server-side) is catching-up very fast.... Stef: I need your guidance! What else am I missing here? Txs for your support... and keep up the good work, and releasing (new) courses. F
  5. fana

    multilingual website

    Hi there, Im have a simple website, for SOHO business, with just a couple of few static pages. Id like to have several translated versions of my site: instead of creating new copies of each page, with a translated version of each content, meaning I would have to reload all pages and images each time id click a page (slowing down the site's performance)... I was wondering if I could just use: 1) some JS hard-coded lines, such as document.getElementByID("targetContent") and innerHTML ="translatedContent" to change tagged content(s). 2) a SQL table with my translated content, and retrieve these values into the related content areas. 3) any other option Id like to know your opinion about best practices. Txs.
  6. fana

    PHP form --> convert to WP form

    Yep, that's what I did: I pasted the html code into wp editor....and it replicated my original form. Since I have about 50 fields to process I will have to manually add the tags in my contact7 form, one by one .. That's what I was trying to avoid. Txs
  7. PHP form --> convert to WP form Hi there, I have several (legacy) php forms I'd like to re-use in my wp site. No way I will retype them again... therefore I'm looking for a way to import them directly into wp. Would you recommend any plugin? I understand pasting the original php code into the text editor will save me a lot of time, but it won't be final, since a lot of validation has to be done, etc... Do you have any experience with importing php forms into wp with a kind of 1-click solution? WP's plugins repository is not obvious on this matter...or maybe I've just missed it. txs
×