52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for 123mehran

Hi i want when no item selected after Submit show this message "Nothing Selected" what should i do ? Thanks [CODE]Protected Sub Btnsub_Click(ByVal sender As Object, ByVal e As EventArgs) Handles Btnsub.Click lblresult.Text = "You Chose:<br/>" Dim Lstitems As ListItem For Each Lstitems In CheckBoxList1.Items If Lstitems.Selected Then lblresult.Text &= …

Web Development asp.net
Member Avatar for MamathaS
0
158
Member Avatar for thijscream

when i try to update my table i get the following error: Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Beste witte wijnmaker van de wereld' door het toonaangevende Engelse Wine …

Web Development php
Member Avatar for happytogether
0
117
Member Avatar for thijscream

i'm having 2 select boxes, if i change the first one i would like a 2nd select box to change the content, everything is comming from a database. not xml because i want everything to be stored in a database for. is this possible with an onchange command or something? …

Web Development javascript xml
Member Avatar for thijscream
0
116
Member Avatar for Aser Gado

Hey there, Now I have my member Logged in, now After he logs in he is taken to his profile, now I want to Show his Full name and Email... knowing that I already created a database and everything... here is the code im talking about: [CODE] $result = mysql_query("SELECT …

Web Development php
Member Avatar for Aser Gado
0
284
Member Avatar for anita_86

Hi!! This is some of the code I am using to add dynamic rows when user clicks the Add Row button.I want to show the calculated amount like: line_total=qty*unit_price; sub_total=total of line_total; total=sub_total+tax-advance; [CODE]<script type="text/javascript"> function addRow(tableID) { var table = document.getElementById(tableID); var rowCount = table.rows.length; if(rowCount<3) { var row …

Web Development php qt
Member Avatar for diafol
0
114
Member Avatar for epicrevolt

Alright, another post. This one seems to be the most complex thing I have ever tried. So, I am making a site where a user can post jokes and vote on them. They can only vote up, so a digg like system. I want the users to be able to …

Web Development php
Member Avatar for epicrevolt
0
145
Member Avatar for EricIskhakov

Hey. I'm trying to open a dir under safe mode. and i keep getting this error : Fatal error: Uncaught exception 'RuntimeException' with message 'DirectoryIterator::__construct() [<a href='directoryiterator.--construct'>directoryiterator.--construct</a>]: Unable to access /home/mypath/mysite.com/public_html/path/to' in /home/mypath/mysite.com/public_html/site/loaddir.php:7 Stack trace: #0 /home/mypath/mysite.com/public_html/site/loaddir.php(7): DirectoryIterator->__construct('/home/mypath...') #1 {main} thrown in /home/mypath/mysite.co/public_html/site/loaddir.php on line 7 my question is : …

Web Development php
Member Avatar for EricIskhakov
0
248
Member Avatar for rajeesh_rsn

I made a simple slide show using jquery and "setInterval() " function. Everything working fine but I just need to start this serInterval function only after the div or page loads completely. I will post my code here ... [ICODE] 1. $(document).ready(function () { 2. var s=setInterval('slide()',3000); 3. }); 4. …

Web Development javascript javascript-jquery
Member Avatar for Airshow
0
114
Member Avatar for sendres

I'm seeking recommendations for a CMS for a new community/ social networking website. The following technical criteria are desirable: [LIST] [*]Open source (for customization and low cost). [*]Linux-Apache-PHP-MySQL based (technologies I already know). [*]Job board module, i.e. employers can advertise jobs and members can manage resumes and apply online. [*]Forums. …

Member Avatar for Mustafa Muhie
0
222
Member Avatar for ebanbury

Hi I'm trying to parse a recordID from a table of data in one page and pass data based on the chosen record to another page. The data is taken from a database and I've used recordsets: I have one recordset called rs_search which contains data from 2 tables called …

Web Development php
Member Avatar for ebanbury
0
201
Member Avatar for f_atencia

Say I have 2 input fields, both containing dates with the format (dd mmm yyyy), for example, 07 Mar 2010 (Yes, there is a space between date, month and year). Well basically I need the second input box to calculate 60 days (not 2 months) after the first text box. …

Web Development javascript
Member Avatar for Taywin
0
78
Member Avatar for Emeryl

Hi! I'm pretty far from the best coder in the world, but I recently moved to a new host and re-uploaded my files. I was clicking around to check that they still worked and noticed one of the pages wasn't loading properly anymore. When I look at the code, it …

Web Development php
Member Avatar for Emeryl
0
100
Member Avatar for coervivekmca

I need to learn ajax can i have some material to learn...plz send me or give me useful link to download some materail

Web Development javascript
Member Avatar for Fortinbra
0
90
Member Avatar for armageddon11

Hi all. Can anybody point me in the right direction as to how to implement the editor that opens up when I click Start new thread or post reply? Also when displaying the replies how is the feature with syntax highlighting and indentation for the code snippets implemented ? Thanks.

Web Development javascript
Member Avatar for Taywin
0
252
Member Avatar for adamworld

I have a script that I am using to retrieve zip codes within a certain radius using a foreach php statement. However, with these zip codes that I am getting, I want to add a comma between each value (for example: 11111,22222,33333) to use in a SQL query using the …

Web Development mysql php
Member Avatar for qazplm114477
0
3K
Member Avatar for jrotunda85

I am trying to create a page where a registered user can go, view the information from their profile, and update that information if necessary. I've started putting something together however it's inefficient in my opinion. Here's what I'm trying to figure out: [LIST=1] [*]Is there a way to check …

Web Development php session
Member Avatar for diafol
0
176
Member Avatar for rkayd

I copied this code from some forms that work and changed some information to apply to the new situation but something is wrong. The form "editreg.php" seems to be working fine. It populates the fields correctly. When it gets redirected to "editregsubmit.php" I get the message that the record was …

Web Development php
Member Avatar for qazplm114477
0
168
Member Avatar for jrotunda85

I am in the process of creating a website in PHP/mySQL and the next thing I wanted to tackle was creating an option for users to be able to upload a small avatar (maybe max of 50x50 let’s say). I’m not as familiar with how images are stored/retrieved in a …

Web Development image php
Member Avatar for diafol
0
291
Member Avatar for tiggsy

I suspect there isn't a way to do this, but in case there is: Does anyone know how to pick up all the possible set values for a particular field from php? The reason I'm asking is that it means adding a new set value will not break all the …

Web Development mysql php
Member Avatar for diafol
0
165
Member Avatar for idlackage

I'm just trying to output a value, but whenever it gets to "var max = tb1.value;" it stops working. I can't find out what's wrong with my code. [CODE]<html> <head> <script language="javascript" type="text/javascript"> var tb1 = document.getElementById('textbox1'); function output() { var max = tb1.value; document.write( max ); } </script> <title>asd</title> …

Web Development javascript
Member Avatar for six_sic6
0
315
Member Avatar for simplypixie

I have js on a form page for users to be able to select all check boxes for classes to enter in a dogs show but I want to be able to offer the facility to select just classes on specific days as well and I don't know how to …

Web Development javascript
Member Avatar for Taywin
0
147
Member Avatar for Nitin Daphale

In my application I place standard mail messages in web.config . But if message contains '\n' and mail is sent, it doesn't implement as newline character in mail body. [CODE] System.Web.Mail.MailMessage mail = new System.Web.Mail.MailMessage(); mail.To = to; mail.From = From; mail.Subject = subject; mail.BodyFormat = MailFormat.Html; mail.Body = body; …

Web Development asp.net
Member Avatar for Fortinbra
0
177
Member Avatar for shainjetly

hey everyone, first i will show u my code pages. addcart.php [CODE] <?php require_once("../Connection/connection.php"); if(!$_POST['img']) die("There is no such product!"); $img=mysql_real_escape_string(end(explode('/',$_POST['img']))); $q_result=mysql_query("SELECT * FROM tbl_items WHERE item_photo='".$img."'"); $row=mysql_fetch_assoc($q_result); $period = $_POST['period']; $count = $_POST['count']; $query_search1 =("SELECT * FROM `tbl_rates` WHERE `rental_period` = 'Daily' AND `units` = '10' AND `category_id` = …

Web Development html-css javascript json
Member Avatar for Taywin
0
260
Member Avatar for leemyers

Hi i have a php script that create a new user account on my online backup server via a api, when i open in i.e or firefox i get this error message Parse error: syntax error, unexpected $end in /home/public_html/123-backup.com/test.php on line 297 I' am not sure what is missing …

Web Development api php windows-api
Member Avatar for kmonroe
0
153
Member Avatar for leemyers

Hello, i have signup page in cold fusion that create a new user on my web application. but when i fill out the form and press signup i get this error message Element SYSUSER is undefined in REQUEST. Any idea to what this could mean?

Web Development coldfusion
Member Avatar for dipakatcvrca
0
117
Member Avatar for lkrvk

hi guys, i wanted a table to get created with the table name submitted from the form. how shall i go about this, i have tried it with my basic knowledge its here bellow but it dint work well, please help me anyone. [CODE] <?php if (isset($_POST['update'])) { mysql_connect('localhost', 'root', …

Web Development mysql php
Member Avatar for smantscheff
0
163
Member Avatar for kurakar

Hi, I cant sent email using smtp and php. I am using one form with email,subject message, etc i want to sent an email to that email (in form) while submit button click. I am givin the code bellow(only php) [CODE] if(isset($_POST['Submit'])) { require ("req_mail.php"); $from = "support@somecompany.com"; $to = …

Web Development client-server php
Member Avatar for pritaeas
0
232
Member Avatar for Aser Gado

After successfully creating a Registration/Signin/user profile... now I am assigning a profile picture for a user ... I have a question... Everytime I hit upload it doesnt upload I added an "echo' to say if no file is chosen "Please Select a file", it shows this even when I select …

Web Development image php
Member Avatar for Aser Gado
0
132
Member Avatar for khushhappy

Hi I cannot figure out the results when the code reaches at line 41 (while loop) . ! it throws an error. displaying records of two different tables, want the solution but with the JOIN statement. Thanks, and kindly look into the Attachment file as it contains jpg file.

Web Development php
Member Avatar for khushhappy
0
85
Member Avatar for josiefrut

Hi guys, I need your help. I was trying to update a certain data in my database using jsp and servlet. However i can't figure out why it wouldn't update the data. :( I'd greatly appreciate it if you could check my codes below. THANKS MUCH! Here's my jsp [CODE] …

Web Development java-jsp
Member Avatar for josiefrut
0
2K
Member Avatar for Fancycoder

I want to replace a part of a string but ignore some other parts of it. I have pattern but don't know how to use it. [CODE] $message = '<div class="sacred">http://www.daniweb.com/ is inside the div tag so I do not want it replaced.</div>http://www.google.com/ is outside the div tag so I …

Web Development php
Member Avatar for smantscheff
0
859
Member Avatar for nice_candy

hi, plz help me how can i get the return value of mysql stored function from ASP.net with c#. Currently i m using the following code for this purpose [code] string strConnect = "Data Source=" + host + ";Database=" + database + ";User ID=" + user + ";Password=" + password …

Web Development asp asp.net mysql open-source
Member Avatar for nice_candy
0
215
Member Avatar for william604

Hi im new to php and i have been following along on a video on how to create a registration form, but im getting an error "Notice: Undefined index: button in E:\EasyPHP-5.3.2i\www\Survey\register.php on line 3" Please help im new to php and don't know much Here is the code: [CODE]<?php …

Web Development php
Member Avatar for stefh
0
111
Member Avatar for shenbagam

Is anybody having idea about bar chart in php. I need to import the datas from excel sheet into php. I have created static bar chart. but i have to create dynamic bar chart . The datas should be retrieved from mysql or from excel sheet. If anybody knows kindly …

Web Development php
Member Avatar for qazplm114477
0
566
Member Avatar for professor123

hi can you help me l trying to run a certain php job recruitment system but l am getting the following error: [COLOR="Red"]Fatal error: Using $this when not in object context in D:\xampp\htdocs\jobs\pb_events.php on line 5[/COLOR] and below is the referred pb_events.php script. [CODE]<?php function DoEvents($this) { global $_CONF, $_PAGE, …

Web Development php
Member Avatar for qazplm114477
0
98
Member Avatar for oree

My question is, if I want to upload 4 files at a time do I néed to store at my database all 4 filesize type and path or can I get away with only storing the file name and upload them. Thanks

Web Development php sql
Member Avatar for sudeepjd
0
139
Member Avatar for dhairyaguptha

I use following code to Upload images to Web Server. But it shows successfully uploaded and even it shows image exists when i try to reload the same. But i cant see those in my Document root. I use Godaddy Windows hosting. Please Help me. Thanks. [CODE]if ((($_FILES["file"]["type"] == "image/gif") …

Web Development php web-server
Member Avatar for dhairyaguptha
0
128
Member Avatar for jj.amonit

Can somebody help me get my lingo and terms correct? I have a website hosted on Godaddy.com (please no criticisms, I know it's not the best. It's temporary). It the most basic hosting option. I need to run a nightly script at a specific time. I know and use php, …

Web Development php
Member Avatar for chrishea
0
138
Member Avatar for yenyen

hie there..i m using tis embeded media player in my web. but, how can i provide checkbox for each song and then let the user play the multiple songs together using tis code? the music file format are .wma, .mp3 or .midi.... plz help me...thank you [code] <embed type="application/x-mplayer2" id="music1" …

Web Development javascript
Member Avatar for Scyntrus
0
562
Member Avatar for raghujosh

I have a simple login module wherein I enter login info to a database. After that, I use another file, loginauth.php which validates the login info. However, I am getting the else statement executed. Can somebody point out what's wrong. [CODE]<?php session_start(); if (isset($_POST['userid']) && isset($_POST['password'])) { $userid = trim($_POST['userid']); …

Web Development php
Member Avatar for raghujosh
0
120
Member Avatar for ale89

Hi everyone! I am doing in php that among users can be added as friends. When I save the data I keep this name user1 logged and username2 of who wants to be friends. User1 keep the session and when I click on follow me this appears Unknown column 'UserSession …

Web Development php session
Member Avatar for diafol
0
1K
Member Avatar for qazplm114477

I hope this is the right place to post this, since it's more of a wordpress question than anything else. I was wondering if anyone can give me an opinion on the best way to redirect a site to another url when a mobile phone opens the page. Since I'm …

Web Development php wordpress
0
100
Member Avatar for kardklub

The code below displays a signature on the screen previously signed on the form before. It has now displayed the image as a png. How do i go about saving the image into a mysql database field so i can recover the picture as and when i need to / …

Web Development mysql php
Member Avatar for kardklub
0
57
Member Avatar for MagicMedia

I'm having a bit of trouble replacing parts of a string. I'm using preg_replace and it works but it replaces everything in between. I need it to search for every match between the string. What I have so far: $message = 'I have a [color]red[/color] apple and a [color]blue[/color] car.'; …

Web Development apple php
Member Avatar for MagicMedia
0
103
Member Avatar for cjay175

Hi all, I am at a stand still with trying to figure this out. I have a textarea, i would like to check for links entered by users and replace/remove the anchor attribute from the string. ie. change [ICODE]<a href='google.com'>website</a>[/ICODE] to [ICODE]website[/ICODE] its more so to validate ( i have …

Web Development javascript javascript-jquery
Member Avatar for cjay175
0
93
Member Avatar for MDanz

the function keeps returning 1. if i echo $i within the function then it counts up to six. the function should return 6, because there are 6 results from the mysql_query, so $i iterates upto 6. please any help solving this? [CODE] $i=0; $thewidth = $database->width($theid, $i); echo $thewidth; [/CODE] …

Web Development php
Member Avatar for kekkaishi
0
81
Member Avatar for luisthedude

Hello I am currently working on a project but I am currently stuck, what I'm trying to do is add a simple PHP site hit counter to an ajax site which counts the # of visits to an specific page, now I gotten the pages to show up and they …

Web Development javascript php
Member Avatar for diafol
0
496
Member Avatar for pearll

Can smbdy tell me that what is wrong in the [COLOR="red"]second part[/COLOR] of the form here in syntax.... ?? here i am providing the first part 2 as sm variables are from that part...however just tell me what is syntactically wrong in second part ...plz .. thanx in advance !! …

Web Development php
Member Avatar for danishbacker
0
109
Member Avatar for jigneshdesai
Member Avatar for jigneshdesai
0
225
Member Avatar for kieky

hi.. i'm trying to send mail from my website using GMAIL account. But after i use it, my website running very slow (for about 20-30second). Do u have solution to make it faster?

Web Development asp.net
Member Avatar for kieky
0
91

The End.