PHP & ASP on the same Web site?

Think I asked this before some time ago.

PHP and asp can be used on the same Web site?

Currently the site that I'm reviewing to make some updates uses asp to take advantage of the content in the pages.

I need to introduce another section of the Web site using php to query a database and return the results. Can I do this using php, even if asp is used in another part of the Web site? I don't want to mix and match the language php and asp on the same page, it should be good, Yes?

If so presumably, I need to create an additional database using mysql instead of some asp uses. Is it okay to have 2 databases for a single site, all the conflicts? As is standard practice for the server to run asp and php together? I can not in the server at the moment to test whether php is running, but I guess that's the first port of call.

While I'm here maybe a php person can help me with another php question?

Below, I'm hidding one line of text if the "location" in the database field is empty. What is the code to hide the row if 2 or more specific database fields are empty?

<? PHP if (! empty ($row_rsDetails ['location'])) {? >}

< p > please click on the links for more details < /p >

<? PHP}? >

I tried several combinations but it always generates an error.

Thank you

Operating system

Murray * CPA * has written:

I realized while taking my bike lunch that I gave you the logic wrong here.

<>

$foo = empty ($row_rsDetails ['EventWebsite']) + empty($row_rsDetails['LocationWebsite']) + empty($row_rsDetails['Charity1Website']) + empty($row_rsDetails['Charity2Website']);

If ($foo) {? >}

Please click on the links for more details

Even this does not always work. Even if ALL the fields in the database above can clear the line

Please click on the links for more details

always appears when details are called

Never mind. I'm going for the night now. I'll revisit this at some point. Its now become more of a personal question to try to solve this problem.

Tags: Dreamweaver

Similar Questions

  • Using PDO and Standard of MySQL connection on the same Web site.

    Hello everyone

    Now I'm finally semi-retired, I finally have the time to build my own Web site. Yes I know, "what, you don't have a personal Web site", well, I don't have time, and like all my clients where by recommendation, I required not one. "

    In any case, I intend to use php::pdo for the connection of the side database user and a standard connection on the side of admin, (after the login page).

    So what I need to know is, is this acceptable? I remember reading somewhere that provide different connections are not on the same page, it will work, but before I start coding, I was hoping someone could confirm this and talk about the disadvantages they may have knowledge of?

    Paula

    Sounds a sensible plan for me. Good luck with it.

  • I get this message on my Acer but not on my Toshiba with the same browser 28.0 on the same Web site your session has ended, please sign in again

    I have the same 28.0 browser installed on my Acer and my Toshiba. When I connect to a Web site and select an option for certain with the Acer computer I get "your session has completed, please sign in again.

    When I connect with my Toshiba Firefox it works fine.

    Clear the Cache Firefox/tools > Options > advanced > network > content caching Web: 'Clear now'

    and

    Delete Cookies Firefox/tools > Options > privacy > Cookies: "Show Cookies"

    If there is still a problem,
    Launch Firefox in Mode safe
    While you are in safe mode;

    Firefox Options > advanced > General.

    Find and stop using hardware acceleration.

  • Firefox displays only numbers and no text in some web sites. whereas the Internet shows explore them all to the same web site. What is the solution?

    When I click on a link in a web site, it is supposed to show the details on another page of the same website with text and numbers. But it only shows numbers. Why?

    Start Firefox in Safe Mode to check if one of the extensions (Firefox/tools > Modules > Extensions) or if hardware acceleration is the cause of the problem (switch to the DEFAULT theme: Firefox/tools > Modules > appearance).

    • Do not click on the reset button on the start safe mode window or make changes.

    Alternatively, you can try to start the computer in safe mode Windows with network support (on the startup screen, press F8) as a test to see if it helps in the case where your security (firewall, antivirus) software causes this problem.

  • I want to open several tabs for the same Web site. 9.0 will allow me to do this?

    I keep getting pop up windows to update to Firefox 9.0 because its faster etc. I look round and he tells me he asks me if I already have one open. I WANT THE SAME SITE OPENED IN SEVERAL TABS according to what I'm working on. Is it still possible with the updated version. IF this isn't the case, I don't want it, but none of the FAQ questions even thought my question.

    When you enter a site in the URL/address bar and see the section "Switch to tab" in the drop-down menu, you can

    • use ALT + ENTER to open the new tab (duplicate) anyway
    • Use CTRL (CMD on OSX) + left click on the original tab and drag until you see an arrow under the point of rupture between the two tabs upward, then release the left button, then release the CTRL/CMD key to obtain a duplicate of the tab with all of its history (front/rear)
    • Press the SHIFT key while an entry in the drop-down list is highlighted to disable 'Switch to the tab' and see the URL.
    • Use the right arrow to select an element marked as switch to tab in the menu drop-down and copy the URL in the address bar.
    • Open the URL in the current tab by using shift + enter on the highlighted entry.
    • ALT + Enter open the URL highlighted in a new tab.
    • Shift + enter opens the URL highlighted in the current tab.
    • Cursor right copies the URL highlighted in the address bar where you want to change it.

    You can install this add-on to completely disable "switch to tab": https://addons.Mozilla.org/en-us/Firefox/addon/switch-to-tab-no-more/

    If this answer solved your problem, please click 'Solved It' next to this response when connected to the forum.

    Not related to your question, but...

    You may need to update some plug-ins. Check your plug-ins and update if necessary:

  • Two different people that have Dreamweaver installed CS6 can be changed to the same Web site?

    AS the title says, I'm trying to understand if it is possible for two different people to make the changes on the site even if CS6 is installed on BOTH computers.

    Sure.

    There is even a feature of DW integrated fund which makes so that they don't accidentally edit the same file at the same time.

    I've never used it so I can't vouch for it, but I know it's there.

    Basically the site files would be stored on a file server and you check the files to make changes. While a person working on a file, it is not available to the other person so that you do not accidentally cross to the top of your changes.

  • Firefox does not open a session on a particularweb site, I can connect on the same web site with internet explore. What's wrong?

    This is the site web https://merchantcenter.intuit.com/msc/portal/init
    After I typed my username and password, it tries to connect and then just waiting for merchants and refreshs services shows.
    I refreshed firefox and did not help.

    Use this link to make sure your plugins are up-to-date.
    If all are listed as unknown or research, don't worry to their topic.

    Start Firefox in Safe Mode {web link} by holding down the < shift >
    (Mac options)
    key and then from Firefox. Is always the problem?

  • Firefox browser will not move to the office. Other browsers have no problem on the same Web site. ??

    Browser hangs and will not move through or around the office. Using
    rt click disobeys. (sometimes it also locks).
    Other browsers are moving very well with
    Same or similar plugins

    Thank you

    Dale

    I had this problem with Firefox version 15 and found out it was because of the theme I had installed. As soon as I changed back to generic theme of firefox browser was able to move freely again. Some themes work very well but there are some that causes this problem of the browser do not move with left click the top title bar.

  • Can I use HTML5 and XHTML Transitional on the same Web site?

    HI -.

    I inherited a website here where some pages are valid html5 and some transitional xhtml.  It of OK to leave them like that, or should they all be a doctype.  I use a lot of ugly anomalies on IE9 and I wonder if multiple doctypes are originally the.

    TIA your entry.

    JL

    1. Display through my Virtual Box IE9 I don't get any problems with your videos - everything works fine. If I turn ON compatibility mode, I get an error Flash but the fancybox works as it should. What do you see when you click on one of the video links?
    2. I do not see it and even, I turned on the mode of compatibility etc. Normally, this occurs when a script has not loaded in time. You have a LOT of scripts throughout this site and are placed in page - some top, somehow, a few down. You also have the _js/jquery.js mentioned twice, even though it is in the comments. Try to remove that.
    3. I can't reproduce this issue either, but it uses Flash and scripts are quite heavy. Your nancy.swf is over 300 KB and jquery UI in the 160kb page. Using the HTML5 DOCTYPE, I would advise against using any Flash as the iDevices can not see this.

    As a general rule, pages could do with a lot of storage and compatible css/scripts/DOCTYPES on each page. All CSS should be at the top of the page. All JS usually down but in order - jquery, and jquery ui first and the rest follow. Your direct script actions must always be changed on the page ($(".fancybox").fancybox () etc.), but before the end

    Also, try to delete the comments of your compatibility meta tag:

  • When I zoomed in on a website, the other tabs with the same zoom area too; is there a way to disable the page Web site global zoom?

    When I zoomed in on a website, the other tabs with the same zoom area too; is there a way to disable the page Web site global zoom?

    You can change the zoom to be specific tab instead of in-situ.

    (1) in a new tab, type or paste Subject: config in the address bar and press ENTER. Click on the button promising to be careful.

    (2) in the filter box, type or paste the zoom and make a pause so that the list is filtered

    (3) double-click the preference browser.zoom.siteSpecific from true to false.

  • PHP and asp on the same server?

    Just a quicky?

    Can I run both php and asp on the same server?

    Someone has a website produced using asp (don't know about this language) but I would like to use the server it's on and to repeat some of the things using php, retaining only a few pages that use asp, possible or not?

    See you soon

    Operating system

    Hello

    Yes, you can do this (but not on the same page). I recommend you to check with your provider server first however.

    PZ

  • Unable to delete the data from the Safari Web site...

    Hello.

    I need help with my Safari browser on my Mac.

    Im trying to remove all Web site data with the following procedure:

    Safari-> Preferences-> privacy-> Remove All Data Web site...

    His does not work. Before clicking on the button I have 108 Web sites stored cookies or other data, I click the button, and nothing happens... I'm still 108 cookies.

    I also did the following:

    . - activate the Menu developer and Cache empty and tried again... nothing

    . - used CleanMyMac v3 and it says I don't have cookies.

    . - order iCloud Sync of Safari on the computer and try again... same problem

    . - removed manually com.apple. Safari. Secure

    Any help will be great. Please let me know if you need any additional info.

    Thank you.

    Hello DZanvettor,

    Thank you for using communities of Apple Support.

    If I understand your message that nothing happens when you try to remove the Safari Web site data. I know how it is important for you to be able to remove the Safari Web site data. I recommend that you restart your Mac into safe mode and see if you can remove the data from the Web site in secure mode.

    Here are the steps to restart your Mac in safe mode:

    Safe mode (sometimes called secure boot) is a way to start up your Mac so that it performs certain checks and prevents certain software from loading automatically or opening.

    From your Mac in safe mode does the following:

    * Check your startup disk and attempts to fix problems if necessary directory
    * Loads only required kernel extensions
    * Prevents the elements start and the login items open automatically
    * Disables installed user fonts
    * Delete font caches, hiding the kernel and other files of the system cache
    * Together, these changes can help resolve or isolate issues related to your startup disk.

    Follow these steps to start in safe mode.

    1. start or restart your Mac.
    2. as soon as you hear the startup tone, hold down the SHIFT key.
    3. release the SHIFT key when you see the Apple logo appears on the screen.

    After you delete data from the Web site in safe mode restart your Mac and allow it to start up as usual. Then test the issue again.

    Best regards.

  • MAC: can connect through the Skype Web site, but not through the Skype APP itself?

    I guess that the SAME password should work for the TWO the Skype Web site and the Skype APP. However, if the website sign - it works very well, the Skype APP has a msg: "Skype cannot connect." I'm using Version 6.3.0.602 on an iMac running the latest software of Yosemite. Solutions? What I am doing wrong? (P.S. I hear, there is a version 7 for Mac, but when I go to the site to download the "most recent" version, I get the above mentioned 6.3xxx.

    OK, I 'solved' myself. I downloaded a "dmg" on the site yesterday (7.2 v), but when I started to drag the 7.2 app in my apps folder, he "warned" in ERROR that I was running a later version on the computer. So, I did not install 7.2 yesterday.

    Today, I checked the version on the computer 6.3xxx vs the downloaded 7.2, and of course the 7.2 has been later. Ignore the message warning and dragged to the app folder and it logs how.

  • My machine works all the microsoft Web sites. I can access the site for a few minutes, after a while, it displays a virtual memory and the next stage i cannot access sites Ms.

    Could not open the MS Sites

    My machine works all the microsoft Web sites. Formatted several times and doing a new installation, I can access the site for a few minutes, after a while, it displays a virtual memory and the next stage i cannot access sites MS. no software or installed applications. cool, but I can not go to Sites Ms. other Web sites, I can access.  Also tried to change the memory... no luck, I've seen other sites asking to change the settings of the modem or dial the ISP, but my 2nd computer work well on the same network, took my computer to the office network and found that the same problem exists... could someone help me please...

    Hello

    Please let me know if:

    1. you are able to access other Web sites, or the question appear with only Microsoft based sites?

    All other websites work well. problem only in trying to gain access to www.microsoft.com

    2. What is the operating system that is installed?

    Windows XP Pro.

    3. are you aware of the physical RAM installed?

    1 GB

    4 and it meets the minimum requirements of the browser you are using?

    For the past 2 years my laptop works fine with the same hardware configuration. It stops working suddenly MS websites. I did not have all the hardware changes.

    Provide answers to the following questions.

    a. also mention the name of the operating system that you use.

    Windows XP Pro

    (b) is there an error message that is displayed when the site no longer works?

    trying to access the page from www.microsoft.com when rises, it is 'Impossible to view the Page.

    c. What is the browser you are using?

    Tried it on IE, mozilla and chrome.

    I tried to change the size of the memory virtual and also changed to the size of the managed system.

    formatted and installed xp pro with sp3 and I also tried formatting and install from different cd with xp and sp2. It works for 3 or 4 minute MS sites and the message immedly appears low virtual memory and it stops working MS sites.

    tried to change the physical memory.

    Tried with different browsers.

    at the top does not a little luck. :(

    Method 1: Please visit the following link to change the size of virtual memory

    Change the size of virtual memory

    http://Windows.Microsoft.com/en-us/Windows-Vista/change-the-size-of-virtual-memory

    Method 2:

    See the following links

    http://support.Microsoft.com/kb/967897

    WARNING: Reset Internet Explorer settings can reset security settings or privacy settings that you have added to the list of Trusted Sites. Reset the Internet Explorer settings can also reset parental control settings. We recommend that you note these sites before you use the reset Internet Explorer settings

    http://support.Microsoft.com/kb/972034

  • After format and install Win XP Home and SP3 why can't open the Microsoft web sites?

    Need help, guys

    I had to replace my HARD drive in my computer. I installed my Windows XP Home SP2 disc. After installation, I used my SP3 upgrade drive and my drive to upgrade to IE8. After you install all my drivers, I tried to get Windows dates and discovered that I could not access the Microsoft web sites. I get Internet Explorer cannot display this page. I tried to find out why this is happening and how to correct the situation, but have not found an answer that works yet. Can someone give me an answer to this question.

    I have another (used) computer that I formatted the HDD installed and on Windows 7 and have had no problems to access the Microsoft web sites on. It uses the same modem cable like the other computer so I guess that everything is ok with my Internet connection. This problem seems to be only with Windows XP Home SP 3.

    Think in advance for any help

    Btk (billy the kid)

    Please do not share in the whole "BOLD". Which makes it hard to read!

    Please check that SP3 is installed:
    Start | Run
    Type:
    winver
    Press OK.
    Also, tell us what you mean by "trying to get Windows dates" since there are two ways to do this!

Maybe you are looking for

  • What happened to my iTunes Explorer?

    I have a new macbook air, trying to use my familiar iTunes Setup, but there seems to be no way to have my information is displayed on my Explorer as I did because they invented iTunes. where at - it go?

  • Satellite M70 - button of Intermittent gluing

    I have a Satellite M70-169 and the * button control * out of nowhere part starts to act as if it is pressed permanently, what happens at random and may persist even after you restart the laptop, it happens also during the HDD password screen * before

  • RUNDLL error loading C:\Users\Gail\AppData\Local\Temp\fontftp.dll the specified module could not be found

    This message appeared on start up after I installed my new printer. How can I get rid of him? Thank you You have problems with programs Error messages Recent changes to your computer What you have already tried to solve the problem

  • ApplicationDescriptor and program entry points

    Hi all I'm working on a program that has auto-calendrier itself for future execution. I thought that the method ApplicationManager.getApplicationManager () .scheduleApplication () can be used to achieve the functionality. However, one question remain

  • Confusing "Your Apps"

    On the 'Your applications' page of the store, there is a drop-down list with three choices: All applications Apps not installed on this PC Applications installed on It seems that all Apps should be the combination of the other two. All Apps is instal