The PHP values

Hello

Can someone help me with this, I believe, it should be simple, but cannot find an answer anywhere.
I use Dreamweaver CS3 with PHP myAdmin.

On one page, I have several different recordsets implemented, all with different values of a field called 'price '.

I also have a form with several fields with a value on each one that is configured to display a different value of 'price' Recordset.

So, it looks like this...

< input name = "field1" type = "text" id = 'field1' value = "<?" PHP echo $row_recordset1 ['price'];? ">" / >
< input name = 'Field2' type = 'text' id = 'Field2' value = "<?" PHP echo $row_recordset2 ['price'];? ">" / >
< input name = "field3" type = "text" id = "field3" value = "<?" PHP echo $row_recordset3 ['price'];? ">" / >
< input name = 'field4' type = 'text' id = 'field4' value = "<?" PHP echo $row_recordset4 ['price'];? ">" / >
< input name = "sphere5" type = "text" id = "sphere5" value = "<?" PHP echo $row_recordset5 ['price'];? ">" / >
< input name = case "field6" type = "text" id = "field7" value = "" / > "
< input name = "field7" type = "text" id = "field7" value = "" / > "

The finals 2-form fields (case field6 and field7)...
Case Field6. I want to display the calculated value of 'price' added recordsets.
Field7. I want to display the calculated value of 'price' added recordsets, and then add another 15% (VAT in the United Kingdom).

I also want case field6 and field7 to automatically populate when the page first loads.

Hope that makes sense.
Thank you very much

Rickideeuk wrote:
> Case Field6. I want to display the calculated value of recordsets 'price '.
> added.
> Field7. I want to display the calculated value of recordsets 'price '.
> added together, then add another 15% (VAT in the United Kingdom).

Create a variable to hold the total operating and adds each value
with +=. Use the running total in field 6. Multiply the total cumulative
115 and divide by 100. Format the result to two decimal places and use
in field 7.

initialize the variable total
$total = 0;






--
David powers
Adobe, Dreamweaver community expert
http://foundationphp.com

Tags: Dreamweaver

Similar Questions

  • PHP Beginner: can the data values for the DW effect Html on pages form?

    I'm working on the creation of data form effect HTML pages, but I don't know how to run the whole thing. I have a php document, and I filled in a drop-down list with the names and the values I would like to be placed in a HTML page.  Oh I also was wondering on the forum code snippets are they copyrighted or anyone can use them?

    Dreamweaver has a lot of support for PHP, including a set of server behaviors to accelerate the development of Web sites that use a MySQL database. It also has a lot of code hints PHP (more than 2,000) and syntax coloring. So, Yes, Dreamweaver can help you work with PHP, but you need a solid knowledge of HTML, as well as a knowledge of the basics of PHP and SQL before you start.

    PHP is a language side server that processes the content of a web page on the server before sending the output as HTML in the browser. Unless your server is configured to manage HTML as PHP pages (most are not, and it is not recommended in any case), you must save the pages with a .php file name extension to use PHP.

    Data entered in a form can be used to assign the production on other pages. To give a very simple example, if a form contains a text called 'username' field, the value in this field can be displayed using a PHP variable. If the form is submitted using the POST method, you view the value in the page like this:

    Welcome, !

    This is a deliberately simple example; and in practice, you have to filter the value of the shape to make sure leave you vulnerable to multisite by scripts.

    If you want to start using PHP in Dreamweaver, I recommend that you take the time to learn the basics of PHP before using it in web pages. The PHP online documentation is very good, and it includes a simple tutorial. However, you might find that tried to browse through the documentation on your way your own is a little like trying to swallow a dictionary. This is more than a reference to a learning tool. There are a lot of PHP tutorials on the web, but many of them are old and do not necessarily follow best practices.

    If you want to learn more about PHP in a context of Dreamweaver, you may be interested in my books (more details on my Web site at http://foundationphp.com/).

    Finally, your question on copyright law. Copyright of the code remains with the person who wrote it, but any code posted in these forums is free to use, unless otherwise stated (but no one should view code here they don't want others to use). It goes the same for code in my books. It is there for you to learn and use freely in your own projects.

  • shipment value of the PHP variable to Flash to load an xml file

    I would like to load an XML file to the local location or on the server to ignore the name of the file. I use PHP to send the name of the Flash file.

    Here it is the PHP code:

    <? PHP

    filesInDir ('C:\Documents and Settings\457305\My Documents\shrikant\Flash Tutorials\webassist');

    function filesInDir ($tdir)

    {

    $dirs = rewinddir(3) ($tdir);

    foreach ($dirs as $file)

    {

    If (($file == '.') |) ($file == '..'))

    {

    }

    else if (is_dir ($tdir. » /'. $file))

    {

    filesInDir ($tdir. » /'. $file);

    }

    on the other

    {

    echo "fileName = $file";

    }

    }

    }

    ? >

    And here is the Actionscript code loading:

    import flash.net.URLLoader;

    import flash.net.URLRequest;

    import flash.events.Event;

    to import flash.net.URLVariables;

    Stop();

    Set the PHP file to load

    var phpFile:String = " " http://localhost/WebAssist/test.php ";

    var cons_xml:XML;

    var xmlLoader:URLLoader = new URLLoader();

    Specify the property dataFormat of the URLLoader to be "VARIABLE".

    This ensures the variables loaded into Flash with the same variable names

    xmlLoader.dataFormat = pouvez;

    xmlLoader.load (new URLRequest (phpFile));

    xmlLoader.addEventListener (Event.COMPLETE, processXML);

    function processXML(evt:Event):void

    {

    trace (evt. Target.Data.FileName);

    cons_xml = new XML (evt.target.data.fileName);

    gotoAndPlay (2);

    }

    When I trace evt.target.data it displays "fileName = mainOpenEndedXML % 2Exml" and when I trace evt.target.data.fileName the file name is correctly displayed as 'mainOpenEndedXML.xml'.

    But in the two next lines where the loading is done that it does not load the file IE does not play the SWF to an xml file.

    I've searched the Internet to find answers, but not able to find solutions.

    Loading works fine if I insert the xml file directly in the code and the SWF in the XML file plays correctly. Here it is the code for the same thing:

    import flash.net.URLLoader;

    import flash.net.URLRequest;

    import flash.events.Event;

    to import flash.net.URLVariables;

    Stop();

    var cons_xml:XML;

    var xmlLoader:URLLoader = new URLLoader();

    xmlLoader.load (new URLRequest ("mainOpenEndedXML.xml"));

    xmlLoader.addEventListener (Event.COMPLETE, processXML);

    function processXML(evt:Event):void

    {

    cons_xml = new XML (evt.target.data);

    gotoAndPlay (2);

    }

    Any help on this would be greatly appreciated


    You said you use PHP to send the name of the Flash file.  If the php file you provide only the name of the xml file that you need to load, then you will have to load the xml file in the same way that you show in your last set of code where you say that load you it directly.

  • The SAR values lower blackBerry 10-&gt; BB phones sold!

    Dear community,

    Dear BB smartphone antenna developers,

    I would like to highlight the fact that the lowest values of SAR (specific absorption rate) of mobile phones have been achieved by Samsung in the last six years. Models Samsung Galaxy have extremely low values of about < 0.4="" w/kg.="" a="" detailed="" list="" of="" phone="" models="" and="" sar="" values="" can="" be="" found="" on="" the="" german="" website=""> http://handywerte.de/index.php.

    Samsung Galaxy phones are a very good quality of voice despite the fact that they «radiate less» Therefore, I wonder why Blackberry is not to low values of SAR, either? There is a great sales potential for Blackberry that there are a lot of clients who have chosen a phone regarding the SAR value - and today chose Samsung.

    Despite the fact that there is no scientific study that shows a harmful effect of radiation of mobile phones on human health, Blackberry could sell a lot more phones with lower values of SAR - threre is still a lot of people out there attention to the value of the DAS.

    With greetings

    BBsupporter

    Hi BillJ,

    you're right, of course, values low SAR are not the only reason to buy a phone and, thus, do not automatically match higher sales rates.

    If you find people who are interested in ras values or not, depends on the audience target, you ask: for example, if you support the business customers who need to ensure security and stability in the communication systems of their company, the fantastic features of the phones blackberry and services (I love blackberry, incidentally) is the main goal.

    However, I am an engineer in electrical engineering and have worked in the field of electromagnetic compatibility (EMC). When you work with EMC, after awhile, I had to deal with a citizen initiative about the radiation from cell phones. I was surprised and realized that there are actually people who think a probably harmful effect of radiation of mobile phones on human health.

    As I said, I am an electrical engineer, and it is until today NO scientific evidence for any harmful effect of the radiation from cell phones. But let's look at it with a BB sale economic point of view: there are different reasons for people to buy a cell phone: a good OS, bright screen, good camera, long term, battery, comfortable keyboard, elegant body, large memory, brilliant speakers, etc... If there are people out there, who want a low das, then let me tell you that there is NOTHING that can be done more easily than a lower SAR!

    For example, to significantly improve the camera, you will need to use better lenses, a better sensor and maybe the software will need to be adjusted for a better signal image processing (noise suppression). This means a significant effort for BlackBerry. As an EMC engineer I can tell you that the effort to change the SAR is significant - it requires only slight changes in the design of the antenna. So if the effort is practically zero, why not do it?

    What's my motivation? I love BlackBerry devices and want just BB to succeed again. It is sad to see that blackberry had so much problems in the past. For example, I think that opening the door for Android in the OS 10 is absolutely necessary and will win back customers.

    So, my post on the SAR was just to suggest how BlackBerry can accomplish some specific wishes of customers even better. If the effort to change the design of the antenna is practically zero, if there is virtually no cost for the changes, and the voice quality can still be excellent (as indicated by Samsung Galaxy devices), so why not reduce the SAR?

    Kind regards

    BBsupporter

  • I have trouble getting the PHP script to send form data to an email.

    I have a very basic contact form that I used before, and I pointed to a standard SendResults.php file. I downloaded them both on the server for the test, but I don't get the emails of the form. Can someone help me with this?

    Here is the code for the form:

    Contact < h1 > < / h1 >

    < p > < img src = "images/contact - hands.jpg ' alt = 'hands' width ="401"height ="299"class ="left-photo-sur"align ="left"/ > < / p >

    < class p = 'fax' > < / p >

    < class p = 'fax' > < / p >

    < class p 'fax' = > please call or use the form below to send your contact information and I will answer you as soon as possible. < /p >

    < class p = 'phone number' > 541 954 2602 < /p >

    < class p = "center" > Ronit Cohen < /p >

    < p > < / p >

    < p > < / p >

    < h3 class = "center" > use the form below to send a message and I will contact you quickly. < / h3 >

    < table width = "600" border = "1" align = "center" cellpadding = "22" cellspacing = "0" >

    < b >

    < td bgcolor = "#F0F0F0" > < form action = "sendresults.php" method = "post" name = "Contact form" id = "Contact form" > "

    < P > name < span class = "red" > * </span >

    < input name = "name" type = "text" id = 'name' size = "70" / >

    < /p >

    < P > E-mail address < span class = "red" > * </span >

    < input name = "email" type = "text" id = "email" size = "65" / >

    < /p >

    < p > telephone number

    < name input = 'phone' type = 'text' id = 'phone' size = "40" / >

    < /p >

    < p >

    < label > Message < br / >

    < name textarea = 'message' id = cols "message" = "70".

    "rows ="5"> < / textarea >"

    < / label >

    < /p >

    < class p = "center" >

    < input name = "submit" type = "submit" id = "submit" onclick = "MM_openBrWindow ('thankyou.html'", 'width = 500 height = 400'); " MM_validateForm ('name', ", 'R',"email', ", 'RisEmail', 'phone'", 'NisNum'); return document. MM_returnValue"value ="Send the Message"/ >

    < input type = "reset" name = 'Cancel' id = 'Cancel' value = 'Cancel' / >

    < /p >

    < / form > < table >

    < /tr >

    < /table >

    < p > < / p >

    < p > < / p >

    < p > < / p >

    <!-InstanceEndEditable--> < table >

    < /tr >

    < /table >

    And here is the code for the sendresults.php file:

    <? PHP
    -Put these settings-

    Subject of the email sent to you.
    $subject = "Sent 'A Home to Fit You' Contact form info;"

    Your email address. This is where the information on the form will be sent.
    $emailadd = ' [email protected] ';

    Where redirect after form is processed.
    $url = ' http://www.tributewebdesign.com/home-to-fit/contact.html';

    Makes all the required fields. If the value of '1' no field cannot be empty. If the '0' value any or all fields can be empty.
    $req = '0';

    -Do not edit below this line-
    $text = "comes from the shape: \n\n";
    $space = ' ';
    $line = '
    ';
    foreach ($_POST as $key = > $value)
    {
    If ($req is '1')
    {
    If ($value == ")
    {echo "$key is empty"; die ;}
    }
    $j = strlen ($key);
    If ($j > = 20)
    {echo "Of the form $key name cannot be longer than 20 characters"; die ;}}
    $j = 20 - $j;
    for ($i = 1; $i < = $j; $i ++)
    {$space. = ' ' ;}}
    $value = str_replace ('\n', "$line", $value);
    $conc = "{$key}: $space {$value} $line";
    $text = $conc;
    $space = ' ';
    }
    mail ($emailadd, $subject, $text, ' from: '. $emailadd. ");
    echo "< META HTTP-EQUIV = CONTENT refresh ="0; " URL ='. $url. " » >';
    ? >

    I'd appreciate any help anyone has to offer.

    Jennifer

    No not a yahoo and google make it much harder to send mail unless it comes from an active server

    I had problems in her SCI with gmail, hotmail, ATT and others, even if you use SMTP.

    Jennifer, you might check if your server ip is on a blacklist.

    http://MXToolbox.com/blacklists.aspx

  • Advanced runtime in the recordset value disappear

    I am creating a master and a detail of the page to get on the details page, more details on an exporter (according to the table of exporters) and export (in the Products table) products offered by the exporter in particular. When you install the advanced Recordset I introduced a variable varexporter

    Here's the SQL Recordset

    SELECT exporters.exporterID, exporters.exporterName, exporters.exporterStreet, exporters.exporterCity, exporters.exporterZip, exporters. Country, exporters.exporterContact, exporters.exporterDesignation, exporters.exporterPhone, exporters.exporterFax, exporters.exporterEmail, exporters.exporterWebsite, exporters.exporterLogo, exporters. FactoryAddress, exporters.CommencementYear, exporters. Manufacturer_OR_Producer, exporters. EstablishmentType, exporters. SynopsisLink, products.productID, products.productName, products.image

    Exporters, products

    WHERE products.exporterID = exporters.exporterID AND exporters.exporterID = varexporter

    Once I have save the DW creates another variable by the name totalRows and nadir varexporter runtime value. The details of the page is always generated with the default value of varexporter

    Please help me to write the correct sql query so that it gives the appropriate result for each master page link for exporters.

    Thanks and greetings

    harshamu wrote:

    As I do not know php and mysql, I get Dreamweaver to do the job.

    Big mistake, but unfortunately one that was made by many others. You must use a tool such as Dreamweaver to speed up your development process, but do not put blind trust in it. Unfortunately, Dreamweaver PHP server behaviors use outdated code that is more really suited to a production environment.

    Having seen that health cautioned, we will try to solve your problem.

    On your detail page, you have three instances of the code of the recordset object. You must remove the two of them. Remove the lines of code highlighted in red.

    @mysql_select_db ($database_ltndb, $ltndb);

    $query_rs_exporterprofile = "SELECT exporters.exporterID, exporters.exporterName, exporters.exporterStreet, exporters.exporterCity, exporters.exporterZip, exporters." Country, exporters.exporterContact, exporters.exporterDesignation, exporters.exporterPhone, exporters.exporterFax, exporters.exporterEmail, exporters.exporterWebsite, exporters.exporterLogo, exporters. FactoryAddress, exporters.CommencementYear, exporters. Manufacturer_OR_Producer, exporters. EstablishmentType, exporters. SynopsisLink, products.productID, products.productName, products.image exporters FROM Products WHERE products.exporterID = exporters.exporterID ";

    $rs_exporterprofile = mysql_query ($query_rs_exporterprofile, $ltndb) or die (mysql_error ());

    $row_rs_exporterprofile = mysql_fetch_assoc ($rs_exporterprofile);

    $totalRows_rs_exporterprofile = mysql_num_rows ($rs_exporterprofile); $varexporter_rs_exporterprofile = "1";

    If (isset($_GET['exporterID'])) {}

    $varexporter_rs_exporterprofile = $_GET ['exporterID'];

    }

    @mysql_select_db ($database_ltndb, $ltndb);

    $query_rs_exporterprofile = sprintf ("SELECT exporters.exporterID, exporters.exporterName, exporters.exporterStreet, exporters.exporterCity, exporters.exporterZip, exporters.") Country, exporters.exporterContact, exporters.exporterDesignation, exporters.exporterPhone, exporters.exporterFax, exporters.exporterEmail, exporters.exporterWebsite, exporters.exporterLogo, exporters. FactoryAddress, exporters.CommencementYear, exporters. Manufacturer_OR_Producer, exporters. EstablishmentType, exporters. ("SynopsisLink, products.productID, products.productName, products.image exporters OF products WHERE the products.exporterID = exporters.exporterID AND exporters.exporterID=%s", GetSQLValueString ($varexporter_rs_exporterprofile, "int"));

    $rs_exporterprofile = mysql_query ($query_rs_exporterprofile, $ltndb) or die (mysql_error ());

    $row_rs_exporterprofile = mysql_fetch_assoc ($rs_exporterprofile);

    $totalRows_rs_exporterprofile = mysql_num_rows ($rs_exporterprofile);

    $query_rs_exporterprofile = "SELECT exporters.exporterID, exporters.exporterName, exporters.exporterStreet, exporters.exporterCity, exporters.exporterZip, exporters." Country, exporters.exporterContact, exporters.exporterDesignation, exporters.exporterPhone, exporters.exporterFax, exporters.exporterEmail, exporters.exporterWebsite, exporters.exporterLogo, exporters. FactoryAddress, exporters.CommencementYear, exporters. Manufacturer_OR_Producer, exporters. EstablishmentType, exporters. SynopsisLink, products.productID, products.productName, products.image, products.exporterID exporters ';

    $rs_exporterprofile = mysql_query ($query_rs_exporterprofile, $ltndb) or die (mysql_error ());

    $row_rs_exporterprofile = mysql_fetch_assoc ($rs_exporterprofile);

    $totalRows_rs_exporterprofile = mysql_num_rows ($rs_exporterprofile);

  • Cannot create files in the database by using the PHP Data Service

    Hello, I was stuck on this during a few days and get up and down for this on the net, no response, I found did work, so I come back to you...

    Here are the steps I took, I think that's pretty standard

    1. I have a macbook pro running osx 10.7.3

    2. I installed MAMP default all the (I've acually reinstalled this because someone suggested it could fix)

    3. via phpMyAdmin, I created a database called my_test

    4. in this database, I created a table, it is the export of this table: (I also tried with InnoDB, which is the default)

    CREATE TABLE 'client')

    int (10) 'id' unsigned NOT NULL AUTO_INCREMENT,

    'name' varchar (50) NOT NULL,

    'email' varchar (150) NOT NULL,

    PRIMARY KEY ('id'),

    UNIQUE KEY 'id' ('id')

    ) ENGINE = MyISAM DEFAULT CHARSET = latin1 AUTO_INCREMENT = 1;

    5. I created a new project of Flx (running Flash Builder Premium 4.5.1)

    Project name: PHPTest

    Type of application: Desktop (although I did the same thing with the Web and got the same results)

    > > Next

    Type of application server: PHP

    Web root: / Applications/MAMP/htdocs /.

    Root of the URL: http://localhost: 8888 /

    Click on "Save Configuration" and who worked

    Output folder: / Applications/MAMP/htdocs/PHPService (default value of Flash Builder)

    > > Finish

    6. in the Data/Services on the background tab, I click on "connect to data or services...". »

    Select "PHP".

    > > Next

    Select «Click here to generate a sample»

    Select the option "Generate database"

    User name: root

    Password: root (default for MAMP)

    Host name: localhost

    Server port: 8889 (default for MAMP MySQL port, the default HTTP port is 8888, which, in both cases, seems to work, but all the videos I've seen that use MAMP on youtube uses 8889)

    Database: my_test

    Click 'Test connection' (work)

    Table: customer

    Primary key: id of (this field is dimmed and Flash selects Builder 'id', which it appears in the SQL table)

    > > Click OK

    7. then if I do not have the Zend Framework folder in my/Applications/MAMP/htdocs/folder it tells me its going to do this and I mean. Then Flash Builder said some things about how it really is for testing, not production server ready and I mean.

    8. then it brings back me to the form of step 6 when I have the chance to select «Click here to generate a sample»

    These fields are now filled with these data automatically:

    PHP class: /Applications/MAMP/htdocs/PHPTest/services/CustomerService.php

    Name of the service: customer service

    Package: services.customerservice

    Type of data package: valueObjects

    > > Click on Next (shows all functions, which will now be availible)

    > > Click done (end shapes and she opens Dreamweaver in the php file it created CustomerService.php that I didn't need to change so that I have that closes down)

    9. back in Flash Builder I switch to design mode and drag a datagrid control onto the large white area in the Middle, no matter who is called.

    10 slide below in the Data/Services on the bottom tab I click the "GetAllCustomer" function on the top of the data grid.

    I say yes to bounce, then click ok and the display of the data grid is updated with the columns of the 'customer' table in mySQL.

    (Now I would like to say that when I hit save and compile it, if I actually had documents in this table I have insert via phpMyAdmin, this is displayed in the datagrid control) So for all the CRUD, I am able to get the R which is read)

    11. now go back to the designer view in Flash Builder, I'll create a form to create the table records... (I guess this isn't really a step)

    12. in the data on background tab/Service I select the function 'createCustomer' and then there is an icon called "Form generating" that looks like a white sheet of paper with a sprocket on the bottom of things.

    13. This opens a new form and because I don't have a crazy bunch of fields in my table I click just finished (if you click then you can specify which fields you want to exclude from the form, but this time I don't have to)

    14. This creates actually 2 forms if you look at the code, the second shows just the return type of when you click on the button 'CreateCustomer' on the first form. Because they overlap in design mode I drag the form so you can see the entry form, the return form and the datagrid

    15 then I save and compile...

    (Also if your reading this fact does not delete the field in form of code, I get the same result, so be it, but if you do not delete the form field in the code/design you must also update the function button do not deal with the id before he is deported to the php page, since in this case the MySQL table's auto_increment sorry id value that does not have a lot of) sense, but this small area does not matter much anyway)

    16. now fill some data you want for name and email, try different numbers in the field id as 0, nothing, 1, 1000, then click on 'CreateCustomer '.

    (For me that nothing happens, no return is put on return, no error appears and the datagrid control is not updated with the new record, passing also to phpMyAdmin and checking her browse the table does no changes, I know that the button calls the function because if I add a state change it in this function of changes) , it seems that the line:

    createCustomerResult.token = customerService.createCustomer (customer2); does nothing)

    So no idea what is wrong here, I am convenced that's something stupid easy simple, I can't see it.

    So, I thought about it after 24 hours to post my question and probing every thing I could think about. I've been stuck with this problem for over a week, so I'll give myself credit for this one...

    userService.commit ();

    need to be added at the end of the function of button to force flex to do what seems every tutorial that I've ever read on how to do online is no need or mention, don't know why it worked without them but at this point I don't really like.

  • The size of the estimated value of the project is larger than the chosen target support

    I am at a loss for trying to create a project using Adobe Encore.  I tried initially to the author of the project using the CS2 version.  When you try to export, I received the following message is displayed:

    "The size of the estimated value of the project is larger than the chosen target support.  While it is an estimate, the project may not build. »

    I have created hundreds of projects in the past, but have never received this message before.  I first thought that the problem was with the release of still I used, but I got the exact error that even trying to create the project with Encore CS5.

    The project itself has a menu, a motion menu, and a single video file.  The video file 152 last minute, and I was trying to export that to a double layer DVD.  I tried from the file using CS5.5 Adobe Premier export using a variety of parameters.  I'm trying to export it to a file DVD-2, with the attributes of soure game being the highest value.  The parameter on the main concept MPEG encoder is set to 5. I tried to export the file by using the constant and variable bitrates.

    When I recently exported the file using a contant 6.5 sampling rate, I still 650,4 Mo still remaining on my project.  I still received the same error message on the size of the project, and so I think that something is wrong.

    I even exported the video file into an AVI file compressed and then tried to coding again using CS5.5 Adobe Premier and Adobe encoder.  I always get the same error message on the size of the file.

    Any help or suggestions on how to solve this problem would be greatly appreciated.  Thank you!

    If you do not finish with wasted discs...

    Create an ISO (yet), or a folder on your hard drive (still or Premiere Elements), then use the FREE http://www.imgburn.com/index.php?act=download to write files or folders or ISO on DVD or BluRay drive (send the author a PayPal donation if you like his program)

    .

    ImgBurn will read the mark of REAL from the disk drive, which isn't always the same as the label for the box (Memorex is known for 'nothing' buy and put inside a box of Memorex)

    .

    When you write on the disk with Imgburn, use speed SLOWEST possible setting, so your burner has the best chance to create "good, well trained" laser drill holes... Since no DVD drive is required to read a burned disc, have a 'good' after a try to white high quality will help

    .

    Use Taiyo Yuden simple layer or layer two Verbatim

    Or Falcon Pro for inkjet printable two layer

  • option to enter the RGB value and output on the image?

    Long story short... we have thousands of images we need to gather information than RGB transfer us to an excel doc.  It is used to create a script that would automatically color - choose a certain position of pixel (500, 500) and output values 3 somewhere on top of the image (like a huge text layer)?  I'm looking for just a quick way to find the RGB values of these images without having to manually color each of them choose.

    I would be grateful for any info on the subject.

    Thank you!

    I posted a script here...

    http://www.PS-scripts.com/BB/viewtopic.php?f=9&t=4117&SID=766cc720b24315eb55365013c418bbde

  • Coloration of the code for the PHP files using CSS

    Coloration of the code for the PHP files using CSS

    The Situation:

    It is possible to mix PHP and CSS so that you create a PHP file and it is served to the user in a CSS file. It works just like writing a normal PHP file which is then processed and used in HTML. To do this, you create a PHP file and at the top of the file, you add the following line of code:

    <?php header("Content-type: text/css"); ?>

    This line tells the browser that the file is CSS instead of HTML. Fantastic.

    Here is a link to a more detailed article on the subject: http://www.barelyfitz.com/projects/csscolor/

    The problem:

    The problem is that when I create a PHP file in Dreamweaver code colors in the document like PHP for PHP and HTML to CSS code code because it still thinks the document is supposed to be a HTML document. Is there a way to change the style of this situation? I find that code coloring to normal CSS files is really useful and would like to be there instead of just black text.

    Other information:

    I already have this submitted a feature request to Adobe, but I never heard back. Does anyone know how to do this now?

    I would really like to see the code coloring to adapt to the content type of the file, when the file is PHP. So if no content type is specified, values by default in html format, but when it's CSS, code coloring so a coloration of the different code is used. It could also adapt to files JS, XML files, the works. But really, I just want to add the PHP/CSS code coloring.

    I'm certainly not an expert, and this is my first time looking at the file,

    but it looks like the section.

    "ID ="CSS"doctypes ="CSS"priority '50' = > ' see the style css and

    the and refer to where the design must

    be applied. If that is correct then the code you provided should style

    It all starts after the

    and ending with another php code? It should be then that a

    tag additional php to be present in the document of 'close' the

    blowdry.

    And the continuation of this line of thinking, I have just that in the (php-> css)

    file. I placed my code. Then

    After the CSS, I placed another block of php: and it works!

    The CSS is styling just like should the CSS.

    Logically, you need that, and it seems to work ok for me without it. If Yes, you can change "" to be more explicit and less impact for PHP parsing, such as ' /DW/ '.

    Haha, Unfortunantely, PHP is more the same color scheme. He

    went from normal red blends what the html code looks like

    scheme (blue with quotations from green text). Fortunantely this configuration is far

    more convenient than the previous color coding!

    All subsequent PHP Directives are coloring properly for me - it's just the first one that triggers the coloration (e.g. ) is not. What do you see?

    If, therefore, in the XML file you added in CodeColoring.xml, you can change:

    scheme = "outerTag.

    is similar to the colouring of the PHP Directive:

    scheme = "customText" id = "CodeColor_PHPScriptBlock".

    This causes the entire PHP directive is red color - not optimal, but a little better.

    HTH,

    Randy

  • Implements the php function in dreamweaver cs4 / cs5

    Hello
    I did a framwork for my company which develops using php.
    It would be nice to not always have to explain the use of the functions, implement dreamweaver, possibly through the extension, the intellisense for these functions.

    when using the shell function requires for example tells me that the function accepts a string of. in the case of mysql_connect are invited to enter the hostname etc...

    It is very important to implement something like this to my duties

    is this possible?

    Hello Ciro,

    I'm not sure I understand all the problems you are having, but I'll try to answer... ask once again if you have other questions.

    If you want to offer codehints for your own framework, the best thing is to simply use the tool "codehints situ. You can create a "preset" with your frame, which can then be exported and imported by other users. For the most part, the usecases, I think this should probably be all you need to do.

    Now, there are cases where the default engine may not recognize all the indications you want to offer (for example you have global variables defined using the extract() function); It is always possible to add these tips, but it's a little more complicated, ask again if you need help (as a starting - point you can watch the "Drupal" pressed for codehints, it refers to a file in your home directory "user configuration"). BTW, the "builtin" CMS codehinting presets defined in [Config file] / Shared/Dinamico/Presets - seek how Drupal is described and you can easily make a similar description for your own framework (and install it as an extension and other support if necessary files).

    Now - if you want to add tooltips to description for your advice (such as those for the php builtin tips) - it is possible, but, unfortunately, not as easy as it could be (*). However, if you want to add those, it's quite possible: just look at how the builtin flags are set (basically, you must prefix your member function/class/class / variable/etc.)  with a comment that says something like "/ * @file_name.xml #description_tag * /;" the "file_name.xml" is located in the Descriptions/CodeHints folder, if I am wrong - look here for how ToolTips are described; It is essentially a list of key / value with the 'key' is the 'description_tag' and the value is the HTML (exhaust) content of your ToolTip).  Unfortunately I don't have access to an installation of Dreamweaver now so I can't tell you for sure, but if you can't manage ask again and I'll give you more details tomorrow.

    Finally, on the 'today' function: as I understand it, your frame redefines a PHP builtin function - and you want the codehint to change, too? I can't say with certainty that it will work without trying... but if you add in the codehints 'in situ' a file that contains your definition of "today", it can replace the builtin. If it does not (and in fact, I fear that it does not work) - then your only options are (A) disable the builtin "mysql" makes allusion to one of the options, or (B) manually (or via an extension) rewrite the file that says tips for 'today', so that you remove this function.

    Hope that helps,

    Virgil.

    (*) PS: This feature (the description ToolTips) is actually intended to be used in-house - by Dreamweaver so I doubt that it will be recorded. Initially, we wanted to show the comments the user as "description tooltips" PHPdoc... but it is surprising how the complications (problems of formatting HTML vs non-HTML, javascript in comments comments, etc.)- so eventually we ran out of time and decided to keep 'internal use of DW. Who knows, maybe it will work more "user-friendly" in future versions of DW

  • How to end loop when the desired value is found.

    Hi I have a loop below and I want the loop at the end when the desired value is found.

    <? PHP {? >}

    <? PHP $allvotedid = $row_VotedUsers ["VotedID"]? >

    <? PHP} while ($row_VotedUsers = mysql_fetch_assoc ($VotedUsers));? >

    I want this loop to the end when $row_VotedUsers ['VotedID'] is equal to the variable URL ID. So lets say pagename.php? ID = 1, I want the loop to go until he finds an ID value which is 1. And then I want this set to $allvotedid. And if detects any value to it then I want to stop a loop.

    Thanks for any help. I hope I made that clear.

    cwhazzoo wrote:

    Hi I have a loop below and I want the loop at the end when the desired value is found.

    The following will do what you asked:

    
    
    
    

    However, it is a very inefficient way to do it. If you are interested is whether the code transmitted through the URL is in the VotedID column, simply create a Recordset by using the URL parameter ID ($_GET ['ID']) as the filter. Then check the value of $totalRows_VotedUsers. If it is 1, the user has voted. If it is 0, the user has not voted.

  • explain the analysis analyzed, plan implementation, the hash value code

    whts the hash value, code analysis, plan to run?
    can we see the hash value?

    The analysis is the first step in the treatment of any statement in an Oracle database. Statements are broken down into its components and so DML or DDL statement type is determined and different controls are carried out on this subject. A statement must be evaluated and validated before execution. Oracle evaluates statements for syntax, the validation of objects and the privileges assigned to the user.

    Oracle hash value will check privileges for any SQL statement, and then assigns a number called the hash value SQL for the SQL statement to check whether or not this statement exists in memory

    The statement execution plan, will select the best methods to access the SQL statement

    http://www.articles.freemegazone.com/Oracle-parsing.php

  • restrict access to the php page problems

    I'm trying to use the dreamweaver php restrict access server behavior and will have success on both my local maching and my own host. However, the same script does not work on the server of a customer hosted by Verio on a Windows shared hosting plan.

    index.php = login page
    Login.php = forwarding connection failed
    client.php = page with a script to restrict access.

    If I remove the script of restricted access, I was able to connect fine and see page client.php. However, if I understand the access restricted in the client.php script, I get kicked to the login.php page. I only check the username and password, not the user level.

    Here is a brief overview of the two assemblies

    localhost:
    MacBook pro running apache
    PHP 5.2.0, mysql 5.0.22
    register_globals = Off

    Client server:
    Host = verio
    Windows shared hosting plan
    PHP 5.2.0, mysql 5.0.24a
    register_globals = Off

    Session settings are the same as the file phpinfo.php (with the exception of the local value of the session.save_path to the verio server)

    I can return the value of the username (and pass) using the {print $_SESSION ['MM_Username'] ;} on client.php page when I comment on the script to access restricted on the client files.}

    I wonder if there is a php setting that is causing the problem?

    Any help is greatly appreciated.

    Kind regards

    Mike

    According to media, the current windows has limited hosting plan supports for php scripts.

  • How to highlight the minimum value in a column?

    I need to highlight the lowest value in each column in my spreadsheet. I try to use the conditional nail, but I can't find a function to work as I need.

    One way would be to calculate the minutes in a cell of a footer row, select the cells in the body of the column and apply conditional highlighting like this:

    You must click on the chip address first, and then select the comparison cell, A8 here, then be sure to keep the row and column.

    The A8 from the example formula is = MIN (A).

    The result is a bold 2 (not shown in the screenshots).

    SG

Maybe you are looking for