10,940 Topics
| |
Greetings! I have been using the code below to restore backups of mysql database taken utilizing the mysql dump for a few years, but suddenly, this does not restore database backups anymore. Is there any change within mysql? code: Dim myProcess As New Process() myProcess.StartInfo.FileName = "cmd.exe" myProcess.StartInfo.UseShellExecute = False … | |
Hi, I am new to this concept. Can anyone give me an example and ideas for google map plotting? In a google map, I want to show all the trucks based on latitude and longitude of the trucks. After showing all the trucks,I want to see a particular truck`s report … | |
I am thinking about installing an SSL cert on one of my domains but only want to use it on a few specific pages where people enter their personal information. Before I purchase the wildcard SSL and install it, I wondered if anyone could point out any pitfalls to be … | |
Hi, Im working on project right now in webdevelopment. im trying to view a PDF file in a browser which is the filepath was stored in database and the actual file save was in folder inside my webfolder and could retrieve/view by its ID. here's some of my code <?php … | |
Hi I have problem to get data when insert with ajax. I have ajax.js file and here is this code: $('#text-content').keypress(function(e){ if(e.which == 13) { if($('input#enter-click').prop('checked', true)) { $('#live-send').click(); e.preventDefault(); } } }); $('#live-send').click(function(){ var message = $.trim( $('#text-content').val() ); if($('#text-content').val()!="") { $.ajax({ type: 'POST', dataType: "json", url: './includes/conversation.php', data: … | |
HI, I want to calculate number of working days for the academic year between two dates like(01-06-2015 to 31-10-2015). I saw all codes that are doing only for curtrent year. If I want to do future years , how to do automatically, Here is my code what I tried , … | |
How do one enable a search button in PHP to function in terms of when I do a search on the website, my search goes through and I get the feedback of what I was looking for. | |
Hi all, I am trying to insert 1000 above data into a table but after inserting 500 something data its showing an "Internal Server Error". I tried after changing max_execution_time in php.ini and some other methods but no use. But this works fine in localhost. Given below is my code. … | |
Hi I have problem to get data when insert with ajax. I have ajax.js file and here is this code: $('#text-content').keypress(function(e){ if(e.which == 13) { if($('input#enter-click').prop('checked', true)) { $('#live-send').click(); e.preventDefault(); } } }); $('#live-send').click(function(){ var message = $.trim( $('#text-content').val() ); if($('#text-content').val()!="") { $.ajax({ type: 'POST', dataType: "json", url: './includes/conversation.php', data: … | |
if once i click on the Accept button it should change its state to Accepted and that button should be disabled for the future.it should stay in disabled state even after refreshing a page,help me as soon as possible...Urgent | |
I have to create a unique code to every user registering. The thing is that the unique code needs to be generated based on which city the user is from. So the tables I have are: CREATE TABLE `microreg`.`users` ( `user_id` INT NOT NULL AUTO_INCREMENT , `user_code` CHAR(10) NOT NULL … | |
Hello, I have created a form using ajax and php but when I click on submit the values in the textarea remains as it not disappears so I found a way to make form reset once I click on submit here is my code and please let me know how … | |
I am to attempting to recover data from a schema that had both MyISAM and InnoDB tables. I can recover the MyISAM tables without any problem, however I am running into difficulty trying to get the InnoDB tables back. Steps taken: I have backup of the schema folder in the … | |
I am always short of logic when every things works fine then i come up with new problem? **PROBLEM** There are generally 6 user type accounts.Everyone has their own "edit profile page".Now i want to know how can i handle this.user login then directed to home page then in navbar … | |
What im missing, LIMIT & Next page are not working. it showing nothing. <?php include ('ini.php'); $query = $_GET['query']; $min_length = 3; $max_length = 15; if(strlen($query) >= $min_length) { $query = htmlspecialchars($query); $query = mysql_real_escape_string($query); echo "<table border='0' width='' align='left' cellpadding='1' cellspacing='1'>"; echo "<tr><h3>You have searched for $query... Please find … | |
i want to import my backup database(.sql file) into mysql using php script. i have given the following code where **case 1** section works. but i need to execute **case 0** section. what the problem in my code please help me anyone. <?php //ENTER THE RELEVANT INFO BELOW $mysqlDatabaseName ='online_admission_form'; … | |
I just started school (College). I want to know what good links for learning oop php? | |
Hi everyone, am trying to display current date/today's date in php but the output is as below. Please advise. Thanks. <?php $Currentdate2 = date('d-m-y'); echo $Currentdate2; ?> Output: Current date: 2027-10-15 | |
i have been able to pass value from form to ajax and to php to insert into my database. Now there is a value which determines whether to redirect to page 1 or page 2 after inserting. As well i alert that the form was successful. So i wanna know … | |
I'm working on a personal movie database project to help keep track of my movie collection, but I'm having issues and I was wondering if it was even possible and if so how to go about doing this in the first place. I want a way to get an overall … | |
Hello, I have three tables in MySQL database which they are: employee, expenses and details. The details table is composite table between the expenses and employee. In the HTML form there is a table that will enter multiple data into details that will referenced with one expenses id. I could … | |
> DB_name: test > Tablename:option > attribute:name char(5); index.php <html> <head> <title>OPTION</title> </head> <body> <form method="post" action="index.php" > Name : <select name="nameoption"> <option value="name1">name1</option> <option value="name2">name2</option> <option value="name3">name3</option> <option value="name4">name4</option> </select><br> <input type="submit" name="submit"> </form> </body> </html> <?php include("database/db_conection.php"); if(isset($_POST['submit'])) { $name1=$_POST['nameoption']; $insert_data=("insert into option ('name') VALUE ('$name1')"); if(mysqli_query($dbcon,$insert_data)) { … | |
I am trying to fetch data from multiple table but i am getting this error `The used SELECT statements have a different number of columns` 4 tables will have different number of columns i am doing this because i have common edit profile page number filds may vary.So how can … | |
Hi, I am not familiar in google map. I want like this, My map page reloads after every 10 seconds. when I load map page it will just show the map with the given static latitude and longitude. after 10 seconds, it will plot the available vehicles from mysql table. … | |
Hello I have created an add to cart function but when I click on add to cart it replace the previously added products Here is my code Header Area details.php <?php require_once("includes/functions.php"); if(isset($_POST["addtocart"])) { $pid = $_POST["pid"]; $prod_name = $_POST["productname"]; $prod_price = $_POST["productprice"]; $category = $_POST["cat_name"]; if(isset($_POST['command']) == 'add' && … | |
I am trying to build a web application that can also run on mobile phones. Is the html code generated by imgmap_desktop can be run on both web and mobile? or rather web responsive type? | |
There is no problem in my code it's running fine but i want some suggestion.I have edit profile page for user when user is login he can click on edit profile button to edit his profile but i have what i we generally see is when user click on edit … | |
I have a software which demands this extensions on server , i tried by using xampp but failed. In the beginning it demands zend Guard Loader . I have tried to install on xampp but it can't be installed. I have already read this topic and follow and many topics … |
The End.