52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for priya1989

How to save twitter followers and number of tweets in a database.(php)

Web Development api php social-media
Member Avatar for smantscheff
0
72
Member Avatar for dudzkie

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
Member Avatar for dudzkie
0
105
Member Avatar for samsons17

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'); …

Member Avatar for six_sic6
0
7K
Member Avatar for six_sic6

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
Member Avatar for six_sic6
0
189
Member Avatar for elson.james

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
Member Avatar for SolidSolutions
0
490
Member Avatar for AMADH

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 …

Web Development mysql php
Member Avatar for pixelsoul
0
826
Member Avatar for printman55

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
Member Avatar for smantscheff
0
70
Member Avatar for Ignatius88

[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
Member Avatar for SolidSolutions
0
106
Member Avatar for facarroll

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 …

Web Development display php
Member Avatar for facarroll
0
138
Member Avatar for Masks.be

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 = …

Web Development mysql php
Member Avatar for Masks.be
0
81
Member Avatar for VRamone

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
Member Avatar for vuyiswamb
0
147
Member Avatar for dips255

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 …

Web Development asp.net image regex
Member Avatar for questpond
0
293
Member Avatar for elson.james

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
Member Avatar for elson.james
0
889
Member Avatar for steelshark

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
Member Avatar for vadmkp
0
124
Member Avatar for SunnySideUp

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 …

Web Development asp asp.net cms session vb.net
Member Avatar for questpond
0
217
Member Avatar for Thunder--

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
Member Avatar for erry
0
78
Member Avatar for Sanit

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
Member Avatar for leo_gatmaytan
0
2K
Member Avatar for front_&_center

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
Member Avatar for Netcode
0
563
Member Avatar for poonamkuthe

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
Member Avatar for SAUMENDRA
0
154
Member Avatar for scorpio222

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 …

Member Avatar for scorpio222
0
848
Member Avatar for lit108

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 …

Web Development php xml
Member Avatar for lit108
0
129
Member Avatar for Suzie999

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 …

Web Development gui php
Member Avatar for Suzie999
0
223
Member Avatar for ksquared

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
Member Avatar for ksquared
0
103
Member Avatar for teambuilding

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?

Web Development perl php wordpress
Member Avatar for joban.ali
0
142
Member Avatar for UzuNarU

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' …

Web Development mysql php
Member Avatar for UzuNarU
0
158
Member Avatar for Igorcats

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. …

Web Development image php
Member Avatar for Igorcats
0
95
Member Avatar for tcollins412

how would i do something like facebooks friends in php?

Web Development php
Member Avatar for tcollins412
0
69
Member Avatar for y2kshane

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
Member Avatar for UzuNarU
0
189
Member Avatar for panhwer

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
Member Avatar for diafol
0
92
Member Avatar for MARKAND911

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
Member Avatar for questpond
0
178
Member Avatar for Acute

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
Member Avatar for McLaren
0
77
Member Avatar for OpenBSD

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
Member Avatar for OpenBSD
0
134
Member Avatar for holmiboii

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) …

Web Development mysql php session
Member Avatar for holmiboii
0
236
Member Avatar for newbiecoder

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
Member Avatar for newbiecoder
0
206
Member Avatar for shobhit25

hey Guys,:) i m new to web development...n want to learn Drupal:-O :confused: ...so any one can help me:'( .. Thanx in advance:)

Web Development php
Member Avatar for HemantPHP
0
75
Member Avatar for arctushar

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
Member Avatar for HemantPHP
0
106
Member Avatar for six_sic6

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
Member Avatar for pritaeas
0
2K
Member Avatar for Imratzio

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']] = …

Web Development php session
Member Avatar for Imratzio
0
247
Member Avatar for akil007

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
Member Avatar for akil007
0
99
Member Avatar for ypks_destiny

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
Member Avatar for ypks_destiny
0
694
Member Avatar for ypks_destiny

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
Member Avatar for pritaeas
0
825
Member Avatar for NutanGadakh

Can any one tell me javascript for pop up text on mouse rollover on image like this site SNIP

Web Development javascript
Member Avatar for pritaeas
0
149
Member Avatar for ksquared

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
Member Avatar for ksquared
0
99
Member Avatar for emilio

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 …

Web Development asp asp.net
Member Avatar for emilio
0
109
Member Avatar for yamot47

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 …

Web Development html-css php
Member Avatar for yamot47
0
140
Member Avatar for 123mehran

Hi Guys I've made a id number textbox and wanna when users typing characters the server tell them type digits what should i do?

Web Development asp.net
Member Avatar for fawadkhalil
0
100
Member Avatar for yHobZ16

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!

Web Development asp asp.net image
Member Avatar for fawadkhalil
0
344
Member Avatar for denmarkstan

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
Member Avatar for questpond
0
148
Member Avatar for tcollins412

lets say im making a dating site. and i want people to be able to insert their own pictures. how would i do that? i have a mysql database. and i want this to happen in php. and then how would i make it display that persons image when someone …

Web Development php
Member Avatar for lyrico
0
125
Member Avatar for printman55

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 …

Web Development apple flash ipad os-x php
Member Avatar for smantscheff
0
150

The End.