52,566 Archived Topics
Remove Filter ![]() | |
How to save twitter followers and number of tweets in a database.(php) Web Development api php social-media | |
hello! im trying to study how checkbox work, this is i want to do i array a list of items (item name, price, etc) from my database i would like to put a checkbox beside each item, all the items that are checked will be posted on a next form … Web Development php | |
Hi all.. I got this code that dealing with ajax..Basically the ajax code is to get the data from the html element and insert it to the database. this is ajax and the html code : [CODE] <script type="text/javascript"> $(document).ready(function(){ $("form#post_reply").submit(function() { var discuss_text = $('#discuss_text').attr('value'); var test5 = $('#test5').attr('value'); … Web Development first-post javascript javascript-jquery | |
My form is like the above [CODE] <form method="post" name="publishResult" onsubmit="return g(this);"> <select id="options1" name="se1" > <option value="0" >-- Grade --</option> <option value="A+">A+</option> <option value="A">A</option> <option value="A-">A-</option> <option value="B+">B+</option> <option value="B">B</option> <option value="B-">B-</option> <option value="D">D</option> <option value="F">F</option> </select> <select id="options2" name="se2" > <option value="0" >-- Grade --</option> <option value="A+">A+</option> <option … Web Development javascript | |
Hi everyone! I am new in Web Programming. I want in my ComboBox to pop up a question everytime a user changes the combo box. It will ask, "Are you sure you want to update" then if the user clicks on yes it will be redirected to another page and … Web Development javascript | |
Hello, I was wondering if someone could help me. I am new to mysql/php and I was wondering if there is a way that I can have php create pages for me. What I want is that I no longer need to create new page, so I will have a … | |
I am a web designer and specialize more in front end design and graphic work. I need help developing the code for a interface for a client to upload text and PDF file descriptions to a MySQL database. The interface would also facilitate PDF file uploads to a directory plus … Web Development database-design pdf php web-design | |
[CODE]document.getElementById('login').innerHTML += '<p><a href = "/<Project name>/<Servlet name>" onclick="sendRequest("/<Project name>/<Servlet name>", "uid=' + FB.getSession().uid + '", AJAXresult, "post")">Recommend me a movie!</a></p>';[/CODE] The code above works fine outside of the innerHTML. Is there something wrong with the code above? Web Development html-css javascript | |
I have the following code which displays something like this; William Science Monday William Math Tuesday William English Thursday but I want it to display without repeating the name William in the lines after the first line. [CODE] <?php $query = mysql_query("SELECT userId, quizTitle, addDate FROM quiz WHERE managerId='".$userid."' AND … | |
Hi webdevelopers, I am trying to INSERT INTO a table, a RETRIEVED gender SELECT FROM another table, but it misses a piece of code, to function: [CODE]$page_title = 'Register'; include ('./header2.html'); // Connect to the database. require_once ('./Script14.1_mysql_connect.php'); if (isset($_POST['submitted'])) { if (!empty($_POST['types']) && ($_POST['types_id']) > 1) { $g = … | |
Hi guys,how are you? =) i have a doubt,with ListBox =/ i want to get the selected item the user clicks and then put in another listbox,but it´s not happening,it says 'cannot be indexed because it has no default property' is there an easy way to solve it? my code … Web Development asp.net | |
I have the following code that converts text in querystring to an image. This is giving image with white background. Need help to get a transparent background. [code] <%@ Page Language="VB" ContentType="image/gif" Debug="true" Explicit="true" %> <%@ Import Namespace="System.Drawing" %> <%@ Import Namespace="System.Drawing.Imaging" %> <%@ Import Namespace="System.IO" %> <script runat="server"> Protected … | |
Hi everyone! I am new in PHP. Is there a way to store a value from a combo box to an array? Can you show me an example. Thanks! :) Web Development php | |
Hi, I have a problem using the AJAX toolkikt TextboxWatermarkExtender. It does not show up on my page. I have set up the code as follows: [CODE] <tr> <td> Name: </td> <td> <asp:TextBox ID="name" runat="server"></asp:TextBox> <asp:TextBoxWatermarkExtender ID="nameField" runat="server" WatermarkText="Section name" TargetControlID="name"> </asp:TextBoxWatermarkExtender> </td> <td> <asp:RequiredFieldValidator ID="nameVal" runat="server" ErrorMessage="Please give in … Web Development asp.net | |
Hello, I am just starting out with ASP.Net using VB.Net. I am trying to build a football website for my football club that has a backend CMS system. I have the database designed with primary and foerign keys in SQL Server 2005. I would like some help to: 1) Insert … | |
I am getting this error on other pages that lead to this one, but i can't find out what I'm doing wrong... can anyone help? The error reads: Warning: mysql_numrows(): supplied argument is not a valid MySQL result resource in ...on line 9. Can anyone help me? [CODE]<? if(!defined('TBL_ACTIVE_USERS')) { … Web Development php | |
Hey guys, I'm trying to echo a link that has an onclick attribute attached to it, but when I click on the link on the page, just goes to the desired page, and doesn't preform the onclick action. Here's my code: [code=php]<?php if(session_is_registered("sesvar")){ echo ("<a href='../../admin/comment-delete.php?id=$id2' onclick='return(confirm('Are you SURE you … Web Development php | |
i found this code to upload a file into a sql database using the asp.net fileupload object (or vb) i found it here [url]http://forums.asp.net/p/1480079/3451771.aspx[/url] i think it works, but i am a learning noob and have a question...where does my dbase info go in the code? [CODE] 1. If FleUpload.HasFile … Web Development asp asp.net file-stream sql vb.net | |
hi all this is my first query plz help me, i have one page which hv two ifrmaes,parent iframe contains no of child ifrmae.now oncliking child iframe check box ,i hv to get that value into parent iframe,i managed to create array of parent iframe but can't get child ifrmae's … Web Development javascript | |
hi. i am trying to create an aspx page where i can directly upload a file from the client to the server without user intervention. I would like to do something like when the user specifies the file path in the url, that particular file must be uploaded to the … Web Development asp.net client-server file-stream file-system | |
I have a script that is parsing rss feeds and the xml to a webpage, this is part of a blog aggregator system. However there are areas throughout the web system where I would like to only display a set number of posts, 10 for example I have tried a … | |
Hi, I'm an absolute noob to php, I know a little, enough to get me by so far by learning from snippets and suchlike. Before I dive into a new area (sessions) I'd like to know if what I am intending is possible or silly. [U]What I have[/U] I dont … | |
Is there some way I can loop through this code? using Ajax? Thanks for any recommendations. [CODE] <?php $paintingBack=$paintingNumber-1; $paintingNext=$paintingNumber+1; if ($paintingBack < 1) { $paintingBack = $paintingBack + 1;} ?> <a href="" id="link1" class='link'><img src='images/braceL.gif' alt='brace' width='20' height='11' valign='text-bottom'/></a> <script type="text/javascript"> var l = document.getElementById("link1"); l.onFocus = function() { … Web Development javascript php | |
guys, I am adding [CODE]<?php static_footer_pages(); ?>[/CODE] to Footer of Wordpress to display their built in policies (WP plugin(, instead it shows me all the pages somewhere on the side of the page. Can anybody help? | |
Hey everybody. So I am just trying to write a script to delete a row in a MySQL database. Unfortunately I seem to have something wrong...even though I don't get any errors. Here is a snippet of the code on the page to send the request: [CODE] echo "<tr><td width='138px' … | |
I have this piece of code: <img src="<?php echo img('Background9.jpg'); ?>" /> I would like the image (Background9.jpg) to be linked to this page: [url]www.example.html[/url] I have looked through a lot of posts and solutions here, but try as I might I cannot figure out exactly how to accomplish that. … | |
i want to send Variable to a php function when a link clicked how to do that??? so far i got to here but it doesn't work. :( plz help mee echo " <A href=\"Carscript.php\" onMouseOver=\"SwapOut('$name')\" onMouseOut=\"SwapBack('$name')\" onclick=\"func($name);\" > "; Web Development php | |
Hi.. I want to make following series.. I try a lot but i am having confusion in loops. so please help me. 1 212 32123 4321234 So any one have idea about this . Web Development php ![]() | |
I have a dropdownlist on my web page along with a textbox which has property set to password field. Now dropdownlist has autopostback property true. When i change anything in dropdownlist, Password field gets erased. So how can i prevent password field from getting empty at time of page post … Web Development asp.net | |
Hi there, in twitter and facebook when some of your friends/follows makes new post, your page gets updated via ajax. any ideas how it is implemented? i need the best concept/idea, not the code :] thnx in advance Web Development javascript | |
Hi, I have any dropdown box(combobox) for retrieve data ! this dropdown box list user for each user id. now when i filter result my code not work! my database is : member : id | name | age | datanum products : id | uid | name | cat … Web Development php | |
Hallo daniweb!, Im new here *hehe* anyway I've been working on our companys website for a while now but I just cant get it to work... the error is @ the 26:th line. btw we're using: Cirtex hosting the defination "myusername" and "mypassword" is in the prev. .php file (main_login.php) … | |
Hello everyone, I got an error from the code which I am copy-pasting from a textbook. Could you please tell me what I am doing wrong? Here are the codes: login.php: [CODE]<?php session_unset(); ?> <html> <head> <title>Please Log In</title> </head> <body> <form method"post" action="http://localhost/movie1.php"> <p>Enter your username: <input type="text" name="user"> … Web Development php | |
Hello I m a civil Engineer. I have little bit knowledge on php. I want to make a web application. Which will be easier. Drupal module creating or indivisual php application. Please Suggest me Web Development php | |
Hi, I can pass an array through jquery ajax. [CODE] var regSubCodeArray = new Array(); var temp = 9; var i; for(i=0;i<temp;i++) { subname = 'sub'+i; subcode = 'sub_code'+i; subcredit = 'sub_credit'+i; regSubCodeArray[i] = document.getElementById(subcode).innerText; } $.ajax({ url: "testArray.php", type: "GET", data: "page="+regSubCodeArray, cache: false, success: function (html) { $('#ttl').html(html); … Web Development javascript javascript-jquery php | |
Hi all. Im building a shopping cart using an online tutorial in youtube, but i have an error [CODE]<?php if(isset($_GET['action']) && $_GET['action'] == "add"){ $id = intval($_GET['id']); if(isset($_SESSION['cart'][$id])){ $_SESSION['cart'][$id]['quantity']++; } else{ $sql2 = "SELECT * FROM products WHERE id_products=$id"; $query2 = mysql_query($sql2); if(mysql_num_rows($query2) != 0){ $row2 = mysql_fetch_array($query2); $_SESSION['cart'][$row2['id_products']] = … | |
I have the Sitemap for Menu.like <sitemap url="" title="Admin" roles="admin"> <sitemap url="~/Rooms.aspx" title="Rooms" roles="admin"> ......................... ......................... </sitemap> Now When I am Login with customer then Rooms.aspx and others are not seen but parent node "admin" is seen which not required then what to do "admin" is seen only for admin Web Development asp.net | |
I want a text field which should have database values....(like dropdown list) from that list i can select text which is in database... Can any one help me out its very urgent....... Web Development java-jsp | |
I want a text field which should have database values....(like dropdown list) from that list i can select text which is in database... Can any one help me out its very urgent....... once see [url]www.justdial.com[/url] under "City" text box i want exactly like that ...i also want to match the … Web Development java-jsp javascript | |
Can any one tell me javascript for pop up text on mouse rollover on image like this site SNIP Web Development javascript | |
I want to pass array[x] to a variable so that I can use the variable in .innerHTML. I've researched and not found a reference. Any help appreciated. Big thanks. Web Development javascript | |
hi I'm trying to implement a custom forms authentication based on existing objects. i have created the following classes classes: [CODE=c#][Serializable] public class MyIdentity : IIdentity { // my custom members and properties } [Serializable] public class MyPrincipal : IPrincipal { // my custom members and properties }[/CODE] i'm using … | |
Below is my code can you debug it?? when i try to search on my search box it only show the data equal to the input box but when i clicked the pagination all the data in the database show i only want to show the data that been search … | |
We need little help for our project website. Please help us. We need a code for mouse hover in ASP.NET. For example, every time the mouse is over the image there is a pop-up image in its side. We'll wait..Thank you very much! | |
i have followed all the instructions to download and install vwd2010 with sql server2008, but to no success. please let someone help me here please. thanks! Web Development asp.net | |
I am redesigning a site and I want to have it compatible with the IPad. Could someone show me the code in either JavaScript or PHP so that when someone comes to my site on an IPad they will be automatically redirected to a site that is narrower, contains no … |
The End.