17,029 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for wonderland

Hi, I know there is a topic similar to this one, I red it but it didn't cover my problem. I'm using WP as a CMS for my site, so it's not a blog.I haven't made any changes in code, I just changed theme and that's it, I have few …

Web Development cms wordpress
Member Avatar for wonderland
0
124
Member Avatar for bibiki

what's up? I have the following php code: [CODE]<?php //chose the file $file = 'C:\Program Files\EasyPHP-5.3.2i\www\test\dump.txt'; //open the file in writeable mode $data = fopen($file, 'w'); //add the new element to it fwrite($data, $data.'gagi'); //close the file fclose($data); ?>[/CODE] I expect it to keep whatever is in the file and …

Web Development php
Member Avatar for bibiki
0
58
Member Avatar for wonderland

Hi, I'm not sure if this is the right section or not, but I would like to ask you guys about internet shop. I have my own hosting account, I know a thing or two about using CMS, I know some programming html, css, a bit of php. Since there …

Web Development cms html-css
Member Avatar for tiresmokindad
0
93
Member Avatar for UzuNarU

Hi ok this is what I'm trying to achieve. I have a page that loads a youtube.com video and below that video is a comments section. The video section is it's own DIV section and so is the comments. The submit new comment sits outside the DIVs. Initially the video …

Web Development javascript mysql php
Member Avatar for UzuNarU
0
285
Member Avatar for Dragennd

Hey, I'm trying to make a form of a search engine for my website. I have permission from my teacher to do it for class even though its for personal use. I have part of it built but I'm stuck at the "proper translation of the file" part. Heres the …

Web Development apple php
Member Avatar for Dragennd
0
166
Member Avatar for eagled2

I'm creating a site with several articles. On the main page of this site I am creating section that shows you a preview of the articles and allows you go through them using a next and previous button. I found some example code designed for use with search results and …

Web Development display php
Member Avatar for eagled2
0
2K
Member Avatar for CzechRock3

Im trying to creat a password varification system where the user enters there password twice while making a user account but everytime the user enters there password it is telling them 'sorry, passwords dont match' Im trying to say if there are two input boxes in the first one they …

Web Development php
Member Avatar for Hirra
0
413
Member Avatar for antman89

<%@ Page Language="VB" MasterPageFile="~/MasterPage.master" AutoEventWireup="false" CodeFile="cart.aspx.vb" Inherits="cart" title="Untitled Page" %> <asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server"> <script runat="server"> Dim TotalUnitPrice As Decimal = 0.0 Function GetUnitPrice(ByVal Price As Decimal) As Decimal TotalUnitPrice += Price Return Price End Function Function GetTotal() As Decimal Return TotalUnitPrice End Function Protected Sub GridView1_SelectedIndexChanged(ByVal sender As Object, …

Web Development asp.net
Member Avatar for antman89
0
355
Member Avatar for Venom Rush

Hi I've been searching on how to use php variable names inside an array and to much dismay I've found nothing. I'm sure it's something really simple but I can't seem to get it even after the numerous educated guesses I've made and tried. What I want to do is …

Web Development php
Member Avatar for Abolshiz
0
4K
Member Avatar for spotlight87

hi guys >> i need ur help please >>> i ve created a login page which includes user name and password and i created a welcome page which contains the required codes for connection and verifying the username and password from oracle database .. when i run the login page …

Web Development apache java-jsp oracle
Member Avatar for spotlight87
0
310
Member Avatar for nonshatter

Hi all, I have just made a search bar for a site but I am having trouble trying to return the number of results that are found. E.g. I want it to print "Your search terms returned 'xx' results" after each search. This is my code: [CODE] <?php include ('db.php'); …

Web Development php
Member Avatar for Virtualbase
0
2K
Member Avatar for nanharb

I am trying to create an update query for a website, and I keep getting an syntax error message. I narrowed it down to the table column that is the only field that is set to be of type text. [code]UPDATE company SET references = "blah blah blah" WHERE company_id …

Web Development mysql php
Member Avatar for cereal
0
2K
Member Avatar for bsewell

HI All, I'm developing a security system for a CMS but it appears that my redirect does not work. I'm using sessions and I know that the session is being created since I did an echo on session_id(). [CODE]<?php if($count==1) { $_SESSION['loggedin']=1; print "logged in"; header('Location: edit.php'); print "no"; } …

Web Development cms php session
Member Avatar for Virtualbase
0
285
Member Avatar for paragouldgamer

The code: [CODE = php] $selecteddate = $_POST['Releasedate']; $selectedplatform =$_POST['Platform']; $selectedstyle = $_POST['style']; $query="SELECT * FROM $table WHERE date = '$selecteddate'AND Style = '$selectedstyle'AND Platform = '$selectedplatform'"; [/CODE] Ok, the code works if someone picks something for all 3 of the items, so all of the code works, but if …

Web Development first-post mysql php
Member Avatar for Virtualbase
0
99
Member Avatar for bsewell

Hi All, I'm trying to replace all occurances of ' to &rsquo;, which is it's character code in HTML. How to I get str_place to search for '? [CODE]$data=str_replace("&rsquo;","'",$data);[/CODE] Cheers,

Web Development php
Member Avatar for mschroeder
0
78
Member Avatar for fortiz147

please help i don't know how to delete multiple rows in mysql using checkboxes, because it seems the delete doesn't seem to work. here's the code: [code=php] <?php $host="localhost"; // Host name $username=""; // Mysql username $password=""; // Mysql password $db_name="test"; // Database name $tbl_name="test_mysql"; // Table name // Connect …

Web Development mysql php
Member Avatar for light-man
1
341
Member Avatar for RickyG

Last date value (Next Training ) gets properly inserted but not the rest... any clue? [ICODE] <asp:AccessDataSource ID="AccessDataSource1" runat="server" DataFile="~/App_Data/JABILMCALLEN.mdb" DeleteCommand="DELETE FROM [Certifications] WHERE [CertificationID] = ?" InsertCommand="INSERT INTO [Certifications] ([EmployeeID], [TrainingDocID], [StartedTraining], [EndedTraining], [EvalutationType], [TrainedBy], [NextTraining], [Approved]) VALUES (?, ?, ?,?,?, ?, ?, ?)" SelectCommand="SELECT * FROM [Certifications]" UpdateCommand="UPDATE …

Web Development asp asp.net
Member Avatar for dnanetwork
0
122
Member Avatar for krunalkakadia

hi guys, i want to give new line after fixed amount of characters(say after every 100 characters) in the textbox.as i have to display my news content which is very large. pl guide me for that.thanks waiting for ur reply.

Web Development asp.net
Member Avatar for rohand
0
106
Member Avatar for tiny7415

I am looking for a host that supports jsp files and xml. I went to several host provider and I noticed that most of them supports asp and not jsp. Is jsp a standard language that every host supports it?

Web Development java-jsp xml
Member Avatar for Camy
0
150
Member Avatar for David Mac

Hi All, I think this is my first question here. My web application uses an Access database and I'm getting some strange behaviour which might be related to that. Here's the issue: At the end of processing a users request (during which a lot of calculations are done), a record …

Member Avatar for David Mac
0
154
Member Avatar for xylude

I am trying to get a variable to increment in a function called by setInterval. It does one then stops... All I want is for the slider function to loop through the array over and over again, but it seems to like stopping after the first one. Here is the …

Web Development javascript
Member Avatar for rajarajan2017
0
166
Member Avatar for fiaolle

Hi I want to remove a control in a placeholder, in a function in JavaScript. Is that possible? If so please help. Fia

Web Development javascript
Member Avatar for fxm
0
70
Member Avatar for tuomari

I keep getting this error: c:\inetpub\wwwroot\Phoenix\Login.aspx.cs(85): 'Phoenix.WebForm1.DBConnection(string, string)': not all code paths return a value I have already tried putting everything in the DBConnection function to comments but still the problem persisted. This is crucial that i get this working. I have watched examples from the guides in daniweb but …

Web Development asp.net session web-server
Member Avatar for dnanetwork
0
140
Member Avatar for antman89

Protected Sub Button5_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button5.Click Dim connection As SqlConnection = New SqlConnection("server=(local); Database = Bookstore; integrated Security=True") Dim CSP As SqlCommand = New SqlCommand() 'Dim Cust As SqlCommand = New SqlCommand() CSP.Connection = connection CSP.CommandText = ("select CusID,CusPassword from CusromerDetail where CusUsername = …

Web Development asp.net session
Member Avatar for dnanetwork
0
122
Member Avatar for KPooja

Hi All, In our application we have combo boxes implementated using tables with fixed column width(fixed combo width). and newly i have added a functionality for these combo box. functionality is expand combo box on rightclick (using oncontextmenu) to fit to lengthy text. oncontextmenu=function_call(object); inside function: obj.style.width="auto" but the problem …

Web Development javascript
Member Avatar for KPooja
0
95
Member Avatar for bsewell

Hi All, I'm trying to write some code to read a CSV file and produce HTML from it. I'm using MAMP to develop the page, but no code at all will display in the browser. I would like the first line of the file to be the header, and then …

Web Development data-structure php
Member Avatar for bsewell
0
158
Member Avatar for MARKAND911

How to Open a webPage in new Tab or new Window in ASP.net(C#)?

Web Development asp.net
Member Avatar for murugavel84
0
126
Member Avatar for jamshed ahmed

[CODE] SELECT Customer_Info.CustName,Customer_Info.Address,Customer_Bank_Info.CustChequeNo,Customer_Bank_Info.CustAccountNo from Customer_Info,Customer_Bank_Info WHERE Customer_Info.AgentID=Customer_Bank_Info.AgentID [/CODE] THERE ARE TWO RECRODS ARE AVAILABLE IN Customer_Info TABLE AND TWO RECORDS ARE AVAILABLE IN Customer_Bank_Info BUT WHEN ABOVE QUERY IS EXECUTED IT SHOWS 4 RECORDS IT REPEATS THE QUERY THAT'S WHY SAME RECORDS FROM THESE TABLE ARE RETRIVED FOR TWO TIMES. …

Web Development asp.net
Member Avatar for jamshed ahmed
0
163
Member Avatar for cris651

Hello, I'm new to ASP.NET. I'm requesting help. I've tried hard but with no result. I want to provide my user a Gridview filled with data from database, allowing him to edit these records not in order to update the database, but in order to insert edited rows in db …

Web Development asp.net web-server
Member Avatar for cris651
0
775
Member Avatar for maunica

hi all, I want to know that how can i change the font size of the output in php. suppose this is the snippet echo 'y' echo '$ans' where i want to echo the value stored in variable ans by changing the font size to 12px.so how can i change …

Web Development php
Member Avatar for maunica
0
102
Member Avatar for Krstevski

Hello friends, I have one stupid problem with overlapping div and object tag. I have slideshow (.swf) and now I want to add a div tag on the top of the slideshow, but when I try to do this then the div tag is hidden by object tag (slideshow). How …

Web Development php
Member Avatar for Krstevski
0
153
Member Avatar for MrBlack

[CODE]1. protected void Button1_Click(object sender, EventArgs e) 2. {string s="Data Source=Black-PC\\SQLEXPRESS;Initial Catalog=Test;Integrated Security=True"; 3. SqlConnection Conn = new SqlConnection(s); 4. 5. Conn.Open(); 6. string strqry = “Insert into students values (” + TextBox1.Text + 7. “,’” + TextBox2.Text + “‘,’” + TextBox3.Text + “‘)”; 8. 9. SqlCommand Com = new …

Web Development asp.net open-source
Member Avatar for kvprajapati
0
154
Member Avatar for kseling

i can't find any other posts on this, so.... i have a site hosted at godaddy and i'm using vb.net in dreamweaver to make my solution. i can connect to the database at godaddy by using the database connection wizard in dreamweaver, but i can't get my pages to use …

Web Development asp.net vb.net
Member Avatar for kseling
0
102
Member Avatar for krunalkakadia

Hello you all, I have used label in repeater to display news content.see the code below. <asp:Label ID="lblNewsContent" Width="1000px" Height="500px" runat="server" Text='<%#Eval("News_Content")%>' ReadOnly="true" BorderStyle="None" BorderColor="#EFF3FB" BackColor="#EFF3FB" TextMode="MultiLine"></asp:Label > Now problem is that how can i give new line in label after certain amount of characters?means i have say 500 characters …

Web Development asp.net
Member Avatar for krunalkakadia
0
740
Member Avatar for gaudi_br

Hello, I'm remotely debugging a J2EE application from eclipse. I developed an external tool that will copy the file I modified to the server and then debug the application from the server. It used to work perfectly, but since a few days ago, it doesn't work anymore. This means that …

Web Development file-system java-jsp
Member Avatar for gaudi_br
0
102
Member Avatar for gaudi_br

Hello, Because of licensing constraints, we're allowed a single Development server where our application will be installed. Supposing I have the tomcat server running on a remote machine in the company's network, let's say that multiple developers should be able to remotely debug that application. Is it possible?? How could …

Web Development java-jsp
Member Avatar for gaudi_br
0
203
Member Avatar for gaudi_br

Hi, I'm a developer with little experience in J2EE. I'm working with an Application called Enovia Matrix, which is an N-Tiers System composed by an oracle database, an RMI server, some "thick-client" applications and a Web-Based interface. I develop using Eclipse, in which I imported the War File generated for …

Member Avatar for gaudi_br
0
367
Member Avatar for rogerkore

Hi all, can someone tell me if it's possible do search like this: Mysql database: test Mysql Table: something Mysql rows: id name1 name2 name3 name4 Where [CODE] id name1 name2 name3 name4 1 roger mac phill chill 2 roger chill dubs lee [/CODE] The idea is do a search …

Web Development php
Member Avatar for diafol
0
414
Member Avatar for KushMishra

Hello guys, I am asking a very simple thing to be done in my project (May be I've forgotten the syntax)......... I've taken a drop-down list in which diff. user-names are coming and added a delete button to delete the full row which contains the selected drop-down list user-name. I've …

Web Development asp asp.net sql
Member Avatar for rohand
1
199
Member Avatar for phoenix_dwarf

Hi, I'm trying to loop through a listbox that is runat="server" (to get all the values of the items inside the listbox regarless of if they are selected or not). Now i have searched for hours on end and still don't find anything (all the examples is just for the …

Web Development asp asp.net javascript
Member Avatar for phoenix_dwarf
0
128
Member Avatar for haribo83

I have a php page showing records from an sql database, when the user clicks on a link they are taken to a detail page with more info etc. All of this works fine - the issue is that I wiould like uses to be able to submit a form …

Web Development php
Member Avatar for saiprem
0
411
Member Avatar for Tank50

Hi I am using C# to connect to mysql database that install in my local machine.After I complete the project I want to publish it in another server.So I change the mysql connection string.Here I mention the connection string that I used in local machine String MyConString = "SERVER=localhost;"+"DATABASE=IPG;"+"UID=root;"+"PASSWORD=Test;"; Before …

Web Development asp.net c# mysql
Member Avatar for Tank50
0
145
Member Avatar for nabilamn

my testing folder in my site is red. perhaps anyone can help me to identify what is the problem because i got the database connection using phptriad and everything goes well because i can view my database by dreamweaver8. whats wrong with my site folder when i click to view …

Web Development asp.net
Member Avatar for dnanetwork
0
71
Member Avatar for baseballfury

I keep getting an object expected error at the start of my <body> I've set a form to value="Accountants" and <body onload="showindex()"> in an attempt to automatically submit this value to a js file whenever the page loads. My aim is to have dozens of html pages all using the …

Member Avatar for baseballfury
0
144
Member Avatar for leegeorg07

Hi all, I'm trying to get the content of a div with php. I can't find a way to use javascript in php to do it so I was thinking that regex would be the way? If it helps the div id is "editor". Thanks in advance, if you need …

Web Development php regex
Member Avatar for leegeorg07
0
6K
Member Avatar for jbisono

Hello my friends. I am having problem with a GridView that its been filled by a LinqDataSource, and the footer i have the option to insert a new row, but if the DataSource is empty the footer wont show up. What is the best option to fix this. Thanks.

Web Development asp.net
Member Avatar for jbisono
0
138
Member Avatar for gymangel812

I'm getting this error and I can't figure out why: "Parse error: syntax error, unexpected $end in C:\Program Files\IndigoPerl\apache\htdocs\process_menu2.php on line 160" thanks :) [code]<?php echo '<html> <head> <title>Uploading...</title> </head> <body> <h3>Uploading file...</h3>'; // Set up the database connection. require_once ('mysqli_connect.php'); //if name selected from drop down box if (isset($_POST['product_name'])) …

Web Development apache php
Member Avatar for rajarajan2017
0
170
Member Avatar for krunalkakadia

Hello guys, i have my drop down list in which i have 5 years from 2010-2006.by default start year is current year and last year is current year-5. exa:- if start year is 2010 then last year is 2006 now if 2011 begins then start year will be 2011 and …

Web Development asp.net
Member Avatar for dnanetwork
0
720
Member Avatar for KushMishra

Hello to all, I've written this thread because I want to know the different content types used like................. [CODE] Response.AddHeader("Content-Type", "Application/octet-stream"); [/CODE] It was used for software and It was successful........But what for Music,Pictures and E-Books ??????????? Thanks in advance...........

Web Development asp asp.net
Member Avatar for dnanetwork
1
108
Member Avatar for KushMishra

Hello guys, I'm a newbie to asp.net....I've recently designed a website in which I've taken a gridview control and added a [B]button in the itemtemplate[/B] field of the gridview........What I want is that if anyone clicks on this button then the data in the particular row of the gridview comes …

Web Development asp asp.net
Member Avatar for dnanetwork
1
210

The End.