Tutorial of FLEX2 + PHP does not?

http://www.Adobe.com/devnet/flex/articles/flex2_php.html

doesn't seem to work?

my SQL AND PHP is configured correctly
I can get a datagrid to display data when I manually enter to my database
problem is that it is not submitting data? Basically, nothing happens. [no error]

Help...

http://www.Adobe.com/devnet/flex/articles/flex2_php.html

doesn't seem to work?

my SQL AND PHP is configured correctly
I can get a datagrid to display data when I manually enter to my database
problem is that it is not submitting data? Basically, nothing happens. [no error]

Help...

Tags: Flex

Similar Questions

  • Is there a phone rep who can help me get my profile on my new computer? I think I did OK for the tutorial, but now it does not work

    I had to buy a new computer as my last one had problems. I backed up what I think is all of my files on an external hard drive and moved them to the new computer but Thunderbird does not open. So I re downloaded Thunderbird and followed the tutorial on copying and pasting the old profile in the profile folder and now Thunderbrid (I think) will not open.

    Thunderbird profile cannot be loaded. It may be missing or inaccessible.
    

    So I put everything in the trash and re downloaded the program, and I still get the same error (I however wouldn't be the case that I was starting from scratch).

    In a little over my head. Any help?

    Try this method to import emails.
    addon ImportExporttools:

    Download the as file and save it to your ex: desktop

    In Thunderbird

    • Tools > Addons or Menu icon > Addons
    • Click the gear icon and select "install the addon from file".
    • Find the downloaded as file and click 'open '.
    • You may have to restart Thunderbird.

    To import an mbox file (all messages are stored in Thunderbird mbox files)
    Right click on the email account
    Select: ImportExporttools > import a mbox file
    Select: directly import one or more mbox files
    Search for the file and click 'open '.

  • ignore a field number of column PHP does not

    I have a database of products and sizes, if the sold named column has a value of 0, I won't be displayed in the drop-down list, but it does not work

    you see where I'm wrong

    SELECT *.

    PoochieProd, poochieCat, poochieSizes, poochieStock

    WHERE poochieProd.CatID = poochieCat.CatID AND poochieProd.ProdID = poochieStock.ProdID AND poochieSizes.SizeID = poochieStock.sizeID AND poochieProd.ProdID = var1 AND poochieStock.sold! = 1

    My db column is

    poochieStock of the table and the column is named sold

    either with a value 1 or 0.

    1 is sold out

    the selection list is

    < select name = "os0" class = 'text' id = 'selectSize' >

    < option value = "size" > select size < / option >

    <? PHP {? >}

    < option value = "<?" PHP echo $row_rsProdList ["SizeID'];? > "> <?" PHP echo $row_rsProdList ["Size"];? > < / option >

    <? PHP} while ($row_rsProdList = mysql_fetch_assoc ($rsProdList));? > < / select >

    Thanks in advance

    Jonathan Fortis wrote:

    I have a database of products and sizes, if the sold named column has a value of 0, I don't want to show in the menu drop down,

    In this case, the last part of your WHERE clause must be poochieStock.sold! = 0.

    However, there is an inconsistency in your message. Later, you say that 1 means exhausted.

  • Homepage of PHP does not work in Google Chrome, but works well in Firefox

    When you type the name of my sites, mtwatersheds.org, it appears in firefox, but the background image is not displayed in chrome. When I click on the home button, the address turns to mtwatersheds.org/index.php and everything seems as it did in Firefox. Can I do something to change this, or I have to include a new file for the homepage in chrome?

    Thank you for your time.

    It in fact does not in Firefox either. I suspect that you have a different default page. If I compare the source between the default page and index.php there is differerent. The image has a. In the name of the file LCK. Check your server for other default pages that may exist in the root and check your server configuration for which the default pages are listed.

  • Problem with PHP does not and in shape, that I can't get rid of the Extra space

    This is my first time doing a form, much less using php. I would appreciate your help on the following issues.

    1. in the form when you go to the site there is too much vertical space between the fields in the form.

    2. the field Message a script inside that vistors can see.

    3. the hit the button send, it redirects me to a blank page and no thankyou.html page I had created.

    4 form is not send the email to [email protected]

    Web site URL: http://stickmancustoms.com/contact.html

    <! - FORM CODE STARTS HERE - >

    <? PHP session_start();? >

    <? PHP

    If (array_key_exists ('submit', $_POST)) {}

    check the name field

    $name = trim($_POST['name']);

    If (empty ($name)) {}

    $error ['name'] = "Please enter your first name";

    }

    Else if ($name == "Please provide your first name") {}

    $error ['name'] = ";

    }

    $_SESSION ['name'] = $_POST ['name'];

    check the phone field

    $phone = trim($_POST['phone']);

    If (empty ($phone)) {}

    $error ['phone'] = 'Please enter your last name. "

    }

    else if ($phone == "Please provide your last name") {}

    $error ["phone"] = ";

    }

    $_SESSION ['phone'] = $_POST ['phone'];

    check the email field

    $email = trim($_POST['email']);

    If (empty ($email)) {}

    $error ['email'] = 'Please enter your email address ';

    }

    else if ($email = 'Please enter your email address') {}

    $error ['email'] = ";

    }

    $_SESSION ['email'] = $_POST ['email'];

    check the field of inquiry

    $message = trim($_POST['message']);

    If (empty ($message)) {}

    $error ['message'] = 'Please enter your message details. "

    }

    ElseIf ($message = "Please enter the details of your message") {}

    $error ['message'] = ";

    }

    $_SESSION ['message'] = $_POST ['message'];

    If (! empty($_POST['ufo'])) {return false ;}

    recipient

    $to = " [email protected] "; email address - set up your own email

    subject of the e-mail

    $subject = "I am interested in your services, please contact me."

    sender

    $sender = "from:". " $_POST ['email']. » \r\n » ;

    build the message

    $enquiry = "name: $name\n\n;

    $enquiry. = "Name: $phone\n\n";

    $enquiry. = "e-mail address: $email\n\n";

    $enquiry. = "message: $message\n\n";

    Send email if no form errors is

    If (! isset ($error)) {}

    mail ($ $subject, $enquiry, $sender);

    Header ("Location: thankyou.html").        Redirect page - set up your own page

    }

    }

    ? >

    CONTACT WEB PAGE CODE BELOW

    <! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional / / IN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" > ""

    " < html xmlns =" http://www.w3.org/1999/xhtml ">

    < head >

    < meta http-equiv = "auto repair, accidents, custom painting, customizing, auto repair, paint job, hot rod, motorcycle, cycle, bicycle, chopper.

    Content = "at StickMan customs we provide a personalized service with a smile. With over 20 years of experience in the auto repair and customization, you can be sure that we will meet your expectations and beyond. "/ >"

    < name meta = "google-site-verification" content = ""-41pB0MQUYT1Vbv1SId8WcU2lqEmFf0u23Sl3NY24CE "/ >"

    < title > Stickman customs < /title >

    < meta http-equiv = "Content-Type" content = text/html"; charset = iso-8859-1 "/ >"

    < link href = "smc.css" rel = "stylesheet" type = "text/css" / > "

    < style type = "text/css" >

    <!--

    a: visited {}

    color: #F4781E;

    }

    ->

    < / style >

    < / head >

    < body bgcolor = "#000000" >

    < table width = "936" height = "200" border = "0" align = "center" >

    < b >

    "< td height ="196"valign ="top"> < class p ="style1"> < a href =" index.html"target ="_self"> < a href =" index.html "target ="_self"> < img src =" images/smcbanner.jpg"width = '936' height = '194' border = '0' well ="#Map"/ > < / has >"

    < name of the map 'Map' id = 'Card' = >

    < area shape = "rect" coords = "97,7,289,190" href = "index.html" target = "_self" / > "

    < area shape = "rect" coords = "290,156,380,189" href = "about.html" target = "_self" / > "

    < area shape = "rect" coords = "396,159,550,190" href = "repair.html" target = "_self" / > "

    < area shape = "rect" coords = "561,159,619,190" href = "cars.html" target = "_self" / > "

    < area shape = "rect" coords = "627,159,703,188" href = "cycles.html" target = "_self" / > "

    < area shape = "rect" coords = "711,160,885,190" href = "projects.html' target ="_self"/ >"

    < area shape = "rect" coords = "734,23,917,78" href = "contact.html" target = "_self" / > "

    < area shape = "rect" coords = "786,175,787,176" href = "#" / >

    < / map >

    < /p >

    < table width = "936" border = "0" align = "center" cellpadding = "5" cellspacing = "5" >

    < b >

    < td width = "512" height = "450" valign = "top" > < class p = "Headers" > < img src = "images/car1.jpg" width = "432" height = "432" / > < / p > < table > "

    < td width = "389" height = "450" valign = "top" > < form id = "enquiryForm" name = "enquiryForm" method = "post" action = "contact.php" >

    < h1 > < span class = "BodyBold" > contact us </span > < / h1 >

    < h1 > < span class = "BodyCopy" > * required information </span > < / h1 >

    < h1 > < span class = "BodyBold" >

    < label for 'Name' = > name * < / label >

    </span >

    < input type = "text" name = "name" id = 'name' <? PHP if (isset ($error ['first_name'])) echo "style =' border: 1px #C00 solid;" color: #C00; "« ; ? > value = "<?" PHP if (isset ($name)) {echo $name ;}? > <? PHP if (isset ($error ['first_name'])) echo $error ['name'];? "" > "onfocus ="this.value ="" / >

    < / h1 >

    < p >

    < label for = 'Name' class = "BodyBold" > phone * < / label >

    < input type = "text" name = "Phone" id = 'phone' <? PHP if (isset ($error ['phone'])) echo "style =' border: 1px solid #C00;" color: #C00; "« ; ? > value = "<?" PHP if (isset ($phone)) {echo $phone ;}? > <? PHP if (isset ($error ['phone'])) echo $error ['phone'];? "" > "onfocus ="this.value ="" / >

    < p >

    < label for class = "email" = "BodyBold" > Email * < / label >

    < input type = "text" name = "email" id = "email" <? PHP if (isset ($error ['email'])) echo "style =' border: 1px solid #C00;" color: #C00; "« ; ? > value = "<?" PHP if (isset ($email)) {echo $email ;}? > <? PHP if (isset ($error ['email'])) echo $error ['email'];? "" > "onfocus ="this.value ="" / >

    < style p = "" padding-bottom: 0; ">"

    < label for the category 'investigation' == 'BodyBold' > Message * < / label >

    < br / >

    < textarea name = "message" id = 'message' <? PHP if (isset ($error ['message'])) echo "style =" border: 1px solid #C00; "» color: #C00; "« ; ? > onfocus = "' this.value =" "> <?" If (isset ($message)) {echo $message ;} php? > <? PHP if (isset ($error ['message'])) echo $error ['message'];? >

    < / textarea >

    < /p >

    < p >

    < input type = "text" name = "ufo" style = "" display: none; "/ >"

    < input type = "submit" id = "submitButton" name = "submit" value = "Submit" / >

    < /p >

    < / form > < table >

    < /tr >

    < / table > < table >

    < /tr >

    < /table >

    < table width = "936" border = "0" align = "center" cellpadding = "0" cellspacing = "0" >

    < b >

    < td > < div align = "center" >

    < div align = "center" class = "bottomlinks" >

    < p > < a href = "about.html" target = "_self" > < br / > "

    About us < img src = "images/space.jpg" alt = "s" width = "18" height = "7" border = "0" / > < /a > | " "" < a href = "index.html" target = "_self" > < img src = "images/space.jpg" alt = "s" width = "18" height = "7" border = "0" / > < /a > < a href = "repair.html" target = "_self" > ACCIDENT REPAIR < /a > < a href = "index.html" target = "_self" > < img src = "images/space.jpg" alt = "s" width = "18" height = "7" border = "0" / > < / has > | " "" < a href = "index.html" target = "_self" > < img src = "images/space.jpg" alt = "s" width = "18" height = "7" border = "0" / > < /a > < a href = "cars.html" target = "_self" > CARS < /a > < a href = "index.html" target = "_self" > < img src = "images/space.jpg" alt = "s" width = "18" height = "7" border = "0" / > < / has > | " "" < a href = "index.html" target = "_self" > < img src = "images/space.jpg" alt = "s" width = "18" height = "7" border = "0" / > < /a > < a href = "cycles.html" target = "_self" > CYCLES < /a > < a href = "index.html" target = "_self" > < img src = "images/space.jpg" alt = "s" width = "18" height = "7" border = "0" / > < / has > | " "< a href =" index.html"target ="_self"> < img src =" images/space.jpg "alt ="s"width ="18"height ="7"border ="0"/ > < /a > < a href =" projects.html' target = "_self" > SPECIAL PROJECTS < /a > < /p > "

    < class p = "Address_Text" > StickMan customs < br / >

    800 Rd Mooresville, Kannapolis, NC 28081 < br / >

    704.699.5110 < /p >

    < / div >

    < class p = "style74" > < span class = "atb_text" > Designed & amp; Hosted by </span > < br / >

    " < a href =" http://www.abovethebarrdesign.com " " target = "_self" > < img src = "images/atbd.jpg" alt = "1" width = "155" height = "77" border = "0" / > < /a > < br / >

    < /p >

    < / div > < table >

    < /tr >

    < /table >

    < / body >

    < / html >

    <!-text below generated by server. Please REMOVE-->

    <!-code counter/statistics-> data collection

    " < script language ="JavaScript"src =" http://us.js2.yimg.com/us.js.yimg.com/lib/SMB/js/hosting/CP/js_source/whv2_001.js "type =" text/javascript"> < / script > "

    < script language = "JavaScript" type = "text/javascript" > geovisit(); < /script >

    " < html xmlns =" http://www.w3.org/1999/xhtml ">

    < noscript >

    " < img src = ' http://visit.webhosting.Yahoo.com/visit.gif?us1262644054 "alt ="setstats"border ="0"width ="1"height ="1"/ > "

    < / noscript >

    < / html >

    LannBarr wrote:

    It is a response to these two David & Osgood,

    If (! isset ($error)) {}

    mail ($ $subject, $enquiry, $sender);

    Header ("Location: http://www.stickmancustoms.com/thankyou.html");  Redirect page - set up your own page

    }

    }

    ?>

    Change the bit above the code php as below:

    If (! isset ($error)) {}

    mail ($ $subject, $enquiry, $sender);

    echo ' ';

    }

    }

    ?>

  • Police in PHP does not

    I'm redesigning our Web site.  We have an online employment application someone else wrote for us.  The text of the application is currently in Arial.  Please visit: http://www.stpaulpha.org/applyonline.php

    On my redesigned page, the police are NOT in Arial, but I want it to be.  Page PHP said that the family of police is Arial in several places and my CSS files all specify them Arial.  How to edit this page use Arial: http://preview.stpha.org/applyonline.php

    Your

    tag has some css inline setting the italic font family. Who should be removed because it will overwrite css embedded or external.

    You must also run your page through the validator at htt://validator.w3.org and clean up the errors. You have a few ongoing cascades and your final output page has more than 900 mistakes.

  • MMHTTPDB.php does not

    OK I tried today a new Adobe Dreamweaver CC. I have install the plug-in to connect to the databases. I take the FTP connection and take my localhost file and take PHP MYSQL. PHP job!

    I'm going to connect data bases, but when I insert data DB I don't take no MMHTTPDB.php file in my position. I look at this folder is EMPTY I have look on the internet on this file, but not found. Can someone take mi this file or help my how fix the program create?

    I eat a TINY Humble Pie. I have now it works.

    Follow this video http://www.youtube.com/watch?v=cB2vmNfcq7A

  • Tutorial Photoshop elements 13 does not resemble the version I have.  Help?

    I recently got 13 elements Photoshop because I thought it function a bit like Photoshop, but cheaper.  At the time wherever I opened, I noticed that the interface has been completely different.  So, I clicked on the link for the tutorial for beginners eLive, who sent me this link: start with Photoshop elements 13 - YouTube

    However, the video above seems slightly different from mine, making it difficult to follow.  On the top in the video bar, he'll leave eLive > media > People > locations > events.  The one I use will of eLive > fast > guided tour > Expert.

    Could someone help me solve this problem, so I could follow along video instead of learning by myself?

    I use a MacBook Pro 13 inch with Retina display.

    Hello

    Photoshop Elements comes in two main parts. Looking at the part of the editor, the video shows the share of the Organizer.

    Either select Organizer in the toolbar at the bottom of your screen or go to the home screen and select Organizer.

    Brian

  • Server 5.2 php pgsql.so module does not

    After installation of macOS Sierra and Server 5.2, I find that Roundcube is no longer able to connect to a PostgreSQL database. I back down to the file php.ini configuration does not load the pdo_pgsql.so/pgsql.so modules. All the world has noticed this change?

    I see that the server still has its own php.ini file with extension to pgsql inside settings. However, the configuration of php is more load the server php.ini file, because it seems before. How could I do php load in the server's PHP.ini?

    I have this problem as well!

    It is very bad, I have a few site that using pgsql and they are now down until I'm looking for the solution!

  • Why my php export feature does not work in IE and not firefox?

    Why my php export feature does not work in IE and not Firefox? I wrote a web application that contains a SigmaGrid. Grid controls reload, add update delete, print and export to CSV all work in IE8. The export function does not work in Firefox.

    Have you tried to test your application on IE7/8/9 and FF10/Chrome/Opera?

  • Windows 7: the search does not find the files that should be, directory is indexed and *.php included on the list of extensions

    Windows 7: search does not find the files that should be. I have indexed directory and *.php included on the list of extensions, but search can't find files for Word searches that I know there are files with these words in them.

    If you're frustrated by research (aka Desktop Search), you are not alone. Click the Start button and type find and click the button 'change the way Windows search'. Now click on the Advanced button and select the tab file types scroll down and find your type of file (in your case .php) and make sure the radio button "index properties and the content of the file" is selected for the file type.

    Out the form by clicking on the OK button, but do not close the form when you click the Advanced button.

    Then, you may need to change the indexing locations. If the folder where your files are located is not known for indexing search, then search is not even bother looking for here (a source of frustration for many users). Maybe your files are located on another drive or partition without the knowledge of the indexing engine. Using the options icon and select/deselect expand, make sure that at least the files of interest are included for the indexed locations. I hope this helps.

    samc1

  • Adding images dynamically - tutorial for examples does not work

    I am using the SDK Gold and work through the tutorials. I want to add dynamically images of C++. The tutorial that I use is here:

    https://developer.BlackBerry.com/cascades/documentation/dev/integrating_cpp_qml/ (under the heading "Injecting C++ objects in QML").

    I have copy and paste the main.cpp, TestApp.hpp and TestApp.cpp into a new project. He compiled and ran on my device, but when I click on the button 'Add the container' seg application vulnerabilities and ends.

    I understand that this is caused by a NULL pointer, so I added:

    This-> mRootContainer = new bb::cascades::Container();

    for the Builder. Now it does not segfault when I press the button 'Add the container', but again, it does not actually add the container (it adds nothing visible).

    How can I use the concepts described in this tutorial to add an image at run time?

    I managed to understand. The example provided in the tutorial defnitely badly, which is very annoying and frustrating for those of us learning to code for BB10. Not only that, but the "barrier to entry" is hard enough, and if Blackberry to their ecosystem to flourish, documentation and tutorials must be accurate and easy to follow.

    The constructor should be something like:

    TestApp::TestApp(bb::cascades::Application *app) : QObject(app)
    {
      QmlDocument *qml = QmlDocument::create("asset:///main.qml").parent(this);
      qml->setContextProperty("injection", this);
      Page *appPage = qml->createRootObject();
      mRootContainer = appPage->findChild("rootContainer");
      app->setScene(appPage);
    }
    
  • PHP contact form does not work

    I created my page using godaddy but my php contact form does not work. When sending a message, he won't have to the sent Message (su message to ha enviado) page, but it is not actually send any mails. The accounts are set up, but it does not work. The web page is cuysrus.com, the contact form is on the contact page.

    This is the code I used for the php class linked to the html file:

    <? PHP

    $to = " [email protected] "; "

    $subject = 'new message ';

    $nombre = $_POST ['number'];

    $apellido = $_POST ['apellido'];

    $message = $_POST ['message'];

    $headers = "from: ". " [email protected] \n";

    $headers. = "X-Mailer: PHP /'." phpversion();

    $headers. = "MIME-Version: 1.0\r\n";

    $headers. = "content-Type: text/html;" charset = iso-8859-1\n ";

    $retval = mail ($to $subject, $message, $headers);

    If ($retval == true) {}

    echo "message Su will ha enviado.

    } else {}

    echo "Vuelva a intentarlo.

    }

    ? >

    Well sorry that I forgot to ask about the action of form... you will need to rework this if you do not have to use the form of godaddy.

    a few things... first of all, you have the transformation code in the page, if you want that your action forms literally go anywhere.  ' change action = "? »

    Second, you'll need a 'trigger' in the form must be added a hidden as field

    Thirdly, finally, you have this block of code that I rewrote the process, if there is a request for 'process' then here is the code:

    <>

    form of process

    If (@$_REQUEST ['process']) {}

    $headers = "from: [email protected] \n";

    $to = "[email protected]";

    $subject = 'new message ';

    $body = "number:". "" $_REQUEST ['number']. »

    Apellido: ".." $_REQUEST ['apellido']. »

    Message: ".." $_REQUEST ['message']. »

    ";

    $retval = mail ($to $subject, $body, $headers);

    If ($retval == true) {}

    echo "message Su will ha enviado.

    } else {}

    echo "Vuelva a intentarlo.

    }

    }

    ?>

  • PHP code the code works but aspx does not work...

    First of all - many apologies because it is NOT directly associated if I use Dw CS6 and Visual Studio 2012 set of Dreamweaver.

    I have two pages of contact - want it in aspx rather than php because I get vb code while I do not understand php.

    In addition to this, I add validation in the aspx version that I do not know how to do it in a php page.

    Then...

    The php version works with the mail command.

    It DOES NOT REQUIRE to have a specified smtp mail server AND IT WORKS.

    However try the same in VB/ASP.NET is a different baby.

    Thanks in advance for any comments.

    Terry

    the php file is: -.

    ------------------------------------------------------------------------------------------ -----------

    < body >

    <? PHP

    $recipient = ' [email protected] ';

    $subject = "EXAMPLE PHP CONTACT."

    Success message sent to the user after the e-mail was sent. / / You can leave it as what or change the wording.

    $success = "< h1 > thank you to fill out and submit the form. < / h1 > < p > someone will process your message and get back to you as soon as posible. "< /p > < p > < a href =" / "> < /a > back to Home Page < /p >";

    error message sent to the user. / / You can leave it as what or change the wording.

    $failure = "< h1 > there was an error by e-mail information < / h1 > < p > we could not send your information to return of form at the moment." < /p > < p > please wait a few minutes and try again. "< /p > < p > < a href =" / "> < /a > back to Home Page < /p >";

    ###########################################

    Do not edit below this line

    ###########################################

    Collect all the information on the form and check that all fields have been filled.

    $email = $_POST ['email'];

    If (sizeof($_POST)) {}

    $message = "";

    While (list ($key, $val) = {each($_POST)})

    If ($key == 'Submit') {}

    do nothing

    }

    else {}

    $message. = "$key: $val\r\n";

    Checks if the $val contains data

    {if (Empty ($Val))}

    ECHO ("< h1 > error in the entry of the form < / h1 > < p > all the form fields must be filled in and some have not been filled in. < /p >")

    < p > please visit < a href = "javascript: history.go(-1)" ' > back < /a > and try again < /p > ");"

    Exit();

    //}

    }

    }}

    Validate email address

    If(!preg_match("/^[a-z0-9]+([_\\.-][a-z0-9]+) * '. ' @". " ([a-z0-9]+([\.-][a-z0-9]+)*) + ". » \\. [a - z] {2,}"." $/ "(,$email)) {}"

    ECHO ("< h1 > error in form input < / h1 > < p > a wrong e-mail address was entered.") < /p > < p > please go < a href = "javascript: history.go(-1)" ' > < < /a > /a > back, and then try again > /p > ");"

    Exit();

    }

    ###########

    function filter_email_header ($form_field) {}

    Return preg_replace ('/ [\0\n\r\|\!\/\<\>------^-$-%------*--------&] + / ', ", $form_field);

    }

    $email = filter_email_header ($email);

    $headers = "from: $email\n";

    $sent = mail ($recipient $subject, $message, $headers);

    If ($sent)

    {

    the below html code can be modified to change the user receives the message of thanks

    ? >

    Success of < h1 > < / h1 >

    < /P > < p > SUCCESS

    <? PHP

    } else {}

    the message that is sent to the user if the form information has not been sent.

    ? >

    < h1 > something went wrong < / h1 >

    < p > SOMETHING going ON WRONK < /p >

    <? PHP

    }

    ? >

    < / body >

    ---------------------------------------------------------------------------------

    The aspx file is: -.

    ---------------------------------------------------------------------------------

    Imports System.Net

    Imports System.Net.Mail

    Partial Class _Default

    Inherits System.Web.UI.Page

    Protected Sub btnSubmit_Click (ByVal sender As Object, ByVal e As System.EventArgs) Handles btnSubmit.Click

    Me.lblError.Text =""

    Me.divResultDiv.InnerHtml = "XXXX".

    lblName.Text = «»

    lblEmail.Text = «»

    ' -------------------  validation  ---------------------

    If Trim (Me.txtName.Text) = "" then

    lblName.Text = "this field is required.

    Exit Sub

    End If

    If Trim (Me.txtEmail.Text) = "" then

    lblEmail.Text = 'this field is required.

    Exit Sub

    End If

    If Trim (Me.txtEmail2.Text) = "" then

    lblEmail2.Text = 'this field is required.

    Exit Sub

    End If

    If (txtEmail.Text) Trim <>Trim (txtEmail2.Text) then

    lblEmail2.Text = "e-mail addresses must match to.

    Exit Sub

    End If

    If Ucase (Trim (txtAnswer.Text)) then <>'WHITE'

    lblError.Text = 'Did not question correctly.'

    Exit Sub

    End If

    ' -------------------  validation  ---------------------

    ' --------------------------------------------------------

    "IF WE GET HERE then EVERYTHING OK - BUILD THE MESSAGE

    ' --------------------------------------------------------

    Dim mail as new System.Net.Mail.MailMessage

    mail. Body = Me.txtComment.Text

    mail. Subject = "MESSAGE FROM WEB.

    mail. To.Add ("[email protected]")

    mail. From = new System.Net.Mail.MailAddress (Me.txtEmail.Text)

    Dim smtp as new System.Net.Mail.SmtpClient

    Dim strMessage As String = «»

    Try

    SMTP. Send (mail)

    "Me.lblStatus.Text ="Message sent... We will answer you as soon as possible"

    strMessage = "< h2 > < / h2 > < h2 > thank you for your inquiry." "< / h2 >" & _

    "< br / > < /p > to SUCCESS."

    Catch ex As Exception

    "Me.lblStatus.Text ="There is an error in sending, please try again in a moment"

    strMessage = "< h2 > < / h2 > < h2 > error sending message < / h2 >" & _

    "< br / > < FAILURE P > < /p >.

    End Try

    Me.Panel1.Visible = False

    Me.divResultDiv.InnerHtml = strMessage

    End Sub

    End Class

    You use System.Net.Mail , which in turn uses SMTP rather than the PHP mail() function.

    To see more

    or Google the topic.

  • Page does not develop as described in the tutorial (was: delicate design)

    Hi, in this tutorial, (https://helpx.adobe.com/muse/how-to/responsive-web-design.html?set=muse--get-started--read y-to-use ) page seems to extend automatically to allow the new elements. This does not happen when I add new items. I would like to know how it works and how to make the elements relative to each other, so when the addition of this new text, how can you stop running on another text without having to manually move all the design whenever you want to make a change?  Thanks Mog

    Adobe muse is not exactly a modular design tool, so the answer is no, it will not automatically do what you ask, how to manage what you want, unfortunately, is at the stage of planning the Web site. Which means it's probably the best to design your Web page so you don't have to worry about overlap. Recommended for web designers is to try to use as few elements as possible. For example try using a single text field and continue to the bottom of the page using spacing of paragraphs, left/right justify etc etc. You can paste images "inline" with the text that moves with the text, see here: text on an image

    This will make what I think you want, but it requires you to think differently about the design of your Web page.

    I hope this makes sense? In addition, in the future, it helps a lot to take screenshots and add them to your message as a picture paints a thousand words!

    Cheers, Steve.

Maybe you are looking for