The mysql extension is obsolete [was: phpmyadmin]

I am creating databases for my site now I need to communicate with them, which is pretty easy actually, or so I thought.

I created a page of comment I used a page of my model and I saved it as a php page now, I went to connect to my database and all code that has been on the page appears at the top when I saw in the browser, as you can see

help.png

now I have to create an index.php page where everything needs to connect too or am I missing something as usual thank you.

Merry Christmas to all

scottishriver wrote:

Ye I thought it was out of date when I googled all comments were 10 years ago I should not put a "comments" in thanks

MySQL has been replaced by mysql (i) - (improved)

You should use to connect and query your database.

This series of tutorials should help:

PHP and MySQL with MySQLi: Introduction (part 1/9) - YouTube

Tags: Dreamweaver

Similar Questions

  • Obsolete: mysql_pconnect(): the mysql extension is deprecated and will be removed in the future: instead, use mysqli or PDO

    Hello I'm doing a site for my work and try to connect to a database from dreamweaver (Via WAMP) - I did it successfully before when you do a 'test' site, but now, when I do the same as I have the last time (after the update DW and WAMP) I now get an error message when I F12 (Preview in browser) my results.php page. (see image below):

    error.jpg

    I tried to find a solution on google, but didn't find any that help me if I use WAMP with Dreamweaver. I see maybe I need to change the code in the config.inc.php file, or paste the code somewhere below, but for the life of me I can't work on which file I am supposed to copy this code in to and where? I tried to copy it in the upper part of the config.inc.php file, but the error remains.

    <? PHP

    error_reporting(E_ALL ^ E_DEPRECATED);



    Anyone know how to make the error go away please?

    Thank you

    Sara

    Sara.Reese wrote:

    Ok thank you. Don't suppose you know how to do the error to go away in the meantime although do you? I do not see! ESP when she shows the boss when I spotted it

    Try:

    error_reporting(0); // Turn off all error reporting
    ?>

  • The Adobe Extension Builder 3 works to run a project in Photoshop CC2015.5 without getting "the extension could not be loaded because it was not properly signed.

    Hello world

    The Adobe Extension Builder 3 works to run a project in Photoshop CC2015.5 without getting "the extension could not be loaded because it was not properly signed"?

    OR

    Is there a way to convert my panels that works perfectly in CC2015 up to the CC2015.5version?

    I hope someone can give a solution, because everything that I could find were unanswered questions.

    Thank you all for your generous contribution

    Stone

    You have set the indicator of debugging for 2015.5 CC: HTML Panel advice #21: Photoshop CC 2015.5 survival guide | Photoshop, etc ?

  • Where the complaint on the Firefox extension that are harmful to my Web site?

    Hello

    I received feedback from my customers that they were no more able to access some of my sites because of a third-party extension they've installed.

    Note: I have installed this extension and have confirmed that the malicious activity was true.

    Where the complaint about the Firefox extension with malicious intent?

    Concerning

    Hello, if the addon is hosted at addons.mozilla.org, please use the contact under 'Concerns editorial' option described in https://developer.mozilla.org/Add-ons/AMO/Policy/Contact

  • iMovie 10.1.2 today (June 4, 2016), all of a sudden will not let me create a new project/film.  1. I have used the program extensively in recent weeks, many small travel films. 2. once in the projects, if create a new movie and the sign is checked, the op

    1. I have used the program extensively in recent weeks, many small travel films.

    2. when in the projects, if you click on create a new movie and sign, the new movie and trailer options opens successfully.

    3. click on film, nothing goes very well but open trailer.

    4. the issue seems to be the only new film/project.

    5. I can access all my other movies and run successful projects and theatre.

    6. I tried through a previous project and clicking new project from the menu, but still nothing.

    7 mac is 27 "OS X El Capitan, Version free 10.11.5, with 327 GB to 999 GB

    iMovie is 10.1.2

    8. the computer itself did not fall down and as FAS as I know, all other programs work correctly.

    9. I rebooted several times, but that has not solved the problem.

    10A does anyone else have this problem? If so, how do fix you it?

    Thanks much for any help!

    Have you ever tried to delete the iMovie preferences?  If the elements of the user interface do not, deleting preferences frequently you contribute.

    To delete the iMovie preferences leaving iMovie, runs, and then press and hold options and command key at the same time, at the launch of iMovie. Keep now pressed the buttons firmly until you see a command prompt to remove the preference. Confirm.

    Before you do, take note of all the settings that you made in iMovie preferences panel, so you can put back them later. iMovie will then begin with the Welcome screen.

    When I had a similar problem, the only thing that helped was to create an iMovie library.  Probably a corrupted in the iMovie project current library prevented the creation.   The problem persists, if you test different library in iMovie? You can create a library for testing.

    http://help.Apple.com/iMovie/Mac/10.1/#/mov3fa25bae7

  • My Fire Fox download video in support not detected on you tube. It is always shows only the first video that i was downloaded.pls help

    My Fire Fox download video in support not detected on you tube. It is always shows only the first video that i was downloaded.pls help

    I don't think there is much you can do about it outside the use of workaround to reload the page until this problem is corrected.

    There is this bug on this problem:

    I don't know if other extensions download suffer from this issue, as well, so you can try a little more try the website of the add-on and if possible use a different format like WebM, if they are available.

    Also note that not all videos are downloaded and registered correctly. Some may have a size of 0 bytes and fail to download, so, best is to check in downloads of the toolbar Manager in the drop-down list to make sure that the file size is correct (i.e. neither 0 bytes, but a more likely size).

    YouTube streaming makes changes to the code and the way its web pages work, so extensions can fail at any time.

  • get a HTM document to open up the place on which it was last closed

    When I opened a HTM document that I recorded on my pc, it opens at the beginning of the document. Is it possible to tell Firefox to open the document in the place on which it was last closed?

    Maybe this extension:

  • The markup extension does not work in the mail. It works fine in the preview.

    iMac, OS X 10.10.5...

    I tried and tried to mark an image in an e-mail message, that I'm composing. I have tried both a new message and a reply. I tried it with PNG, GIF, and PDF image files attached to the message. I found the suggestion of Apple to run "lsregister - kill - seeds" and did, my user account and under sudo. He many .bundle, .appex and a couple of files .opplugin, but none of them was the markup. I made sure the markup has been enabled in system preferences > Extensions.

    The small icon of menu drop-down appears in the corner of an image when I wave the cursor over them, but clicking on "Markup" in the list does not cause nothing to take.

    When I try to call the markup extension, the following text is written in system.log...

    Apr 12 16:50:08 {host.domain} Pkd [4900]: activation pid = 41013 for plugin com.apple.Preview.Markup (1) 120F1A87-AA89-4963-BB88-502448673078 /Applications/Preview.app/Contents/PlugIns/Markup.appex

    Apr 12 16:50:08 {host.domain} secinitd [30716]: No. AppSandbox current cache.

    Apr 12 16:50:08 {host.domain} [45426] markup: plugin sdk "com.apple.ui - service" unregistered

    Apr 12 16:50:08 - last message repeated 1 time.

    Apr 12 16:50:08 {host} com.apple.xpc.launchd [1] (com.apple.ReportCrash [45427]): endpoint has been activated through legacy launch (3) API. Please go to XPC or bootstrap_check_in(): com.apple.ReportCrash

    Apr 12 16:50:09 {host} com.apple.xpc.launchd [1] (com.apple.Preview.Markup [45426]): Service came out because of the signal: invalid statement: 4

    Apr 12 16:50:09 {host.domain} Mail [41013]: plugin com.apple.Preview.Markup interrupted

    Apr 12 16:50:09 {host.domain} Mail [41013]: connection Hub Domain = NSCocoaErrorDomain Code error error 4097 = "could not connect with a helper." (connecting to the service named com.apple.Preview.Markup) UserInfo = 0x610001876f40 {NSDebugDescription = connection to the service named com.apple.Preview.Markup}

    Apr 12 16:50:09 {host.domain} Mail [41013]:-error: error [ShareKit]-[NSExtension beginExtensionRequestWithInputItems:completion: error domain = NSCocoaErrorDomain Code = 4097 "could not communicate with a helper application."] (connecting to the service named com.apple.Preview.Markup) UserInfo = 0x610001876f40 {NSDebugDescription = connection to the service named com.apple.Preview.Markup}

    Apr 12 16:50:09 {host.domain} ReportCrash [45427]: report of incidents recorded version 1.0 (1) [45426] markup to /Users/ {MyName} / Library/Logs/DiagnosticReports/Markup_2016-04-12-165009_ (host). Crash

    Apr 12 16:50:09 {host.domain} ReportCrash [45427]: Remove excessive log: file:///Users/{myname}/Library/Logs/DiagnosticReports/Markup_2016-04-12-141435_ {host} .crash

    Oh, I found a few clues and worked on my fix.

    Referring to the thread Sharing feature works not well, I used

    sudo ls-leOR "/ Volumes/Macintosh HD/System/Library/Caches".

    "to determine that I had not 'limited' flags troubling my Caches. So I jumped to Linc Davis' 9 and 10 steps (in response to 13:40 February 9, 2016) and

    sudo/usr/libexec/xpchelper - rebuild-cache

    sudo/usr/libexec/AppSandbox/app_sandbox_cache_builder - rebuild-cache

    and now the markup extension works in Mail.

  • Define the file extension (.jpeg)

    Hi people

    I did a VI where I capture images every time I hit a Boolean value and they are automatically saved in a card with the names 0,1,2,3,4,5,... but that is not important for my problem. I use the writing IMAQ file2.vi to write my file in the path of the file set. This .vi got the function to save the image, .jpeg, .bmp, .png,... I select the .jpeg extension, but when I go to the files they are presented like this (without the .jpeg extension).

    I guess there is a simple solution to add the .jpeg extension after the file name, but I can't find anything.

    In addition to this there is another thing that stands out from the .jpeg question.

    I take a lot of pictures from different angles of an object and also save them as in the example above. After I got all the pictures I want to trial, so I need to save the images as well as the angle. I know that in NI Vision calibration information can be saved in a .png file with the images, but I was wondering if this could also be done with your own information. If this is not possible, is there perhaps another solution to this?

    Kind regards

    Ruts

    To answer the second part of your question:

    Use IMAQ write Custom Data http://zone.ni.com/reference/en-XX/help/370281P-01/imaqvision/imaq_write_custom_data/

    and when you save the image use the option 'PNG with Vision Info' on IMAQ write file 2.

  • Change the file extension

    I use Windows XP Home Edition.  How do you change the file extension when the system cannot open the picture?  It was recorded as "All Files".

    Go to control panel, folder (in Classic view) options, go to the view tab and scroll down to find Hide extensions of known file types.  Uncheck the box and click on the file.  Rename the file and change the file extension.

  • How can I activate SimplePass now that Google has blocked the Chrome Extensions

    Recently, Chrome has been updated to block all the extensions that are not bought from their online store. My PC (a Pavilion dv6) came with HP SimplePass installed. I use it for all my online password management, but now it is blocked by the Chrome (my preferred browser).

    There are, apparently, a SimplePass extension available on the site of the shop online chrome, but he says that it will work only with SimplePass version 8. I have version6. The current owner of the SimplePass - Softexinc.com - indicates anything about getting the software updates.

    The combination of player SimplePass/ingerprint was part of the reason why I bought this particular PC in the first place. I'll be very disappointed if I never use it again. Please help me to re - activate this feature.

    Edited to add:

    OK, it's even worse. I found a download for SimplePass version 8. But there is no upgrade path. Features of import/export of the two versions are incompatible, there is no way to migrate all data from my login/password from the old to the new version. Please, HP, address any of these problems:

    -create a SimplePass upgrade to convert data from old formats

    -develop a Chrome extension that works with SimplePass v6 AND meets the requirements of Google to allow it to run

    -improve SimplePass 8 to be compatible with the (older) versions of SimplePass

    Hi all

    Thanks for posting on the HP Forums!

    I'll address the Chrome and extension of fingerprint reading question. I've solved the exact problem for a single user by following the steps in this thread: Chrome - policy disabled Simplepass extension

    Other suggestions include the use of SimplePass on Internet Explorer and FireFox. Although, if you want to try to get Chrome working again, you can try the steps that I have proposed.

    Here are the steps from the thread:

    1. uninstall your current version of HP SimplePass and install it (even if it is the same): HP SimplePass Identity Protection Software Version 6.0.100.276

    2. If it does not help: (it is more of a workaround than anything)

    (a) go to settings in Chrome. Search for the "Extensions" menu and click on "get more extensions".

    (b) in the Chrome Web Store, search for "SimplePass" and it should appear under the Extensions. Click on '+ free' to install it, then try to use it.

    3. you can try to reset the Chrome to default settings: reset the browser settings

    4 system restore, just because the time travel can be useful: System Restore

    5. try the steps in an Incognito window (Yes, I just suggested that). Incognito mode disables all extensions by default (at least it's supposed to). You can re-enable any extensions, including ones site connection.

    6. download and install an older version of Chrome, then try to get SimplePass and connection extensions Web site works: Old Version of Google Chrome

    If none of this helps, then I'll propose some complex measures. This requires working in Developer Mode.

    1 switch in Developer Mode via the Extensions menu.

    2. Note the ID of the extension (for example, jilhkcaiaaepfiajaebpkmhonmfgabhf)

    3. go in C: / / Users / / AppData/Local/Google/Chrome/User/Data/Default/Extensions- name of the user account -/- extension ID -1.8 (or another number, you have a different number)

    4 copy the path of the file.

    5. go back to the Menu Extension of Chrome and click «Load extension unpacked...» ». Paste or search the above path and press ENTER.

    6. the extension should now be re-created and active (or activate). You may have to restart the computer.

    These measures should be sufficient to solve the problem, according to what experimentation I've done. For reasons of this problem, let me know what happens after trying each step.

    I will continue to follow this thread, while playing with Chrome and SimplePass eventually discover more solutions. Please let me know your results. Thank you!

    Mario

  • Can not write in the MySQL table

    I could not write a record in the database table MySQL; tried many lines of PHP code without success so something must be missing.

    The lines above the statement if(!testErr) { -other tests of the data entry on the form and all works are correctly.}  If for any reason any test of fails entry, the $tester is set on ' t "and the user is returned to the form.

    Otherwise what follows must be executed.

    To check, I added the lines of $_SESSION upstairs to make sure that the reactive power ($taker and $purpose in the $sql = statement are met.)

    When the / * connection attempt sequence is performed and $_SESSION are not present, no data is written to the table.

    When the $_SESSION are included with the code writing table, the resultant 'success' header ('Location: '.) ("' inv_post.php"); this page from the mistakes (invalid index in $taker = $_SESSION ['takers'].)

    When the $_SESSION are executed but not the code writing, the page of success running the echo $taker and $purpose properly.

    Best regards and thank you as always.

    Tom Smith

    Here is my code.  if(!testErr) is located in the - If ($_SERVER ['REQUEST_METHOD'] == 'POST') {} -section of the code

    If (! $testErr) {}
    $_SESSION ['takers'] = $taker;
    $_SESSION ['purpose'] = $purpose;
    / * Attempt to connect to the MySQL server.
    $link = mysqli_connect("localhost","root","","112fielda_sitemgt");

    Check the connection
    if($Link === false) {}
    Die ("" ERROR: can not connect. ".") mysqli_connect_error());
    }

    Attempt to insert the running queries
    $sql = "INSERT INTO bev_inventories
    (bev_inv_id, bev_inv_taker, bev_inv_purpose)
    VALUES
    (null, $taker, $purpose) « ;
    If (mysqli_query ($link, $sql)) {}
    echo "Records added successfully.";
    } else {}
    echo "ERROR: could not able to run $sql.» mysqli_error ($Link);
    }

    Close connection
    mysqli_close ($Link);
    */

    Header ('Location: '.) ("' inv_post.php");
    }

    David:

    Accidentally solved the problem.  Reactive power ($taker and $purpose) need single quotation marks (') around them.

    Attempt to insert the running queries

    $sql = "INSERT INTO bev_inventories

    (bev_inv_id, bev_inv_taker, bev_inv_purpose)

    VALUES

    (null, "$taker", "$purpose") « ;

    I've never seen samples written in this way!

    (BTW, heard your response, but setting them I did was to be able to recall them in the success page so I know that they have not removed during the INSERT operation.)  )

    Kind regards

    Tom Smith

  • Cannot open the Adobe extensions even Manager after installation

    I downloaded and installed Adobe Dreamweaver CS6. As I was not able to find server behavior, bond and database options in the drop-down window, I tried to install Adobe Extension Manager CC in my Windows PC. After installation, I am not able to see them in Dreamweaver CS6. I was able to install the CC extensions Manager, but not able to open. Could someone help please?

    CC2015 no longer uses an Adobe Extension Manager of product. That you downloaded is not compatible with your version of DW, even if it is open, it wouldn't help.

    In CC2015, you must install the extensions via third party EM (not available through Adobe), use the creative cloud desktop application, or a command line installation process.

    DMX Zone has an EM you can enter: http://www.dmxzone.com/go/22670/dmxzone-extension-manager-for-dreamweaver/

  • Why is it not first Pro CC 2015, recognized in the CC extensions Manager

    My ultimate goal was to get the connector of the plural eyes to Premiere Pro CC 2015.

    Once I started to do it, I made sure everything has been updated and to use the latest versions of eyes of the plural and PPCC15. However, I came across a problem that I was using CS6 Adobe Extension Manager. After downloading the CC version, none of the CC15 applications have been listed (or recognized) in the new extension manager. So, I went to install the "connector" for plural eyes, it would recognize that applications CC15 I could use with it hope. Well, the extensions Manager gave me an error stating that I needed to "..". run the manifest.xml of this extension is valid and the extension manager recognizes at least a product that supports the extension. »

    Can someone help me with this issue please?

    Thank you!

    Hi Stephanie

    If you have only CC 2015 Adobe Apps installed then it is the behavior whereas the extension manager will see that these applications are installed. Please do not rely on the extension manager for installation wherever possible because development has stopped. It is possible he will go get a few Apps 2015 CC, but it should not be invoked. Please see the post of Gregor Fraser on 14 July on why it happens sometimes: Photoshop CC2015 are not that may explain why you see different behaviours on different computers.

    Kind regards

    Krystal

  • Air for Android 16.0 - cannot use the native extension that include android-support-v4 - ClassNotFoundException

    Hello

    This is my first question here, and I really need help on this problem. We are been struggling for a few days on the following error message: C

    05-12 17:35:29.321: E/AndroidRuntime (26531): FATAL error: IntentService [MCGcmIntentService]

    05-12 17:35:29.321: E/AndroidRuntime (26531): process: air.com.mooncat.androidTest, PID: 26531

    05-12 17:35:29.321: E/AndroidRuntime (26531): java.lang.NoClassDefFoundError: doesn't have a resolution of: generator Landroid/support/v4/app/NotificationCompat$;

    05-12 17:35:29.321: E/AndroidRuntime (26531): to com.mooncat.MCGooglePlayServices.MCGcmIntentService.sendNotification (MCGcmIntentService.j ava: 92)

    05-12 17:35:29.321: E/AndroidRuntime (26531): to com.mooncat.MCGooglePlayServices.MCGcmIntentService.onHandleIntent (MCGcmIntentService.jav one: 48)

    05-12 17:35:29.321: E/AndroidRuntime (26531): to android.app.IntentService$ ServiceHandler.handleMessage (IntentService.java:65)

    05-12 17:35:29.321: E/AndroidRuntime (26531): at android.os.Handler.dispatchMessage(Handler.java:102)

    05-12 17:35:29.321: E/AndroidRuntime (26531): at android.os.Looper.loop(Looper.java:145)

    05-12 17:35:29.321: E/AndroidRuntime (26531): at android.os.HandlerThread.run(HandlerThread.java:61)

    05-12 17:35:29.321: E/AndroidRuntime (26531): caused by: java.lang.ClassNotFoundException: did not find class ' android.support.v4.app.NotificationCompat$ Builder " on the path: DexPathList [[zip file ' /data/app/air.com.mooncat.androidTest-1/base.apk"],nativeLibraryDirectories=[/data/app/a ir.com.mooncat.androidTest-1/lib/arm, / vendor/lib, / system/lib ']]

    05-12 17:35:29.321: E/AndroidRuntime (26531): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)

    05-12 17:35:29.321: E/AndroidRuntime (26531): at java.lang.ClassLoader.loadClass(ClassLoader.java:511)

    05-12 17:35:29.321: E/AndroidRuntime (26531): at java.lang.ClassLoader.loadClass(ClassLoader.java:469)

    05-12 17:35:29.321: E/AndroidRuntime (26531):... 6 more

    05-12 17:35:29.321: E/AndroidRuntime (26531): deleted: java.lang.ClassNotFoundException: android.support.v4.app.NotificationCompat$ Builder

    05-12 17:35:29.321: E/AndroidRuntime (26531): at java.lang.Class.classForName (Native Method)

    05-12 17:35:29.321: E/AndroidRuntime (26531): at java.lang.BootClassLoader.findClass(ClassLoader.java:781)

    05-12 17:35:29.321: E/AndroidRuntime (26531): at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)

    05-12 17:35:29.321: E/AndroidRuntime (26531): at java.lang.ClassLoader.loadClass(ClassLoader.java:504)

    05-12 17:35:29.321: E/AndroidRuntime (26531):... 7 more

    05-12 17:35:29.321: E/AndroidRuntime (26531): caused by: java.lang.NoClassDefFoundError: class not found using the charger to start class; no batteries available

    My Native Extension use Google Services play and rely on support android v4. Google services functions perfectly works play (for example: I am able to save the token with the google cloud features).

    I've seen this problem in another thread in github and seems that they solve it, but it does not fit my case. It's like in the publication of flash support android v4 is "removed". I say this because I tried to decompile the generated apk and I discovered that sources exist (like com / / thing, com, google, android, gms /...) BUT not the android/support/v4 /... On the contrary, seems that the apk build contains only the android/support/v7/appcompat/R.java (.java because is decompiled). In the .ane file, I have the Android - support.v4.jar and also the contents of platform.xml to/META-INF/ANE/Android-ARM. In the platform.xml I have this:

    <? XML version = "1.0" encoding = "utf-8"? >

    " < platform xmlns =" http://ns.Adobe.com/air/extension/4.0 ">

    < packagedDependencies >

    < packagedDependency >android-support - v4.jar< / packagedDependency >

    < packagedDependency >google-game - services.jar< / packagedDependency >

    < / packagedDependencies >

    < packagedResources >

    < packagedResource >

    com.Google.Android.GMS < packageName > < / packageName >

    < folder_name > google-game-services-res < / FolderName >

    < / packagedResource >

    < / packagedResources >

    < / platform >


    In the eclipse project, I tried to register the library of v4 support in all possible ways, such as addiction, external jar, or kept as a defult library in the libs folder. Nothing works...


    I really can't understand hot to fix this crazy...

    I just discover the problem... just crazy!

    It was caused by the version of android.support.v4.jar. I did a test now, for some reason any magic, using one I had before (I got it, in Eclipse, with a right click on the library project, Android tools > add Media Library, it was not recognized). Then, I tried with the other two different versions of android.support.v4.jar, and this solved the problem as if by magic! Just to say, using the method add the support library, the size of the file android.support.v4 was 1.2 MB, the other two versions were respectively 759 KB and 628 kb, according to their version. I expected that this library has been correctly added by eclipse, also relying on the target of androd in the project.properties, but does not appear. Hope this might help someone.

    PS: like all the other thread suggest, don't forget that the android.support.v4.jar is included in your DONKEY file, and the platform.xml explicitly declare it as .

Maybe you are looking for