52,566 Archived Topics
Remove Filter ![]() | |
HI, I am trying to do questions generation system in PHP. I need some idea form all of you, how to shuffle questions and answers from table based on standard, section, subject,difficulty of question (Easy, Medium, High),No of module (Like, choose the best anser, true or false, Explanation ), and … Web Development php | |
Below shown code after fetching data from database not listing the result? <?php $answer = $listcareer['bigcontent']; $bigcontent = substr($answer,0,10); print_r($bigcontent); exit(); ?> Web Development php ![]() | |
Hello, I have created a quiz system where I tried to create a condition which is just simple one if time is up then correct answer will be shown up and the button would be disabled but I am confused and unable to make some logic about I need you … Web Development javascript javascript-jquery php | |
hi guys, i have a site which is protected using php and stored username and passwords in mysql database. is there a script which will protect a directory and run off the mysql database username and password as opposed to just a standard htaccess file? help urgently need for this … Web Development php | |
Hi, I have a stupid problem with jquery, On my htmlpage I have a div with id intakegesprekDates and when I try to add an element to it with jquery like this ` $("#intakegesprekDates").append("<div class='row form-group'><label>Datum gesprek</label>"+ "<div class='col-md-2'><input type='text' class='form-control' id='txtIntakeGesprek' name='txtIntakeGesprek'></input></div></div>"); ` My elements are shown in te … Web Development javascript javascript-jquery | |
Hi, I am new to this concept. I have data in my table in different languages like, English, French, Chineese, Serbian....) I want to display that languages in MPDF, how they are in table,. How to do that in MPDF? Which PDF format is best? FPDF or MPDF or TCPDF … Web Development javascript javascript-jquery mysql pdf php ![]() | |
So, I've some free time in December and want to make a web-app that lets people login, put books they've read, review the books they've read etc. But, I'm not sure how and where to start? What Languages/Frameworks to use? Any help would be appreciated. Thanks! Web Development asp javascript-jquery php ruby ![]() | |
I have an issue with the code I am working on and realised I need some help with it as I can not find out what I am doing wrong. The following code is just at part of a bigger code (that works fine) and I would be thankful if … Web Development php | |
hi can someone check this section up for me as im getting a error from it after converting to mysqli Fatal error: Call to a member function query() on a non-object in /home/matureco/public_html/config/db_connect.php on line 67 // find total message per user if(! function_exists(unReadMsgCount) ) { function unReadMsgCount($id) { return … ![]() | |
Here, I included my time difference code, but I am getting NaN error. How to do time difference in my code. I need my output like, 03 Hrs : 30 Mins Here is my code: /////Calculate time duration start/////// /*function calculate_Duration() { //var start_time = document.getElementById('start_time').value; //var end_time = document.getElementById('end_time').value; … Web Development javascript javascript-jquery mysql php | |
Can anyone please let me know how can I get the difference between two dates? Is there any function in c#? I've one more question can I check for value of the textbox like if value should be atleast 500 or more?? I want to use custom validators in c#. Web Development asp asp.net javascript | |
Hi all, I am trying to get a for loop to cycle through, sleep, and then keep going until a specified time. I'm running into memory errors and unsure whether this is legitimate, or because its created a memory leak. My code is: $currentTime = time(); $time = time(); while … Web Development php | |
Hello everyone. I have the following problem get the last id from the database but you can not insert a text field, the last id has, solution? pls pls <? $localhost = "localhost"; $username = "username"; $password = "password"; $dbname = "nameMyDB"; $conn = mysqli_connect($localhost, $username, $password, $dbname); // Check … | |
Hi, Please anyone help me out............ I want the users to enter the data in the textbox of the minimum length of "10" and maximum length can be "ANY"(or above "10"). Thanks in advance........................... Web Development asp.net | |
Hi. My web app currently uses the old FedEx WSDL API for rates and tracking and I have to now test it for FedEx's SHA-2 changes coming in Jan 2016. I am a little confused about how to easily switch between "Production Environment" and "Test Environment" and need some advice. … | |
I am in the process of making an existing website designed in 2005 to be able to work well with wide-screen monitors, tablets and phones. On the existing site, http://pettitslawnscapes.com/html/design___build.html, the menu selection **Design & Build** has six submenus that drop down when your mouse hovers over it. I need … Web Development | |
Hi all, I'm using nginx to host multiple servers on one terminal through virtual hosts. Each one needs to be able to send emails, but I am unsure how to specify which account to use when I call the php mail() function. Should I be specifying in the nginx configs … Web Development php | |
Hi All, Please study the following code. ## HTML ## <div id="welcome"> Welcome Message </div> <div id="Inquiry"> Inquiry Form </div> <div id="products"> Products </div> <div id="footer"> footer </div> CSS #welcome{ background-image:url(../images/company.jpg); background-size: 100% 100%; width:100%; height:600px; } #inquiry{ margin-top:600px; width:100%; height:500px; background-image:url(../images/light_grey.png); } #products{ margin-top:1100px; // (margin-top of inquiry + … Web Development css-bootstrap html-css web-design | |
hi i have just picked up a script of the net for my site and when i uploaded in onto my site i get the following message: Warning: Cannot modify header information - headers already sent by (output started at /home/matureco/public_html/new/php/connection.php:4) in /home/matureco/public_html/new/php/session.php on line 19 ive tried different things … | |
Hi everyone. Am trying to send email reminder for users to update their progress 1 month before end of every quarter. So every February and May etc the email notification will be autosend to the users from the system. Below is the code. Please advise if this is the correct … | |
Good day everyone I just want to know whether its possible to upload a file using joomla that wouldnt be downloable at all, I tried saving the file as a read only pdf file but that still made the file downloable on the web. Taking into consideration that the internet … Web Development file-system pdf php | |
Hai, I am new to this concept. After clicking the button it has to insert into database and has to refresh the div in jquery ajax. How to do? Web Development javascript javascript-jquery mysql php | |
OK, I am working on a website in HTML. I have an Overflow Div similar to this: <section id="content-wide-scroll"> <div id="scrollbar" class="content" style="left: 10px; top: -5px"> <!--Main Body Text --> <div id=“id1”></div> <h3>Anchor 1</h3> <br> Anchor 1 text here. Anchor 1 text here. Anchor 1 text here. Anchor 1 text … Web Development javascript javascript-jquery | |
Hi, I used this code to translate in any language, what I am typing . It is working good. But, for English, I don`t know how to do? can anybody know it? <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <script type="text/javascript" src="https://www.google.com/jsapi"> </script> <script type="text/javascript"> // Load the Google Transliterate API … Web Development api google-api javascript php | |
Hi all, I am aiming to create an array with the same structure as this: Array ( [798D25C0DEABD] => Array ( [quantity] => 1 ) [40B2B0FA3D222] => Array ( [quantity] => 1 ) ) The code I am using is therefore: for($i = 0; $i < count($response); $i++) { $ph[] … Web Development php | |
I have a couple of sites (on different servers) that I want to see if some critical urls are up and running and this is what I've tried: $handle = curl_init($url); curl_setopt($handle, CURLOPT_RETURNTRANSFER, TRUE); /* Get the HTML or whatever is linked in $url. */ $response = curl_exec($handle); /* Check … | |
hi im attempting to change my website from mysql to mysqli ive replace mysql with mysql on all the files and when i attempt to load site im gettting the following: Warning: mysqli_select_db() expects parameter 1 to be mysqli, string given in /home/matureco/public_html/config/db_connect.php on line 6 heres code for this … ![]() | |
It might be obvious, but I can't seem to understand it. So don't laugh. Let's assume this scenario. My website has 5 themes, there are 5 buttons. Clicking each button changes theme respectively and uniquely. I use JavaScript to do that, so I set name of theme in a cookie, … Web Development apache javascript php storage | |
Hi all, I have been using this tutorial: [bootply.com](http://www.bootply.com/lxa0FF9yhw) and I almost have it working, the problem is that my table is generated VIA AJAX from a php file. Basically I see my table but no working pagination unless I open chrome web tools and go to console and paste … Web Development javascript mysql php ![]() | |
How To connet mssql to php please please please help meeee. I'll wait for you guys to answer | |
iam using php in developing our website which is our user has to check banana symptoms that he observe on his plantation,out of that checked symptoms our system will show the possible disease based on what he checked, but i have a problem, if i checked 1 and 4 checkbox … Web Development php | |
I'm looking for a graphic library to create a visual for data that involves between about 100 to 300 data points. Each set of data points covers a full day - so one day would have a few hundred data points total, and I'm looking to plot a graph of … Web Development javascript php ![]() | |
i am new to JSP and this is my first trial on JSP i have a table "des" 1. id - auto increment 2. desn - varchar(50) and i wanted to access the table data on my JSP(index.jsp) file: <%@ page import="java.sql.*" %> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Add … | |
pls i need assistance on developing a school project site where one can upload and download(buy) school project material.. thanks Web Development javascript | |
whats wrong with this code i can't get menu and logo alinged i want logo to the left and menu to right along with logo, but i'm getting logo on the top and menu below it...can anyone explain the problem to me? and also what should be the solution for … Web Development html-css | |
guys can you teach me how to construct a code for developing my website. for example i have a list of different symptoms of a banana diseases which is a checkboxes,if i checked one of the symptoms,my system will analyzed or calculate that information based on what i have checked. … Web Development php | |
Pls i need your help here, im working on web page in which i want the user who register or subscribe will login to know thier status either membership expired or active but this code it is working manually if i set the date but not working from the database … | |
On this page I have 12 images, so far okay. But I like to make them more responsive. https://www.outdoorequipped.com/ The code I use is follow and I know I am missing something, but I am not sure what. Also, how I can do, that this div, where all those 12 … Web Development | |
Hi, i just hosted my website on 000webhost for free and somehow i cant connect with my database resulting to that i cant login on my website. How can i solve that? Please help. thank you Heres my code for db connection '<?php $db_host="mysql1.000webhost.com"; $db_username="a1924971_user"; $db_password="*************"; $db = "a1924971_learn"; $cn … Web Development php | |
Not so long time ago, I asked you for help with `preg_match()`. Pritaeas gave me nice answer and Cereal showed me nice webpage where I could try out the latest queries, live. The query provided seems to be working on the website granted, but not on my project. 4 out … Web Development php | |
hi all, I have been coding a payment gateway using a company called SwipeHQ. Using their APIs I have programatically created products from my website and make sure they stay updated. However, I'm now completely stuck about how to have my checkout navigate to their payment form and then return … Web Development php | |
Hello everyone, Please help me to create a chained select box here i created something , but when i select 1st one its load 2nd one's options from database, but get 1st one unselected <form action="" method="post"> Username: <br><select name="productforuser" id="option" onchange="location = this.options[this.selectedIndex].value;"> <option selected value="no_user_selected">No User Selected</option> <?php … Web Development javascript javascript-jquery mysql php ![]() | |
Hi, I am having issues with the following code: var seachHttp = function () { var cssSheets = document.styleSheets, // Loaded CSS Sheets i =0, il = cssSheets.length, // Counter and limit for sheets j, jl, rules, rule, // Counter and vars for Rules inside a Sheet stylesToSearch = [ … Web Development javascript | |
Hi I am new in php programming and learning this i have found a small problem.I am trying to creating a file called lib.php, where i add all my files jquery lib downloaded in /js and css files.My directory look like this: ** -practise + /css + /js + /images … Web Development html-css javascript javascript-jquery php | |
hi i just wanted to code a site like BBC just for practice while doing this i got an error in `li` item of a `ul` i don't know the problem but when i give it a `border-right` the border take more height then the original menu, i'm pasting my … Web Development html-css | |
Is there a way to grab strings that match patterns `--*--` and `++*++` (two seperate queries) where `*` is a wildcard and `--`, `++`, are criteria to meet. I'd like to write matches within variable fully, like `--daniweb.com--` and `++this just an example++`. `preg_match()` provides solution on alphanumerical identities. And … Web Development php | |
HI, I need a query for this. In a table, I have two date columns like fromdate and todate. My date format will be yyyy-mm-dd. I need to know how to compare dates including the given date to take all dates between the given dates For example,fromdate is 215-08-01 and … | |
Hi all, Been really trying to get a grips with objects in PHP. I think my lack of understanding isn't helping here! Basically, with the help of another user here I managed to filter some object values and add them a nice array. I used the following code: $i = … Web Development php | |
How does one display a screen shot for example, on a iPhone in portrait mode, so it's somewhat clear to view ? My only solution is to make the resolution extremely high so they don't have to zoom & pan ? Web Development iphone | |
Hey everyone, I'm working on a project that allows the user to register but am running into an issue where when the registration page is submitted the user receives a blank page and no confirmation(database record isn't entered). I've read and re-read the code and can't seem to find the … |
The End.