52,566 Archived Topics
Remove Filter ![]() | |
Hi All, Ive just imported two CSV files into phpmyadmin, but i need to add an auto increment field into it, and then populate it. Any advice on how to do this would be appreciated | |
I am having a webpage in websites which is required to send mail to a particular mail address mentioned in the textbox | |
Hi! Im planning to make the entries of the Ticket # links to view the ticket information. But how do i pass the value of the clicked ticket# to the next page? thanks in advance! [code=php] <?php session_start(); if(!session_is_registered(myusername)){ header("Location:main_login.php"); } ?> <html> <head> <title>Employee</title> <style type="text/css"> <!-- .tableContent { … | |
Trying to figure out how to parse the attribute value from an RSS feed which contains namespaces? Need to retrieve value "CA" from 'ac:country="CA"' in the code below. Thanks In Advance! [CODE]<?xml version="1.0" encoding="UTF-8"?> <rss version="2.0" xmlns:ac="http://palm.com/app.catalog.rss.extensions"> <channel> <link>http://www.palm.com</link> <title>Device Apps for US</title> <description>Complete list of US Device channel applications … | |
this may seem a tad stupid but i've been googling for about half an hour and still no clarity - basically i have an animated gif called processing.gif i would like this gif to display in full screen for about 5 secs or so and then redirect to my home … Web Development php | |
This code is working fine but opening folder on windows explorer, what i want is to open the folder on webpage. The folder is present on a FTP server named "SAN".What changes should be made in this code????? THANX..... [code] //// Opening Respective Folder of a User //// DirectoryInfo directories … Web Development asp.net | |
Hi! I'm having problems in getting the value of the selected item and showing the items in the second dropdown. When I select a category on the first menu, the choices on the second menu appears but the selected choice doesn't show in the dropdown. And i don't get the … | |
Hey, This is probably a newbie question, but that is somewhat what I am to PHP. I need to create a two column table within a while statement. [CODE] <?php $letter = $data['letter']; $getCats = mysql_query("SELECT * FROM categories WHERE catName LIKE '$letter%' ORDER BY catName"); while ($cat = mysql_fetch_array($getCats)) … Web Development php ![]() | |
Hi, how can I hide a url from jquery/ajax code for example: [code] function func123() { $(document).ready(function(){ $.getJSON('[B]http://127.0.0.1/~nertos/file/my_web/file.php[/B]', function(res){ ...................... }); }); } [/code] Thx 4 help;) Web Development javascript javascript-jquery php | |
I set the title of my master page so all of my content pages would have the same default title. However, I wanted a couple of the pages to have a unique title. Is there a good way to do this? I know I could get it if I removed … Web Development asp.net | |
Hi I am using tomcat 5.5 and I am unable to connect to mysql server(Wamp2.0i). Here is my code: [CODE] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <%@ page import="java.sql.*"%> <%@ page import="java.io.*"%> <html> <head> <title>Connection with mysql database</title> </head> <body> <h1>Connection status</h1> <% String connectionURL = "jdbc:mysql://localhost:3306/names"; Connection … Web Development java-jsp mysql web-server | |
Hi, i have got a popup box on a aspx page using JavaScript - what i would like to happen is after the user clicks the box for the browser to navigate to a different aspx page. i have tried using response.redirect and other methods - to no avail. i … | |
I have the java code to implemented jsp page, here how to view the pages 100 [code] <% PreparedStatement preparedStatement = null; PreparedStatement preparedStatements = null; ResultSet rs4 = null, rss = null, rst = null; java.sql.Timestamp timest; DateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); Connection conn = null; Timestamp timestamp; … Web Development java-jsp | |
Hi Can anyone please tel me why my code is not updating my MySQL database? The code does not return any errors. It does how ever tell me that the update is successful, but there is no update. Pelase let me know should you require to view the code running … | |
Is it possible to obtain the next insert ID without actually executing a proper insert query? I am writing a file upload script but the name of the folder the file gets uploaded to depends on the next insert ID of a certain table. Would appreciate any help with this. Web Development php | |
Hello ppl, i want to know if mysql save some text special chars like the \n i have the nl2br() function to tranform \n in to html <br>, but for BOLD or UNDELINE text ? is there a special char saved in to mysql db ? and is posible to … Web Development php | |
I have some code that I'd like to add numbers to. I'm using [iCODE]$count=o;[/iCODE] with[iCODE]++$count[/iCODE] to generate numbers. They start at "1". How do I get them to start at "0"? Web Development php | |
hello.. kind of confusing how to make it work.. i want to use a one button for hiding and showing div.. [CODE] $(document).ready(function() { $(".Email").hide(); $("#change").click(function () { $(".Email").slideDown("slow"); $("#change").html("Hide");[/CODE] im using jquery .. when you click the button it will show the div then the button caption will be … Web Development javascript | |
Hi all! I'm not a very good coder and i'm down here with a question for you all. Firstly, is it possible to code php within javascript? How? function confirmation() { var answer = confirm("Delete class?") if (answer){ window.location = "deleteClass.php?id=<?php echo $row['idClass'];?>"; } else{ alert("Delete unsuccessful!") } } i'm … Web Development javascript php ![]() | |
Hi, can someone give me idea how can I get information about namespace, class and method name and all parameters names for all public methods in class that extends MyMainClass? For example, I have script like this: [CODE] <?php require 'MyMainClass.php'; namespace myNameSpace; class MyClass extends MyMainClass { public function … Web Development php | |
I can easily change settings in IE6 for printing Background Colors and Images. But How I can do same in Google Chrome. Please see attached image ... Web Development php | |
i have created a delete.jsp page which checks for datatype entered in the fields and when user enters the student id will delete it from database.i am succesfull while following insert.jsp but i am geting proublem while updating and deleting. i have linked insertiion,updation and deletion jsp files to 1 … | |
Hi all This is what I want to achieve: a fixed positioned div next to my content area where the text changes depending on the section of the content area the user is reading. Can this be achieved, and how? Greetings and thanks in advance, Kenny Web Development javascript | |
What is server and client side code? Web Development asp.net client-server | |
In my gridview, there have a few column that contain number. At the bottom of the gridview, I want to add one row to display the total of the number for that certain column. How to do that? i have no idea. can someone help me?? | |
Just wondering if someone can give me some insight to understand how the hidden type works on a form. This form has 3 types of controls for storing the value of $id a radio button, check box and a hidden input(which has a button for each loop also). When it … Web Development php | |
I am trying to make the dynamic table can any one tel hoe to make the table which get data from the database as data from database delete the table row and column also delete Web Development asp.net | |
G'day, Hopefully someone here may be able to help me solve my little dilemma. I have a check box set up, and along side it i have a text input. When a user enters a value into either text field i'd like to automatically check the given checkbox. If someone … Web Development javascript | |
Hi everyone, i encountered this error when i want to forward user to different page according to different situation. The error occurs if the login is null and the cash is null :( seems like the it does not know where to forward because there is two forward. is there … Web Development java-jsp | |
Hello, I created an online forum where users can post comments but when a link is posted it appears on the board in text and not as a link. Any suggestions on how to change this. I would like links that are posted to be links not just text. Thanks! Web Development php | |
I am throughly confused....why does this seemingly simple deal not work? [code=javascript] <script type="text/javascript"> <!-- window.onbeforeunload = function (){ var checkboxImg = new Image(); var checkboxImgUrl = "checkbox.php%3Flonger%3D" + reviews-chk-longer.checked + "%26discrete%3D" + reviews-chk-discrete.checked + "%26natural%3D" + reviews-chk-natural.checked + "%26thicker%3D" + reviews-chk-thicker.checked + "%26permanent%3D" + reviews-chk-permanent.checked + "%26stamina%3D" + reviews-chk-stamina.checked … Web Development javascript | |
I have this data in JSON: object(stdClass)#1 (2) { ["noun"]=> object(stdClass)#2 (2) { ["syn"]=> array(59) { [0]=> string(5) "drama" [1]=> string(13) "dramatic play" [2]=> string(8) "maneuver" [3]=> string(9) "manoeuvre" [4]=> string(3) "bid" [5]=> string(12) "child's play" [6]=> string(14) "playing period" [7]=> string(14) "period of play" [8]=> string(9) "free rein" [9]=> … | |
![]() | Hey guys im struggling to pass a session in php, i cant quite figure out why though. My friend used the exact same code as me but it doesnt want to work. This code is the database checker (which seems to work) maybe im over looking some thing?? [CODE]<?php session_start(); … ![]() |
Hi, I have a question regarding an issue on submitting a form multiple times. For some reason, my form takes one submit, but then the others, I don't see changes of result. Here is the app: [CODE] <%@ Import Namespace="System.Data" %> <%@ Import Namespace="System.XML" %> <script runat="server"> Sub submit(ByVal sender … | |
![]() | I am using the code as under but always getting 0 value means the same folder [code=php] $random_folder=array("folder1","folder2","folder3"); $folder=$random_folder[rand(0,count($random_folder)-1)]; [/code] Getting folder1 always.. What's wrong?? Please Help....... Web Development php |
hello mates, i am working on a project of online resume management system and i am encountering an exception while creating resume. [b] Exception: Data type mismatch in criteria expression. [/b] i have attached the database tables list, here is my code for Create Resume-1.aspx.cs [code] using System; using System.Data; … Web Development asp.net dataset open-source web-server | |
hi all, I need help or an idea in asp.net for 1.) Reading all the contents of a page against a url. 2.) Convert all these contents into a pdf file. Thanks. | |
Hi Everyone, I developed a page with [URL="http://freetextbox.com/"]FreeTextBox[/URL] object which allows update text using rich text format. Now, If I type "TEST 123" and submit the data - works fine. If I type "TEST 123' and submit the data - I recieve the following error: Syntax error (missing operator) in … Web Development asp.net | |
So the problem I have is being able to get the value from the <asp:buttonfield /> I am using now and running a query based on this. I want when I postback to have a sql query and a gridview generated based on the string passed from the button click. … Web Development asp.net | |
I have a site am working on and I really want to put comment script on it. But I don't want a database. Web Development php | |
Hi, This is a real simple answer but for the life of me i cant seem to work out. I am trying to display my notes on one side of the page however the notes are long and are running right across the page instead of automatically going into a … | |
Hi All, My question is, I have a page (index.php) that creates an instance of a class (customers). In that page it opens a new page (edit.php or add.php, or del.php or search.php). I need to know when that new page opens is the class "dead", and how can I … Web Development php | |
Hi! My page does not redirect to "userReport_Asset.php" when i click the submit button. what happens is that when i choose an item, it is not shown yet in the drop down menu. when i click submit, it prints the item selected (i print the values to see if it … | |
Hi all I have a div in which I've placed some anchor tags with the css property: [CODE=css]display:block;[/CODE] I've given the div a grey background color and when I view the page on the net the div doesn't surround the anchor tags. The height of the div seems to be … Web Development javascript | |
Hi all, i had a page with a dropdown option.so wen i select an item from dropdown my page is getting refresh and in the dropdown it is cuming to default value.I need that selected value in dropdown even after the page refreshed.so can any one please... [CODE]<?php include 'connection.php'; … Web Development php | |
In this page administrator can update the records of users.he will 1st enter user's id to search the record of a particular user and then all the stored data about user like FullName, MobileNumber, CreationDate, CNIC appears in the respective textboxes.i have made two different attempts but none succeeded. In … Web Development asp.net | |
![]() | First of all, I'm not from an english-speaking country, so I'm sorry for any mistakes. If my english is not always understandable, please ask. I got some divs with IDs which I position via css in an external file. So I got something like this on the html-site: [code] <div … Web Development html-css javascript ![]() |
i want to generate A0001 as user id in php. i tried a lot for this but i can't did that so anybody here to help me......... Web Development php | |
hiiii friends, i have a table messages whose columns are id(primary key,auto increment) from to sub body now when i am trying to insert in the table with the following syntax insert into messages values(2,'$from','$to','$sub','$body') it is working fine. but since the id is in auto increment mode i am … | |
i want to give administrator of my website the privilege to change his password tht is stored in xml.the administrator types the new password in "NewPass.Text" and then retype the password in "ConfirmNewPass.Text". We have successfully compared the condition in the "IF" statement.The problem is inserting the password into xml(in … |
The End.