52,566 Archived Topics
Remove Filter ![]() | |
Hi all, My requirement is to add student marks into the system. In my form i have entered admission number of the student, term and year and click on "Add" button to enter marks. Thereafter the page should be redirected to the following page where it should be displayed marks. … Web Development php | |
Hi... After long time I came back. Actually I am trying to display State and City list in 2 drop down box using PHP and Ajax. State and city list is coming from Mysql. I am able to get the list of state but after changing the state city drop … Web Development php | |
![]() | OK so I'm quickly making my way through codeigniter... It seems pretty pleasant and the MVC model seems Okay. But I have come accross a problem in passing an array to a view and displaying it. Following the MVC pattern, the database queries are separated into the Mo**d**el file. [Good.] … Web Development php php-codeigniter |
I am a volunteer at our local library. 5 months ago a clerk somewhere on the web shut down the site accidentally. Last week I had the site up after removing 18 MB of empty lines from both the index and default pages. Yesterday the Frontpage extensions went away from … Web Development | |
![]() | hello i need little help with url rewriting i have page :: www.mysite.com/search.php?q=something desire url structure:: www.mysite.com/q/something .htaccess code :: RewriteRule q/(.*) search.php?q=$1 the above htaccess code work fine but i have little more htaccess code for my site .htaccess code :: RewriteRule www.(.*) web.php?url=$1 desire url structure:: www.mysite.com/www.daniweb.com so … ![]() |
How to bookmark website automatically without asking user/visitor of website in all browsers? Following is click version, I want to bookmark website automatically in all browsers. jQuery $(document).ready(function() { $("#bookmarkme").click(function() { if (window.sidebar) { // Mozilla Firefox Bookmark window.sidebar.addPanel(location.href,document.title,""); } else if(window.external) { // IE Favorite window.external.AddFavorite(location.href,document.title); } else if(window.opera … Web Development javascript | |
hi all, I am new to php and have started some coding.I want to insert values in one table1 and update values of table2. It worked for me last day..but today it doesnt work.I have hardly changed any code.i guess except fr deleting some comments in code..u plz tell me … | |
![]() | hello today i was trying to add search functioality to my site. my site actually display analysis reports for websites like google.com but what if user enter simply google so i thought why not to add search function that display results on keyword google. well i added search.php to my … Web Development php ![]() |
Hi ; i am not good about such things , i just create a webpage from exel with spreadsheetconverter (http://www.teknofan.com/teknocon.php) some model products have diffrent size height , width , length (mm) but on my page every size open for every model products... For example Model Kasa Yüksekliği (mm) K31 … Web Development html-css javascript javascript-jquery ![]() | |
When the PHP file got a data that has '> <' or 'http://' **with GET Methode**, it's going to Forbidden Page. example: * mysite.com/folder/chat.php?text='> <' or * mysite.com/folder/chat.php?text='http://www.site.com' This is the result : [ **Forbidden** You don't have permission to access /folder/chat.php on this server. Additionally, a 404 Not Found … Web Development php | |
i am having a problem, i downloaded the project from dev to my local, though it is running fine on dev but on local, it says me the following error Fatal error: Class 'DB' not found in F:\xampp\htdocs\timesheet\index.php on line 9 my index.php is <?php session_start(); error_reporting(1); include_once('classes/db.php'); include_once('classes/functions.php'); //========================================== … Web Development html-css javascript-jquery php | |
Hi Guys I have this page http://beuniquegroup.com/ the slideshow working, now i copied the code to other page http://beuniquegroup.com/our-values but unfortunitly it gives me no image, so I think this slideshow is not connected to my post yet! Please help! Thanks Web Development javascript-jquery php wordpress | |
I want to validate phone number its not workning.Please help!! This is php code. <?php error_reporting(E_ERROR|E_WARNING); session_start(); $dblink = mysql_connect("localhost", "root", "") or die('Not able to connect to server : ' . mysql_error()); mysql_select_db("apperal",$dblink) or die('Not able to select Database : ' . mysql_error()); //hama ekakatama poduwe hadapu connection eka … Web Development php | |
Hi, I'm having some trouble. I am fetching a list of "training tickets" from a table and each has its own transaction id for ease of coding. Everything appears as it should (though I'm in the very basics of tweaking that) but when I hit 'reject' it is deleting the … Web Development php | |
I am new in php and I have created a php login page where it will retrive data from a table and check a print "login successful" or "login failed". Now after execution of the codeI am giving correct data but all the time it is replying "login failed" plese … Web Development php | |
Hi all, Help me please. i have two table: outbox and contact. condition outbox table befor query/ insert. CREATE TABLE `outbox` ( `id` int(11) NOT NULL, `phone_number` varchar(30) NOT NULL, `message` varchar(200) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; Contact table: CREATE TABLE `contact` ( `id` int(11) NOT … Web Development php | |
I am working on survey application in this I want only unique answers to be selected like for eg <form action="somefile.php" method="post" name="testForm"> <tr><td>Question 1 </td><td> 4<input type="radio" name="1" value='4' class="Session"/> 3<input type="radio" name="2" value='3' class="Session"/> 2<input type="radio" name="3" value='2' class="Session"/> 1<input type="radio" name="4" value='1' class="Session"/></td></tr> <tr><td>Question 2 </td><td> 4<input … Web Development javascript session | |
Right now I'm trying to get multiple callbacks from a single feed, however I keep getting "val parameter is undefined" Here is the code: var m,i=100,s=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],b=["#","@","http","www","tweet","twit","Twit","TWIT","tweep","blog","text","follower","Follower","Text","Twee","txt",".ly","follow",".com",".COM",".net","yahoo",".org"," DM"," RT","RT:"]; var count = 0; var rand; u=function() { if (i--<1) { location.reload(); return false; } document.getElementById('w').innerHTML = "<h2><font color =\"red\">Error :(</font></h2>" ; … Web Development javascript javascript-jquery json | |
Hello to all first of all. This is Scorpionz. I am working on PHP OOPS these days, I am having a little problem in my Connection class, with Database. Lets have a a look. [code] interface db { public function connect(); public function close(); public function error(); } class mysqldb … Web Development php | |
Hello, I was wondering how much you guys charge an hour.... Web Development php | |
ArrayList<String> cs = CourseAssignments.getInstance().getStudentCoursesByName(sname); %> <table border="1" cellspacing="1" cellpadding="8" bgcolor= #EBDDE2> <% Iterator<String> i = cs.iterator(); while(i.hasNext()){ %> <tr> <td><%= i.next() %><input type= "radio" name= "courses" value="<%= i.next() %>"/></td> </tr> <%}%> </table> <center><input type= "submit" value= "Submit"></center> </form> <%} In ArrayList cs I have all the courses that a student … | |
As the title said, how would I get text from a input tag and show it dynamicly. So whenever i press a, it shows up in a p tag. How would I do this in jQuery? EDIT: Here is what I have but its not working: <html> <head> <title>update text … Web Development javascript javascript-jquery | |
Hi, I have a problem with my code. When I fill the PHP form and submit on the page, I encounter with 2 problems; 1- It writes all 6 input coming from 6 textareas to next line in csv file as I want. But it writes all of them into … Web Development php | |
I want to let the users of my page (they dont have to be registrated) to register a food plate that they ate at my restaurant. It should have a picture and a review, now that should go to a database and appear randomly but daily at homepage. can anybody … | |
Hi, I'm making login in my site which has a database, and I check if the user exists in the data base. However, If I navigate through the web pages of the site, or if I type the url other than the beginning page, I can get to the site. … Web Development javascript | |
![]() | can someone explain these. And the difference between abstract and interfaces? These confuse me. Ta Also if you're asked to write a bit of code what tasks can i expect and can i assume i'll be given any resources or just pen and paper? Web Development php |
![]() | Hi I'm having issues with **get_magic_quotes_gpc()** function. I download this **Ajax File and Image Manager** from this site: http://www.phpletter.com/DOWNLOAD/ I install it on tinymce & fckeditor to test it out. They both work. I try to link the images and it didn't work and I also realizes the links are … Web Development image javascript mysql php ![]() |
![]() | so I got two probelms with asp.net routing, I got these these routing values in my _AppStart RouteTable.Routes.MapWebPageRoute("{rcPageName}", "~/Default.cshtml", new { rcPageName = "default"}); RouteTable.Routes.MapWebPageRoute("Tutorials/PHP/{rcPageName}", "~/Default.cshtml", new { rcPageName = "PHPTutorial"}); RouteTable.Routes.MapWebPageRoute("Tutorials/VB/{rcPageName}", "~/Default.cshtml", new { rcPageName = "VBTutorial" }); RouteTable.Routes.MapWebPageRoute("Tutorials/CSharp/{rcPageName}", "~/Default.cshtml", new { rcPageName = "C-SharpTutorial" }); RouteTable.Routes.MapWebPageRoute("Tutorials/HTML/{rcPageName}", "~/Default.cshtml", new … |
sir i want do on small application like face book,can you people help me please,how can i proceed.......please give me instructions... Web Development asp.net | |
![]() | I want to handle 404 error if script can't load some resouce after document is ready. Here is code: (function( $ ){ $.fn.onair=function(){ var tid = setInterval( function () { if ( document.readyState !== 'complete' ){ return; alert("salam") } else if(document.readyState=='complete'){ if (document.onerror){ //ajax $.ajax({ statusCode: { 404: function() { … Web Development http-protocol javascript javascript-jquery |
Hello all, basically I would want to select a specific field and update it. However when I click Update, I would want to see the data that I selected not just a blank field. I am using a View( I joined 2 tables), so is it possible to update the … Web Development asp.net | |
I have one div which contain UL and LI. In this I want to generate dynamic Id of that LI. right now I given static id of this . Now In this I want to generate my li's ID like given below. Now I'm bit confused how will I get … Web Development php | |
Hello, I'm struggling to make a join between tables work on a non-standard schema. I know the proper way of doing it would be migrating the schema and using the ActiveRecord convention but as long as I'm using this to consume data for testing purposes, that's not an option. The … Web Development ruby | |
Hi Coders, I am really in need of your help...... *Table of contents* are available with *action buttons*, When i click on a particular action button say for examble *edit*,the *id* of that *particular row* should be passed to the *edit space*,so that i can pull all other values from … Web Development client-server php | |
I want to show names of the employee in drop down list fetched from database depending on type of team checked by the user (Teams like Hr,PD,PI) are in the form of checkboxes .how can i do this? the code m using is:- `<li><input type="checkbox" name="box[]" value="Ac&Admin" onClick="dropdown(0)" />Ac&Admin</li> <li><input … Web Development php | |
Hi guys, I having problem with the gridview. In the gridview there will be a columnn that contains Textbox and dropdownlist. I need to enable to disable control based on the datatype in the database for example Text, it will display the textbox control or date datatype it will display … Web Development asp.net | |
Well, I'm still a noob when it comes to PHP (or anything), so I'll just give an example. If you go here: http://www.gmodules.com/ig/ifr?synd=googlemodules&w=500&h=350&mid=0&url=http://hosting.gmodules.com/ig/gadgets/file/102166312438248764726/calendar-personalized.xml you'll see the XML gadget displaying nicely in the browser window. Of course, if you load only the gadget in the browser (http://hosting.gmodules.com/ig/gadgets/file/102166312438248764726/calendar-personalized.xml) the page will display … Web Development php | |
I can't insert data to database through this code.Data alredy exist part is working but after that data not insert to the database. This is the PHP code. <?php error_reporting(E_ERROR|E_WARNING); session_start(); if(isset($_POST['add'])){ $no=$_POST['txtno']; $refer=$_POST['txtrefer']; $amount=$_POST['txtamount']; $state=$_POST['txtstate']; $dblink = mysql_connect("localhost", "root", "") or die('Not able to connect to server : ' … Web Development php | |
Ok so I have a script that I am writing and I have encounted a problem. I can not get the information from a dropbox to submit into mysql data base here is my script. <form action="work.php" method="post"> <table> <tr> <td>Email:</td> <td><input type="text" name="Email" tabindex="1" /> </td> </tr> <tr> <td>Messgae:</td> … | |
How to create template and database for following structure in wordpress? **index.php** main wrapper width 90% 5%-5% margin left and right left column 65% of main wrapper(article) right column 35% of main wrapper(only image) **about.php** main wrapper width 90% 5%-5% margin left and right left column 35% of main wrapper(only … | |
![]() | hello i want to add search functionality to my website . my task is to get input from user then check it if its domain like google.com then (do work 1).... else if keyword like news etc then search database so i made search.php mysql_query("SELECT * FROM `table` WHERE `title` … |
I have a heat map application on OpenLayers (using XAMPP 1.8.0 and MySQL) where user enters two date and time intervals and selects whether he/she would like to view all the data between those two datetimes or view them based on hourly/daily/weekly/monthly intervals. However, when I type in two date … Web Development http-protocol javascript javascript-jquery php | |
Hello, anyone can help me with parsing an html table data to be saved directly in an excel file from the same parsing app? | |
Hi there, I would like to know what the differences between primitive string type and object string type are because I declared both of them and had a look the functions that I can invoke on them. They are the same functions. Can anyone explain the differences/similarities please? Web Development javascript | |
<?php include('./config.php'); //protect SQL injection $username = $_POST['username']; $password = $_POST['password']; $username = stripslashes($username); $username = mysql_real_escape_string($username); $password = mysql_real_escape_string($password); $password=hash('sha256',$password); //SQL query that sent login info to database $result = mysql_query ("SELECT * FROM admin WHERE Login ='$username' AND Password ='$password'",$con); $check = mysql_num_rows ($result); @session_start(); if ($check == … | |
Hey there guys. I'm gettign what should be a trivial php error but I cannot for the life of me find it! Parse error: syntax error, unexpected '{' in /home/sites/blah.co.uk/public_html/paypal_ipn_test/ipn.php on line 14 My code of ipn.php is: <?php // tell PHP to log errors to ipn_errors.log in this directory … Web Development php | |
Hi im having a nerve wrecking problem with my script, i'm trying to make a form validation that when a field is empty it will prompt a message that needs fo fill up the missing fields..and i made it already the problem is when i put a separate script for … Web Development html-css javascript javascript-jquery | |
I tried to insert data using the following code, but I really I don't know how can I get result and what is the problem in my code, I tried to build firstly my form then I write the insert query and send it to a new form , any … Web Development mysql operating-system php | |
Hello i can not figure out how to take images from my database to jQuery gallery. User uploaded images in the data base. Images are sorted by date. And how I can do, what all imges goe's in the jQuery gallery, besause now i can get all imges in one … Web Development javascript-jquery mysql php |
The End.