Vote count: 0 So before someone tells me my server's PHP is not ruing, it is. When I make a .php that is just Hello World "; ?> it works fine. However, when I use my code to construct this table... I literally get no HTML on my page source. What's going on?? bd = mysqli_coect($mysql_hostname, $mysql_user, $mysql_password, $mysql_database); if (!$db) { echo "Error: Unable to coect to MySQL." . PHP_EOL; echo "Debugging ero: " . mysqli_coect_ero() . PHP_EOL; echo "Debugging error: " . mysqli_coect_...
ادامه مطلبVote count: 0 I am using MVC Entity framework i have generated code i have fields Isactive this fields have values true or false . code looks like controller: [HttpPost] [ValidateAntiForgeryToken] public ActionResult Edit([Bind(Include="ClientId,ClientName,PrimaryContactName,EmailId,PrimaryContact,IsActive,ModifiedBy,ParentCompany")] TP_IntealClients tP_IntealClients) { if (ModelState.IsValid) { db.Entry(tP_IntealClients).State = EntityState.Modified; db.SaveChanges(); retu RedirectToAction("Ind...
ادامه مطلبVote count: 0 I am a begier programmer and I am trying to figure out how the x-editable fields work before I can attempt to implement them in a website. I've seen a couple of examples around the web and even on here but the solutions I've found haven't worked for me. I have an index.php file with a test page that presents two sample fields (text and drop down selector). I was able to get data from a specific table row to show up in the fields. Here's my index.php code. Country: I reference a coe...
ادامه مطلبVote count: 0 For historical reasons Heroku is where are reporting database is located, which is a direct copy of production from Linode. I currently run commands locally every day to copy the Linode database from Linode server to local drive and then push it to Heroku. I need to automate this somehow so it runs 'somewhere' every day - but where? I know about cron jobs etc and also that you can run workers on Heroku, but I really don't know what is the best/recommended way to go about this and w...
ادامه مطلبVote count: 0 Is there a way to integrate the Firebase real time database with the newly introduced Firebase Cloud Messaging services ?I am building an app which uses the the Firebase realtime database for storing data. I want to notify my users using push notifications for every new insert in the database. I am came across tutorials which teach you how to use FCM, but most of them require you to set up your own server for storing tokens. Is there a serverless way of integrating Firebase DB with...
ادامه مطلبVote count: 0 Type of date : datetime2 INSERT INTO Event_test (date,Object,ASDU,IOA) VALUES(10/07/2016 12:00:00.523, TMC1DEFCAL, 65, 408) Syntax error near '12' asked 27 secs agoAhmed Aekbj Let's block ads!...
ادامه مطلبVote count: 0 i am trying to store form data into database through angularjs but it is not storing into database, don't know what i am doing wrong? my html form -- Select Activity Type -- Ruing Walking Cycling my angularjs controller app.controller("NewChallengesController", ["$http", "$scope", "authenticationSvc", function ($http, $scope, authenticationSvc) { //alert("hello, inside New Challenge Controller"); var token = authenticationSvc.getUserInfo(); var config = { headers: { 'h5cAuthToken':...
ادامه مطلبVote count: 0 I have a ruing database for web application, and we are ready with mobile apps. Now I have to create a secure api that coects my mobile apps with my existing database and transfer data between them. I am totally new in this concept and require a guidance in the right direction about how to implement same and what necessary things should I consider for this. Thanks asked 23 secs agoMuzammil Shaikh Let's block ads!...
ادامه مطلبVote count: 0 We have a couple of checkpoint firewalls which are showing the below log: Error reading database request Hardware:UTM-1 1073 Platform:R77.20 What could be causing this?? asked 40 secs agoCR_7 Let's block ads!...
ادامه مطلبVote count: 0 Is there any direct way within the Azure MSSQL ecosystem to export SQL retued data set into the Azure table storage ? Something like BCP but with the Table Storage coection string on the -Output end? asked 27 secs agoMilan Let's block ads!...
ادامه مطلبVote count: 0 i cant really figure out this problem , lets say that on the page there is a form with one input in it , if you submit the form then the text that you save will be sent to the database and stored now , i would like to get user location: Longtitude Latitude whenever he submits the form , now i found that its better to get the location using Javascript and then send it to the server using AJAX so basicaly when i submit the form the text of input is stored in the database and , i mark...
ادامه مطلبVote count: 0 I have an excel file that contains some records and that records refresh with in a second.I want to store all records in SQL Server Database.So My intention is to read data from this file into my database after every 500 milliseconds. I have successfully been able to read the data and store in my database.But after few minute excel become hung and not responding state.Please help me. Thanks. Excel._Application excel = (Excel._Application)System.Runtime.InteropServices.Marshal.GetAc...
ادامه مطلبVote count: 0 I am completely new to wordpress development. I have a website in WordPress. I want to send the data from my database table to an android app. I am confused about how to make the api from wordpress so that I can call the api link from my android app to get the data in json format. I need someone's help badly! asked 25 secs agosa'ad bashar Let's block ads!...
ادامه مطلبVote count: 0 I Am trying to implement swipe to refresh in my app. When swipe to refresh is triggered first all the data is fetched from JSON and than store in database. after storing the data all the new data will be added to top of the recyclerview. I read few articles and only get the detail about adding only one item at the top of the list. But in the case of my app more than one items may be available to show then what should I do ? I am adding my codding part. Here is my code for database ...
ادامه مطلبVote count: 0 On my page I'm rendering panel with 6 categories. The categories come from api call: var getCategories = function (customUrl) { $http.get(customUrl) .then(function success(response) { $scope.categories = response.data; // console.log($scope.categories); // **** }, function error(response) { console.log("It has happened error in categories response", response) }); }; inside of this request I have angular.forEach loop, where I'm sending api request for each category separately // ***...
ادامه مطلبVote count: 0 I'm trying the EF6-way of using transactions and noticed that the following code using (db.Database.BeginTransaction()) { // something using (db.Database.BeginTransaction()) { /// something } } throws an exception on the second begin transaction telling me that The coection is already in a transaction and caot participate in another transaction. EntityClient does not support parallel transactions. Not that I would want to do a parallel transaction, whatever that could mean on one c...
ادامه مطلبVote count: 0 I have been querying an exteal database and creating a 'report' using a Jupyter notebook and pandas. I want to make it web-based. I have looked into Django and Flask and I have no experience with both. Does anyone have any suggestions? The database I am querying information from is only for reading. I caot make any changes. I tried to use Django and its multiple database setup. I had Django automatically create model classes by using inspectDB but this left me more confused on how ...
ادامه مطلبVote count: 0 All software I'll need. All hardware I'll need. All coding languages I'll need to know. Other skills that I'll need. Please add anything in addition to these points of information for mssql asked 29 secs agoburak yılmaz Let's block ads!...
ادامه مطلبVote count: 0 have the following situation that I can't figure out. In MySQL I have a database with 2 columns :"code"(integer) and "imag"(longblob) with images. Is there a way to see the images from the mysql db in excel? I tried with ODBC coection but it only brings the "code" column. Thank you! asked 1 min agomike Let's block ads!...
ادامه مطلبVote count: 0 Im trying to get the Id from the user and result must display the Details from the particular row of ID.. im using PHP coected to android studio there is no errors in android studio but when i try to view the web address of the PHP code i get thsis NULL values. I want to display the data from my database {"result":[{"name":null,"useame":null,"email":null,"age":null,"password":null}]} here is my code of PHP: if($_SERVER['REQUEST_METHOD']=='GET'){ $id = $_GET['id']; $sql = "SELECT * ...
ادامه مطلب