+ Reply to Thread
Results 1 to 12 of 12

Thread: Displaying MySql variables at a Bluevoda form
      
   

  1. #1
    pipesportugal's Avatar
    pipesportugal is offline Second Lieutenant
    Join Date
    Jul 2007
    Location
    Oporto - Portugal
    Posts
    129

    Default Displaying MySql variables at a Bluevoda form

    Hello Colleagues from this forum,

    I already have the values of the mysql fields inside variables such as $name, $address and so on.

    I am placing <?php echo $name?> in the field "Initial value" on the Editbox properties, but it is not working.

    This php script was working very well with the value="<?php echo $name?>" but it had poor (normal) visual aspect and I wanted to make it a little bit more good looking.

    So, how do I place these values in the screen fields of the Bluevoda form ?

    Thanks for all the help,
    José Almeida

  2. #2
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,061

    Default Re: Displaying MySql variables at a Bluevoda form

    In the editbox place <? echo $name; ?> (You missed the ";")
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


  3. #3
    pipesportugal's Avatar
    pipesportugal is offline Second Lieutenant
    Join Date
    Jul 2007
    Location
    Oporto - Portugal
    Posts
    129

    Default Re: Displaying MySql variables at a Bluevoda form

    Hello there navaldesign !

    Thanks for Your help !

    It also works fine without the ;

    What I really need to know now is how to display the contents of a mysql variable in a text area because it's showing in the field the complete phrase <?php echo $textareaname; ?> and it is not showing the real content.

    Is there any trick to do it ?

    Thanks for Your help,
    José Almeida

  4. #4
    Watdaflip's Avatar
    Watdaflip is offline Major General
    Join Date
    Sep 2005
    Location
    Cincinnati, Ohio
    Posts
    2,119

    Default Re: Displaying MySql variables at a Bluevoda form

    Is the page you are trying to use the php codeB on a .php page or .html. If its a .php then it perhaps BV is html encode it or something.

    Register/Login Script
    Do you use a Password Protected Directory? Need a way to allow users to make their own account, try my .htaccess Login Script

  5. #5
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,061

    Default Re: Displaying MySql variables at a Bluevoda form

    Quote Originally Posted by pipesportugal View Post
    Hello there navaldesign !

    Thanks for Your help !

    It also works fine without the ;

    What I really need to know now is how to display the contents of a mysql variable in a text area because it's showing in the field the complete phrase <?php echo $textareaname; ?> and it is not showing the real content.

    Is there any trick to do it ?

    Thanks for Your help,
    José Almeida
    In the same ay you are using for the edit box. If it doesn't work, there is something else wrong. I use it all the time, on almost all VH servers as well as at least 3 more hoster's servers, and it always worked.

    Make sure you have published the page as php.
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


  6. #6
    pipesportugal's Avatar
    pipesportugal is offline Second Lieutenant
    Join Date
    Jul 2007
    Location
    Oporto - Portugal
    Posts
    129

    Default Re: Displaying MySql variables at a Bluevoda form

    Hello dear colleagues,

    I edited the .htm (tried also with .php) form "created" by BV with dreamweaver software in code view and I noticed the following:

    Instead of for example, <? echo $name;?> (which works perfect in the editbox) in this particular textarea there is the following coding:

    &lt;?php echo $remarks;?&gt

    instead of <?php echo $remarks; ?>

    so maybe this must be the reason why it doesn't work.

    Could this be a BV bug?

    Thanks really for the precious help,

    José.

  7. #7
    pipesportugal's Avatar
    pipesportugal is offline Second Lieutenant
    Join Date
    Jul 2007
    Location
    Oporto - Portugal
    Posts
    129

    Default Re: Displaying MySql variables at a Bluevoda form

    Hi guys,

    I manually changed the &lt to <
    and the &gt to > and now IT WORKS very well.

    navaldesign, You're the expert.

    What was happening there ?

    Thanks again,
    José.

  8. #8
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,061

    Default Re: Displaying MySql variables at a Bluevoda form

    Dreamweaver you said ? It has replaced < and > with their html equivalent.
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


  9. #9
    Watdaflip's Avatar
    Watdaflip is offline Major General
    Join Date
    Sep 2005
    Location
    Cincinnati, Ohio
    Posts
    2,119

    Default Re: Displaying MySql variables at a Bluevoda form

    Thats what I figured. It has html encoded the text. You should be able to prevent that by editing the contents of the textarea (or whatever it may be in the future) in the code view instead of design view

    Register/Login Script
    Do you use a Password Protected Directory? Need a way to allow users to make their own account, try my .htaccess Login Script

  10. #10
    pipesportugal's Avatar
    pipesportugal is offline Second Lieutenant
    Join Date
    Jul 2007
    Location
    Oporto - Portugal
    Posts
    129

    Default Re: Displaying MySql variables at a Bluevoda form

    Hi again,

    My first idea was that this error (if we can call it an error ....) was coming from Bluevoda, so I decided to investigate a little bit, because no matter the fact that I have bought my webspace from Vodahost, I am publishing my pages, using PREVIEW/SAVE AS..... and so on, each page at a time.

    I discovered the following:

    In fact at BV if we right click on the page and choose HTML we can see that the html code at BV is correct with the <?php .......?>, but after You make preview/save as and You go and check the created page with NOTEPAD (not dreamweaver), there is the same "change" of the < by &lt and the > by &gt, so this drives me to the conclusion that it's (no question about it...) coming from BV.

    Maybe one of You guys could... perhaps send a comment on this one to the BV developping team. I don't know,

    Thanks for all,
    José.

  11. #11
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,061

    Default Re: Displaying MySql variables at a Bluevoda form

    No. Even with Preview, Save As, opening in Notepad, etc, BV does NOT change the < and > symbols. It is, somehow, a problem at your end.
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


  12. #12
    pipesportugal's Avatar
    pipesportugal is offline Second Lieutenant
    Join Date
    Jul 2007
    Location
    Oporto - Portugal
    Posts
    129

    Default Re: Displaying MySql variables at a Bluevoda form

    navaldesign and watdaflip,

    Thank You for Your time.

    Regards,
    José.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49