52,566 Archived Topics
Remove Filter ![]() | |
I was trying to use some code I found on here, but I can't get it to work.. Original question: https://www.daniweb.com/programming/web-development/threads/374722/update-database-with-ajax-and-with-different-input-names The code mostly works great for me, so thanks for this code but I have a problem. In the code it gives handlers for text input and textarea input … Web Development file-system javascript javascript-jquery | |
Hey Everyone. I am having issues with a responsive SVG and wondering if any of you can help. Bascially, I have an SVG image. I have tried to add it into an object: <object type="image/svg+xml" data="svgfile.svg" width="99%"> Your Browser does not support SVG</object> But the problem with this, I have … Web Development seo | |
hi iam a new to this laravel framework,em getting error while running contact page. anyone having idea about this?? the code is: @extends('layout') @section('content') <h1>Contact Us.</h1> <p>Please contact us by sending a message using the form below:</p> {{ Form::open(array('url' => 'contact')) }} {{ Form::label('Subject') }} {{ Form::text('subject','Enter your subject') }} … | |
Hi Guys! So im making a small application based around a basic mvc structure. I have three folders: Model, View and Controller The view code is: <?php session_start(); require_once('../Controller/loginController.php'); ?> <!DOCTYPE HTML> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <title>Energy Checker: Login</title> </head> <body> <div class="formLogin"> <h2>Login to your account</h2> <form … Web Development | |
here i want to display images according to the numbers given here is my view page <div class="limiter hidden-xs"> <label>Show</label> <select> <option selected="selected" value="">9</option> <option value="">12</option> <option value="">24</option> <option value="">36</option> </select> per page </div> my controler section is this public function look_book() { $data['active_mn']='look_book'; $config['base_url'] = base_url().'roxcontrol/look_book'; $config['per_page'] = 9; … Web Development display php php-codeigniter ![]() | |
please i need to query 2 tables at once and display the content in table. here is the code: <?php include 'database.php'; $pdo = Database::connect(); $sql = 'SELECT producs.*,validation_superviseur.* FROM products ORDER BY product_id DESC ,validation_superviseur ORDER BY id DESC'; foreach ($pdo->query($sql) as $row) { echo '<tr>'; echo '<td>'. $row['cat_id'] … | |
Hello, I have been searching far and wide but am yet to find a solution, my php mail sends email to all addresses except hotmail (not weven junk). Code: $message = "Welcome to Sky Crew, Your personal account for the Skye Crew has been created! Your personal login ID and … | |
My database have this record: timer_id = 1 time = 498 utc = 16:46:21 I'm retrieving the record the time column in the database but it won't retrieve the current record. I have this code for retrieving it: function start(){ div = "<?php $select = mysql_query('SELECT COUNT(*) AS num FROM … Web Development java | |
final public function setMySQL($key, $value) { $this->mysql[$key] = $value; } /*-------------------------------Manage Connection-------------------------------------*/ final public function connect($type) { global $core, $_CONFIG; if(!$this->connected) {k $this->connection = $this->mysql[$type]($_CONFIG['mysql']['127.0.0.1'], $_CONFIG['mysql']['test1'], $_CONFIG['mysql']['12345']); if($this->connection) { $mydatabase = $this->mysql['nexus']($_CONFIG['mysql']['nexus'], $this->connection); if($mydatabase) { $this->connected = true; } else { $core->systemError('MySQL Engine', 'MySQL could not connect to database'); } … Web Development mysql ![]() | |
how to create a waiting list for an appointment in php with codeigniter...any guide please Web Development php php-codeigniter ![]() | |
I have a text area that I want a list to be entered. I am trying to seperate each list item and put it into a seperate sql entry. Could some one tell me what I am dong wrong? error_reporting(E_ALL); ini_set('display_errors',1); $textarray = explode("\n",$textarea);if(isset($_POST['textarea'])){ $textarea= $_POST['textarea']; $q = "INSERT INTO … ![]() | |
Hello. How can I config django (python framework) with mysql? How can i use phpmyadmin to manage my database while i'm coding in django? Thank you. Web Development mysql php python-django ![]() | |
Please help....i want to save a user to my database..using wampserver... <form method="POST" action=""> <center><br> <H1>USER REGISTRATION</H1> <table> <tr> <td>User Id</td> <td><input type="text" name="userId"></td> </tr> <tr> <td>Lastname</td> <td><input type="text" name="lastname"></td> </tr> <tr> <td>Firstname</td> <td><input type="text" name="firstname"></td> </tr> <tr> <td>Middle Name</td> <td><input type="text" name="middleName"></td> </tr> <tr> <td>Suffix</td> <td><input type="text" name="suffix"></td> </tr> … Web Development php ![]() | |
I developed a website which i was okay with. Recently I updated it with some pictures and links which has broken its responsivness. On bigger screen it looks fine but on smallers the pictures and links dont shrink along. Help !!!!! <!DOCTYPE html> <html> <head> <title>Portfolio</title> <!--#include file="partialHeadContent.html" --> </head> … | |
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Thomas' Story</title> </head> <body style="background-color:lightblue;"> <h1 style="color:Orange; text-align:center;"><B>Thomas'Story Page</B></h1> <h1 style="color:Orange; text-align:center;"><B>Let's Make a Story Together!</B></h1> <h2 style="color:Black; text-align:center;">You fill in the blanks and we'll go from there!</h2> <hr> <h3>Now, just fill in the boxes below and when you're finished click the button for … Web Development gui javascript | |
Hi, I know parsing json data has been discussed lots but what I want is probably a little simpler I need a little editing to the bleow php script to work as convert json data and push it into MySQL table since the script work as reading the json data … | |
Hi i want to display runtime server load using php code. I find the below code from other website but i dont know i am going on the correct way. Pleae help me. function get_server_load() { $load=array(); if (stristr(PHP_OS, 'win')) { $wmi = new COM("Winmgmts://"); $server = $wmi->execquery("SELECT LoadPercentage FROM … | |
Im making search button and i want when user is searched to give all tickets received by that user i have this code but its just showing the last record of that db table and if i try to search other users gives me `No ticket received from that user.` … | |
Can anyone help me for this problem ?.. I have a Log-in form and i want to validate the username and password to log-in but the account is default. This is my Code <html> <head> <title></title> <script> function LogIn(){ user = document.getElementById("User").value; pass = document.getElementById("Pass").value; use = "1"; if(user == … Web Development | |
Export CSV TO Mysql and Import to CSV from MYsql in PHP | |
hya all i have sorted the checkbox group out and its echoing through ok but its also echoing through userid, username twice and email address when all i want is to echo options ticked any ideals of what can be causing this please php block at top of page: <?php … | |
I'm using [imgAreaSelect](http://odyniec.net/projects/imgareaselect/) to select image area. I have following values. Need Help to upload original image to "../original-images/" folder & cropped images to "../uploads/" folder. Upload cropped images with new filename "$newfilename" Plz help Thanks in advance. $x1 $y1 $x2 $y2 $w $h $filename = $_FILES["image"]["name"]; $file_basename = substr($filename, … Web Development javascript mysql php | |
hi...iamb struggling with this code please help me my controller is this public function men_clothing() { $data['active_mn']='men_clothing'; $data['men']=$this->roxmodel->get_category_by_parent($p_id=8); $data['kids']=$this->roxmodel->get_category_by_parent($p_id=9); $data['galllery']=$this->roxmodel->get_galleryImages($p_id); } my model section is this public function get_galleryImages($p_id) { $this->db->where('gallery.category_id',$p_id); $query = $this->db->get('gallery')->result(); return $query; } and my view page is this <?php foreach($galllery as $row){?> <!-- single-product start … Web Development display | |
hi...iam stuck with this code pls help me here is my controller public function men_clothing() { $data['active_mn']='men_clothing'; $data['men']=$this->roxmodel->get_category_by_parent($p_id=8); $data['kids']=$this->roxmodel->get_category_by_parent($p_id=9); $data['galllery']=$this->roxmodel->get_galleryImages($p_id); } my model looks like this public function get_galleryImages($p_id) { $this->db->where('category_id',$p_id); $query = $this->db->get('gallery')->result(); return $query; /* $this->db->where('gallery.category_id',$p_id); $this->db->select('gallery.*,category.id'); $this->db->join('category','category.parent_id=gallery.category_id'); return $this->db->get('gallery')->result(); */ } my view page look like this … Web Development mysql | |
Hello guys, im trying to learn how to use dynamic data table, which means i want to use data table as my searching result table. but i dint know how to make it because when the search result filled in the table, the sort and other "DataTable" function is not … Web Development javascript-jquery mysql php sql | |
I have created a function for displaying the shortcode within my content same as like don in wordpress not totally like it but some the thing is that when the regex becomes true will display shortcode for the given name but what happening now is it's displaying all within the … Web Development php php-codeigniter regex wordpress | |
My login script is displaying the following error message: Warning: Illegal string offset 'hash' on line 30. Here is the code that generates the error: <?php // configuration require("../../includes/config.php"); // if form was submitted if ($_SERVER["REQUEST_METHOD"] == "POST") { // validate submission if (empty($_POST["username"])) { adminapologize("You must provide your username."); … | |
hi...iamb struggling with this code please help me my controller is this .. public function men_clothing() { $data['active_mn']='men_clothing'; $data['men']=$this->roxmodel->get_category_by_parent($p_id=8); $data['kids']=$this->roxmodel->get_category_by_parent($p_id=9); $data['galllery']=$this->roxmodel->get_galleryImages($p_id=10,11); } my model page looks like this... public function get_galleryImages($p_id) { $this->db->where('gallery.category_id',$p_id); $query = $this->db->get('gallery')->result(); return $query; } my view page looks like this... <?php foreach($galllery as $row){?> <img … | |
I tried to make a custom php shortcode coverter for my own cms but the shortcodes are not converting in a proper way in the output its not displaying anything though as in replacement of corusel it should display Rollercoaster but right now I am getting output as This is … Web Development cms php php-codeigniter regex | |
I`m creating a simple social network site, I need to implement a sophisticated friend request system, one which works like facebook, this will work as follows: If James wants John to be his friend, he will click John's name. John will be notified that James has asked to be his … Web Development php | |
Am working on an online examination system. I have ordered the question output with "ORDER BY 1 ASC" and it follows as its appears in the database. But I want the output to be randomly generated so that each time the examinee logs in, different question number comes first. Web Development php | |
Hi there, I follow this tutorial for my web app. link: http://www.thesoftwareguy.in/creating-multi-user-role-based-admin-using-php-mysql-bootstrap/ Can anyone give me idea to do this same app using mysqli? Thanks. ![]() | |
Hello guys, I had to change the host of my web page , now I'm having trouble accessing the page because of problems in the connection string with the base. Error that occurs : Warning : mysql_select_db ( ) expects parameter 2 to be resource , null given in /var/www/web/Classes/AcessDatabase.php … | |
Greetings earthlings, I am a learning programming. My main languages are php & javascript. I was wondering if javascript(maybe with html5) could be enough to create a wix.com type wysiwyg or not, does it require a total other language like c++ or java , rubi ? or something of the … Web Development javascript ruby | |
So, I've been teaching myself HTML, CSS, JS/jQuery for the last three months and I've finally got enough stuff put together that I'd like to create a portfolio. I've been using Brackets and checking different viewport sizes by increasing and decreasing Chrome's browser window, specifically by using the Chrome extension … Web Development html-css | |
i try to use phpoffice/phpexcel to do this but i haven't an idea of do it... i have this form in html <body> <div align="center">ELENCA TABELLE PRESENTI NEL DB</div> <form action="index.php" method="post" enctype="multipart/form-data"> <table> <tr> <td> Filename: </td> <td> <input type="file" name="file" id="file"> </td> </tr> <tr> <td colspan="2" align="right"> <input … | |
I have a website that has been using background color animations for a while when all of sudden they just stopped working. I can't think of any major change I've done that would have caused it. So I created a folder to test out my jquery.min.js and jquery.ui.js files. Here … Web Development html-css javascript-jquery php | |
Hi, I have a "check_login" function which checks whether the user is logged in or not and if it isn't, redirects them to "login.php". When I try going to the page whilst logged in, it displays as it should. However, when I'm logged out and I try it, instead of … | |
Hi, I am new to this concept. I have one master database. and 2 or more client databases. In master database, it has all the clients database username and password, Structure of the all client databases are same. Consider My Master Database is alpha, I have 2 client database , … Web Development javascript javascript-jquery mysql php | |
I am trying to generate an Excel file from PHP. I tried copying code from various sources on the internet, but they give me an error "Fatal error: Cannot redeclare class PHPExcel in ....../PHPExcel.php on line 44". My code is as follows: <?php // include PHPExcel require_once 'PHPExcel.php'; error_reporting(E_ALL); ini_set('display_errors', … Web Development php | |
Since I English no good. I picture send you. How do I do? Just kidding. How could I put div through another divs perimeter by 20 pixels, 100 pixels or perfectly within them both? I saw that on a website, but they have ultra-spaghetti code with 50 billion wrappers (no … Web Development html-css javascript | |
I'm trying to target a class within a script in console.log in Chrome; I get an error ClassName is not defined ? if (getElementByClassName("class-name")){ document.write("correct class") }; - I wish email notifications would work on this site for me ;( Web Development | |
According to [this](https://github.com/nwjs/nw.js/wiki/Protect-JavaScript-source-code-with-v8-snapshot) link. V8 Snapshot of your JavaScript file, makes it somehow more protected. Notice: This is **V8 Snapshot** not just **V8**. Now I have couple questions, if you're familiar with this technology: 1) Is there a way to obfuscate it more? There are .NET obfuscators, there are C++ … Web Development github javascript perl ruby virtualization | |
i am in some confusion.what i am trying to do is:- i have a form in multiples can posted in smae input field as shown name attribute is taken as array- `<input type="text" class="form-control" placeholder="Enter" name="a[]">` now this input can duplicated on clicking add more button and input area is … Web Development php | |
hi all ive tried different things to solve this like remove any white space in php but i cant seem to get rid of this error can anyone suggest anything please. <?php include("connect.php"); ?> <?php // define variables and set to empty values $usernameErr = $emailErr = $passwordErr = $sexErr … Web Development php | |
https://jsfiddle.net/fg1mfn2m/2/ I don't understand jQuery. Or any programming language for that matter. I'm trying to get to resize a child of a div, as soon as said DIV is clicked. Nothing is triggered. Except my nerves. Previous time I asked for help of jQuery, I got the right code (which … Web Development javascript-jquery | |
Why is my menu not working in internet explorer but working in chrome and firefox.. here is my code: html: <html> <head> <title>practice</title> <link rel="stylesheet" type="text/css" href="style.css" > </head> <body> <div id="container"> <div> <nav> <ul> <li><a href="#">HOME</a></li> <li><a href="#">CATEGORIES</a> <ul> <li><a href="#">Samsung</a></li> <li><a href="#">IPhone</a></li> <li><a href="#">Cherry Mobile</a></li> <li><a href="#">Myphone</a></li> <li><a … ![]() | |
Good day, I just returned to my old subject, Computer Science. And i really need your help, i already start up a little codings but with this problem in loading up subjects. i just give you my project [https://drive.google.com/file/d/0B5qSnjDxuNSnTEZUUXRwWDdUcU0/view?pref=2&pli=1](null) hopely someone could do a big refreshing to my language skill. Web Development php ![]() | |
Hi all, How to send messaaage to phone number from website using PHP...need urgent help. Web Development php | |
hi guys im trying to login to a webstie just with sending requests to the server . the website has a login form which is this : <form id="Form1" onsubmit="return Form1_onsubmit()" style="direction: rtl; text-align: right" action="./17717417412" method="post" name="Form1"> <input id="__VIEWSTATE" type="hidden" value="/wEPDwUKMTQ4MDM5MTkwMg9kFgICAQ9kFggCAQ9kFgYCBQ8WAh4JaW5uZXJodG1sZWQCBw8WAh8ABTvYp9iq2LXYp9mEINin2LIg2LfYsdmK2YI62LTYqNqp2Ycg2K/Yp9iu2YTZii3Yp9mK2YbYqtix2YbYqmQCCw8WAh8ABRk8Yj7bsduz27nbtC/bsduxL9ux27Q8L2I+ZAIFDxYCHgdWaXNpYmxlaGQCBw8WAh8BZxYCAgEPFgIfAAXXCdmC2KfYqNmEINiq2YjYrNmHINiv2KfZhti02KzZiNmK2KfZhiDZiNix2YjYr9mKINis2K/ZitivOjxici8+DQoxLdio2Ycg2YXZhti42YjYsSDYp9iz2KrZgdin2K/ZhyDYqNmH2YrZhtmHINin2LIg2LPYp9mF2KfZhtmHINii2YXZiNiy2LTZitiM2b7amNmI2YfYtNmKINmIINiv2KfZhti02KzZiNmK2Yog2K/Yp9mG2LTar9in2Ycg2LTZiti...jYp9mH2K8g2LTYry48YnIvPg0KNC3Yp9ix2KfYptmHINix2YrYstmG2YXYsdin2Kog2YXZgti32Lkg2YrYpyDZhdmC2KfYt9i5INmC2KjZhCDYr9ixINiy2YXYp9mGINir2KjYqiDZhtin2YUg2K3YttmI2LHZiiDYp9mE2LLYp9mF2Yog2YXZiiDYqNin2LTYrzxici8+DQo1Ldiu2YjYp9mH2LTZhdmG2K8g2KfYs9iqINin2LIg2YXYsdin2KzYudmHINit2LbZiNix2Yog2Ygg2KrZhNmB2YbZiiDYqNmHINmI2KfYrdivINmH2KfZiiDZhdiu2KrZhNmBINiv2KfZhti02q/Yp9mHINiv2LEg2K7YtdmI2LUg2YXZiNin2LHYryDYqNin2YTYpyDYrtmI2K/Yr9in2LHZiiDZgdix2YXYp9mK2YrYry4NCmQCCQ8WAh8ABQEgZGRDY9B9c/B5YHJtWvxroJcmLKB7mcNVjEPC771IlbjsIQ==" name="__VIEWSTATE"> <input id="__VIEWSTATEGENERATOR" type="hidden" value="C792DAE2" name="__VIEWSTATEGENERATOR"> <input id="__EVENTVALIDATION" … Web Development javascript xml |
The End.