Is it possible to display a pop-up for 1 time when the recordset is not null

I heard that it is difficult to pass the PHP variables in javascript, as I can't possibly write javascript in php tags.

The pseudo-code is like this:

If the recordset of the query is not null, then popup a window, to get the results of the recordset object.

The code looks something like this, but I know it is not possible to put js(in bold) in the php. The idea is sort of like this:

<? PHP

......

$today = date("Y-m-d"); today's date

@mysql_select_db ($database_myconnection2, $myconnection2);

$query_Recordset5 = sprintf ("" SELECT * FROM temp WHERE the dev_expdate < %s ", GetSQLValueString ($today,"text")");

$Recordset5 = mysql_query ($query_Recordset5, $myconnection2) or die (mysql_error ());

$row_Recordset5 = mysql_fetch_assoc ($Recordset5);

$totalRows_Recordset5 = mysql_num_rows ($Recordset5);


< script type = "text/javascript" >

If ($row_Recordset5! = Null)

{window.open ();


}

< /script >

? >

<>

......

$today = date("Y-m-d"); today's date

@mysql_select_db ($database_myconnection2, $myconnection2);

$query_Recordset5 = sprintf ("SELECT * FROM temp WHERE dev_expdate")< %s"="" ,getsqlvaluestring($today,="">

$Recordset5 = mysql_query ($query_Recordset5, $myconnection2) or die (mysql_error ());

$row_Recordset5 = mysql_fetch_assoc ($Recordset5);

$totalRows_Recordset5 = mysql_num_rows ($Recordset5);

f I($row_Recordset5! = "") {? >}

Tags: Dreamweaver

Similar Questions

  • Display an empty table row of data when the data is not present

    Hello

    Can u please tell me How to display a row of data empty table when the data is not present?

    in my case the column header appears as the code below.

    <? If: SD_Type_Data_ID3 = 'KH '? > <? If: SD_SpecialHandlingCode_SPHD_ID17 = 'H '? > <? for each: Supplemental_Data_S17? > <? end if? >

    can u pls help me.

    Thanks and greetings

    Sylvie Kumar

    You can insert a fictitious line. Have an if condition in it, to show only when condition does not satisfy.

  • Display a personal message for a report when the number of records returned.

    Our application has a page that displays the results of several SQL statements which are defined as reports. A report should in particular only to display a custom message when the County of invoices with status individual > 0 and not the exact time charged count himself. I got the layout to not display the meter, but I have to be able to display a personalized message that says ' problem invoices exist.» See report of bills, for more information please". I looked on the report attributes definition page but I can't find how to show this custom message. Any tips?

    Simply create a text on the page element. Make read only and put your message in the default value.
    Now put a condition on this point, to display only when required.

    Gus

  • How to stop the pop-up for saving files when I start the computer?

    I was going to save files on a drive of DVD-CD-R, but I decided to do not, how can I stop the pop-up for saving files when I start the computer? It keeps appearing even though I cancelled check?

    * original title - cancel recording of dvd/cd-rw *.

    Hello

    Windows displays a temporary storage area where files are held before they are copied to the CD. Files or folders located in the temporary storage area are listed under files ready to be written on the CD.

    Try the steps and check them off below if it helps:

    a. double-click my computer and then double-click the CD burner.

    b. under CD writing tasks, click on delete temporary files.

    When you delete the contents of the temporary storage area, you can set this field to another set of files and folders that you want to copy to the CD. The files are not deleted from their location on your computer or on the CD.

  • I recently buy iPhone 6 s he'S / has and unfortunately the glass of my phone was broken, is it possible to change a new and that I should pay the penalty or not? Can you help me solve this problem? Thank you

    I recently buy iPhone 6 s he'S / has and unfortunately the glass of my phone was broken, is it possible to change a new and that I should pay the penalty or not? Can you help me solve this problem? Thank you

    See http://www.apple.com/support/iphone/repair/screen-damage/.

  • How can I click apply when switching back resolution lower when the window does not display the Apply button when

    How can I click apply when lower resolution when the window does not display the button apply because the resolution is too low

    Hello

    Try pressing the ENTER key on the keyboard instead.

    See you soon.

  • Manager Microsoft Access in the auditing keeps popping up for a password when I try to access any program - how to turn off this feature - where is it located?

    Manager Microsoft Access in the auditing keeps popping up for a password when I try to access any program - how to turn off this feature - where is it located?

    Hi Peggy Gore,.

    Welcome to Windows Vista answers Forums!

    Access Manager is a tool to control the types of content that your computer can access on the Internet. After Content Advisor activated, we can consider only rated content that meets or exceeds your criteria. You can adjust the settings according to your preferences.

    If you have set a password and you have forgotten your password, you may need to contact Microsoft Customer service to reset the password.

    For more information, please see the following links to Access Manager:

    Internet Explorer Content Advisor: Frequently asked questions.

    http://Windows.Microsoft.com/en-us/Windows-Vista/Internet-Explorer-Content-Advisor-frequently-asked-questions

    Using Content Advisor to block inappropriate web content.

    http://Windows.Microsoft.com/en-us/Windows-Vista/using-Content-Advisor-to-help-block-inappropriate-Web-content

    Hope this information is useful.

    Jeremy K

    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Display text after an interval of time on the timeline

    Hi all

    I have an audio file on a drag and drop quiz. I want to display a text caption a few seconds after the end of the audio, I noticed that 'something' is a break from the game header before either for text captions. Is it possible that I have that works on a quiz slide / move.

    Thank you!

    Will try with an image. You do not change the point of suspension of the D & D, which is located at 1.5secs. For this reason only the audio never played before that the user has submitted the D & D. There is not need to slide that long either. I created this for you, and it works perfectly. Text with audio 2secs, I changed the suspension point of the D & D at 4secs. It's not because of me that the point of suspension does not appear in the timeline panel, I very much regret and recorded a feature request to make it visible.

  • Display shuts off and comes back only when the Satellite A210 is restarted

    Hello

    Satellite A210 display goes off in time and returns only when the computer is restarted.
    Duration usual DURATION 30 or 45 minutes

    Please advice
    # Is it a hardware or software problem?
    # Some other face same problem brings advice?

    The machine is a year and a half old runs windows vista Basic that comes with it.

    I reinstalled the drivers card display also the problem remains same

    Hello

    Have you tried an external monitor on the laptop?
    If the external monitor works fine, it seems to be a problem of internal display and must be replaced.

    You use the factory settings on your laptop computer or you have installed your own version of Windows? Before turning to an authorized service provider, you need to restore factory settings to determine if it s a hardware or software problem. With the factory settings, everything should work fine and if not, I think it s a hardware problem.

    Check this box!

  • How can I change the video display Mode when the monitor mode not supported?

    While creating my new monitor, I changed the computer video display mode at 120 Hz by accident.  Now I see something on the monitor other than the words not taken in CHARGE the MODE.

    My system is a new HP Pavilion p7-1423W running Windows 8.1 with Intel i5-2320 3 ghz

    I tried the start mode by pressing ESC on power but do not help the startup options.  And the just F11 menu option makes the startup screen disapear and puts the monitor mode not supported.  Tapping F8 doen't work and tapping F12 just puts me in the bios menus that do not help.

    How can I upgrade the video card integrated with a video mode that is supported when I can't see the screen?

    I answer my own question because I found my solution, thanks to my grandson (freshman to Renselear Politech).

    I shoot to buy a monitor that displays a refresh rate of 120, so I could put my rear view.

    Here is the solution.

    My computer double exit DVI.  My grandson told me to connect my new monitor to the other output because the output does not get touched when I changed the original mode of production.  He has worked and is automatically selects the default monitors mode.  Then I've reconfigured the original output using the integrated display software. Solved!

  • My out going to send show a slow time - when the I send email it displays the correct time

    Hello

    I have a vista home Prieum system... .the problem is that email when time which is recorded on the email before it is sent a slow time... shows when the e-mail is received, it displays the correct time... How can I recrify it, you can

    Jeff Matthews

    Hi Jeff Matthews.

    Thanks for posting in the Microsoft Community.

    I understand that outgoing emails are incorrect time, he would be grateful if you could answer this question more answering the question.

    1. this happens with a specific e-mail program?

    2. are you faced with the question of the webmail like Hotmail or Yahoo, or with any client e-mail like Outlook?

    3. have you made a recent software or hardware changes to the system?

    It seems that you have to change some settings in the email program itself to change the time.

    You must get in touch with the email service provider for assistance.

    If you use Hotmail or Outlook, you can post your query in Windows Live or Office Outlook Forum to get help.

    If please reply and let us know if you need help to solve the problem and we will be happy to help you.

  • How can I choose the image that will appear as 'image of departure', the one that is displayed when the video has not yet been clicked.

    Hello, I would like to know How to Choose the video image which will be appear in the form " ", "boot image", that image that appears when the video has no was clicked yetThe image all can see before viewing the video.
    Thank you, Pedro Paulo

    You can change the image poster of clips in the icon view. By default, the first image of a clip appears in the thumbnail viewer and in other places in the Bill where the thumbnail is displayed. You can override the default thumbnail by designating any clip image as a poster frame.

    To set a poster frame for the icon, drag the playback slider or shuttle to the desired image and press the keys command + P (Mac OS) or SHIFT + p (Windows).

  • Is it possible to display a question answered for the last 6 months?

    I need to see if anyone has had the same problems I encounter.

    Thanks for any help

    BY

    This page allows some options of different filter: https://forums.adobe.com/community/character-animator/content

    It worked for me: character animator

  • BlackBerry Smartphones Blackberry Media Sync continues to display 'Please connect a Blackberry smart phone' when the Blackberry Storm is connected to the PC

    About a 2 months ago when I would like to connect my (the first storm) blackberry storm to my computer via the USB cable supplied with the phone, I was able to transfer music from my computer (itunes) to the blackberry via Blackberry Media Sync with no problems (open Blackberry Media Sync, connect blackberry to the computer via the USB port and screen Media Sync would change so that I could sync to the blackberry storm music). I didn't even have to install Blackberry Media Sync in December 2009

    But now after I connect my Blackberry Storm to my computer, the screen of Blackberry Media Sync does not change and continues to display "please connect a Blackberry smartphone. I tried these tips I found online:

    1.) several reboots my computer (windows vista)

    2.) update/reinstall Blackberry Media Sync, then by restarting my computer

    3.) reconnection from blackberry to the computer, then open Media Sync

    4.) Open Media Sync first and then connect the blackberry to the computer.

    5.) installation BlackBerry USB and Modem drivers (even if I can't find the USB driver for it under the Universal Serial Bus Controller when I check in the Device Manager when you go to control panel – system and Maintenance – Manager of devices, but I found a v2 COM4 and COM5 RIM virtual serial Port when you select "devices by connection" under display in Device Manager) or are RIM Serial Port virtual v2 COM4 and COM5 drivers I'm looking for?

    6.) go to Options (on blackberry) - memory and make sure Media Card Support, Media Transfer Protocol (MTO) and Mass Storage Mode Support are resolved on 'On', the encryption Mode is set to 'None' and mass storage Mode Auto activate when connected, it the value "Prompt" although I tried to 'Yes' as well. It says I have 785 MB of memory space of the unit out of 879 MB total memory of the device and 7.1 GB of free space on a total of 7.3 GB of Media Card Media Card.

    None of the above tips and troubleshooting tips worked. I also checked the Blackberry technical solution center but I've not found anything there that has contributed to the other. I found discussions forums online, including issues of people with 'blackberry media sync cannot connect to the device' pop up, but I have not had this pop-up. The Media Sync screen remains just the same as if I never connected the blackberry storm to my computer in the first place even if my blackberry storm recharges via the computer.

    Is there something that I miss or have not yet done? What should I do?

    Too bad. I went to a Verizon store and they me remove the battery and turn the blackberry. Worked like a charm and I can now use Media Sync.

    Also told me that I need to update the software of the phone blackberry using Blackberry Desktop software (I have version 4 and need to update to 5) and make sure to choose to back up files when you are prompted during the update or you will lose all files, the media and info saved on blackberry.

  • -Pop-up UAC every time when opening Windows Live Mail

    Original title: Why UAC continues to appear whenever I open Windows Live Mail? Even after I uninstall and install again and again. And other problems...

    Everytime I open Windows Live mail, the box of the UAC appears, asking me if I want this program to make changes... I uninstalled, installed and repaired several times according to the guidelines of this forum, but it continues to happen.

    Also, when I delete messages, it removes the 2 at the same time? It opens also 2 boxes of response when I reply to an e-mail message.

    Not a fan of Live mail.

    Salute TarHeel,

    I understand that it must be frustrating, but rest assured, we're here to help solve your problem and guide you in the right direction.

    Before I continue with the troubleshooting steps I may need a few more details to better understand the issue.
    1. you open Windows Live Mail from one account administrator or Standard?
    2. do you get this pop-up only when using Windows Live Mail?
    3. did you of recent changes on the computer before this problem?

    Method 1:
    I suggest you run Windows Live Essentials as administrator and check if it helps.

    (a) click Start and click run.
    (b) type Windows Live Essentials in Search.
    (c) right click on Windows Live Essentials and click Properties.
    (d) click the Compatibility tab.
    (e) to the check box for run this program as an administrator under the privilege level.
    (f) click apply and Ok.
    (g) check whether the problem is resolved.

    Method 2:
    If the problem persists I suggest you turn off user account control and check if it helps.

    Note: User Account Control (UAC) can help you to prevent your computer from unauthorized changes. It works by asking permission when a task requires administrative rights, such as installing software or changing settings affecting other users. We do not recommend disable user account control. If you turn it off, you must reactivate as soon as possible.

    Do get back to us and let us know the State of the question in the case where you need further help or your next post. We, at tender Microsoft to excellence.

Maybe you are looking for

  • TB31 freezes when I start addressing

    I'm tired of guests to update and updated TB31 17. Under XPpro SP3. Now, when I start typing the first letter in the TO: address field, TB freezes for 1-2 minutes. I'm stuck on the first letter I type each time. If I reboot, this clears the problem f

  • How to move the 'home' icon in 3.6.18 FF of the right end of the search bar?

    I just upgraded to FF 3.6.18 and so far have had no major problems, however I notice that the 'Home' icon has been move from the original location (to the immediate right of the ' front/rear button) at the extreme right of the search bar. How to move

  • Satellite C850 - 19(d) - hiss and not start

    Hello I have a Satellite C850 - 19(d) I will not start, unless I have the battery and reset the bios everytime, as when he turns there is a constant hissing noise that even disable the speakers will not stop. I tried to update the bios, but its runni

  • Error 1606 could access the network location

    Zac,I have exactly the same problem and it appears so when I tried to install the student version of Microsoft Office and update Java and updated vesion of Adobe.  I found the Article ID: 886549 on the Microsoft Support site, but it was confusing.  I

  • RDP connection client for Cisco VPN Windows machine

    Hello I am a linux user and because the cisco client is not available for Linux (Kernel 2.6.34 >) my company has installed a machine VMWare Windows7 so I can install the VPN client of our client of my company. For sure, I don't want to use the Window