52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for chineerat

hi! I would some advice or guidance to create a timetable or schedule [URL="http://www.dentistry.usyd.edu.au/upload/timetable_example.jpg"]like this[/URL]. the data i am pulling from my db are: Begin and end time of courses, course names and day of the week. Also I would like a notification of when 2 courses overlaps. for example: …

Web Development php
Member Avatar for chineerat
0
4K
Member Avatar for gchurch

i have two radio buttons: 'Accept' and 'Don't Accept' if the 'Accept' radio is not checked when the form gets submitted i would like the page to reload without sending any info... [CODE] <form id="form1" name="form1" method="post" action="PaymentFormProcess.php"> <table width="80%" align="center"> <tr> <td width="43%"><strong>Do you accept these terms and conditions?</strong></td> …

Web Development javascript
Member Avatar for gchurch
0
7K
Member Avatar for Ender330

Maybe someone can help me with this. I have a sight that is members only and right now there is no charge to join...You just put in your Username, password and email and you are granted access. What I want to do is when they click signup...take them to a …

Web Development pay-per-click php
Member Avatar for dennishall
0
195
Member Avatar for filch

Can someone enlighten me as to why this does not work in Safari and only apparently works sometimes and on some machines in IE. I have tried using all three (blur, change, keyup), used live and bind. Nohing seems to work. I have to say though, that in IE on …

Web Development javascript javascript-jquery
Member Avatar for Airshow
0
3K
Member Avatar for rue...

Im creating an e-commerce site.Need help with the code for transactions such that if a button is clicked,the quanity of the products is reduced in the products table.Say i had ten items and two are bought,the value in the quantity field should come to 8

Web Development php
Member Avatar for Borzoi
0
96
Member Avatar for suryasasidhar

i created setup for my window application. i want to change the icon of my setup file help me thank u.

Web Development asp.net
Member Avatar for ravishankarkota
0
96
Member Avatar for muthumari

Hi, Using enter key only,How to go to the next page in submit button(without clicking that button(onclick) , using the tabkey).Anyone can u help me..... Thank you

Web Development java-jsp
Member Avatar for sravanthi07
0
501
Member Avatar for iaaan

Hey, I'm uploading an SVG file, parsing the XML and then using PHP to redraw the image using the GD library. The SVG files are made with CorelDraw. Everything is going well, I can get the picture height, width, text and images. Just one thing I'm not sure about. Shapes …

Web Development php xml
Member Avatar for pritaeas
0
192
Member Avatar for xmassey

Hello, I am trying to print all the selected checkbox values to a textbox separated by commas (, ). However, the first value in the textbox always starts with a comma (, ) i.e. (, one, two, three) etc. My current script trys to check if the first 2 characters …

Web Development javascript
Member Avatar for dobriyalji
0
1K
Member Avatar for SunnySideUp

Hi, I am using Tiny MCE as a Textbox to get user generated input which can be bold, italic, underlined, lists and different alignments. When the user submits the form data the information is then saved to a variable like below: [CODE] $jobDesc = mysqli_real_escape_string ($dbc, $trimmed['txtJobProfile']); [/CODE] The I …

Web Development html-css mysql php session
Member Avatar for SunnySideUp
0
202
Member Avatar for suhnako

please help! we are going to develop a web-based learning management system..what programming languages should i use? including php.

Web Development php
Member Avatar for theausum
0
92
Member Avatar for himmat.m4

Hi, I have following ajax code so here I want to help to edit the code. I have servlet name is SendInfo.java. here feaches destination cities and add into Arraylist according destination city selected by dropdownlist listFrom then that Arraylist send back to displayCity.jsp and displayed in second dorpdownlist listTo. …

Web Development java-jsp javascript
Member Avatar for himmat.m4
0
94
Member Avatar for jonow

I know how you can send text messages through PHP like you send an email (explenation: [URL="http://venture-ware.com/kevin/?p=106"]Sending a Text Message (SMS) with PHP [/URL] and more info: [URL="http://www.stemkoski.com/sending-text-messages-using-php-for-free/"]How to Send Free Text Messages Using PHP[/URL]) but the person has to give their cell phone provider (ex: Sprint, AT&T, Verizon). I …

Web Development email php
Member Avatar for jonow
0
1K
Member Avatar for Sorcher

Greetings, I got no clue how to make / set a session. When i login on my page and then press a link i get out-logged, I've tried to read on PHP.net but i cant get it together. Anyone got an explaination or code i could go from to keep …

Web Development php session
Member Avatar for Sorcher
0
124
Member Avatar for gchurch

hey all i have 3 drop down boxes: one for the day, month and then the year. however i'd like to have it so that the person choosing the date can't choose a past date. In other words if they try choose for instance the 14th Oct when it's now …

Web Development php
Member Avatar for hielo
0
81
Member Avatar for itisnot_me

how would i find out if an number is in between certain values. ex number 33 Set values 0-10 10-20 20-30 30-40 output 30-30 thanks in advance

Web Development php
Member Avatar for diafol
0
88
Member Avatar for trilithon

Hi All, I need to create a dropdown box for a user to select a row from a table and populate the fields in a form for the user to update that row. What will be the best way to do this? Thank you in advance Max

Web Development php
Member Avatar for trilithon
0
140
Member Avatar for vartol

The code is posted below, the problem is that i get a parse error at line 80 (last line) and i cannout see why from my point is correct. Thanks. <?php function select_($sql,$select_name,$selected_value,$initial_value,$val1,$val2,$post) { $result=mysql_query($sql); ?> <select name="<? print $select_name;?>"> <? if(!empty($post)) { while($row=mysql_fetch_array($result)) { print'<option '; if($row[$val1]==$post) { print'selected="selected"'; …

Web Development php
Member Avatar for diafol
0
77
Member Avatar for benhowdle89

Hi, I'm doing a site for a client and they want a blog and an articles area. What i imagined doing was designing the homepage in html/css/jquery etc...and then install WordPress through cPanel for the blog and the article area. I have a choice i need some help with, do …

Member Avatar for sops21
0
186
Member Avatar for Sorcher

[B]Greetings![/B] Anyone here who can correct my code? I'm abit noob to PHP, just started learning. The Ban file function of mine does the echo but it wont stop the file upload. Any idea? have i inplented it wrong or do i miss a line? Love you long time if …

Web Development file-system php session
Member Avatar for Sorcher
0
220
Member Avatar for ultimatebuster

Currently I'm working on a microblog just to get familiar with PHP MySQL. I have a pretty big problem though. Here's the php code: [code] function get_all_users(){ $query = "SELECT * FROM ".$this->prefix."users"; if ($stmt = $this->prepare($query)){ $stmt->execute(); …

Web Development mysql php
Member Avatar for ultimatebuster
0
164
Member Avatar for MaSSaSLaYeR

Hellow! I'm having a problem to get the inserted values from the detailsview. I've tried the following things: [CODE] // Get Value from DropDown int TopicID = 0; foreach (DetailsViewRow row in ItemsDetailsView.Rows) { if (row.Cells[0].Text == "Topic") { DropDownList TopicDropDown = (DropDownList)row.Cells[1].FindControl("Topic_TopicIDList"); TopicID = int.Parse(TopicDropDown.SelectedValue.ToString()); } } MsgBox(CType(DetailsView1.Rows(1).Cells(0).Controls(0), Label)) …

Web Development asp.net web-server
Member Avatar for MaSSaSLaYeR
0
168
Member Avatar for farooq82

Hello Everyone, I am create a shopping application. I have load all products to gridview with a button with rowcommand event. When I click on add cart button the current row will be add to a object of girdview row. Now how will i get value of qty which is …

Web Development asp asp.net web-server
Member Avatar for guru_sarkar
0
134
Member Avatar for bloodyjoe

I have this problem, i have an upload and i would like to replace all spacing with no spacing, the problem is that i have used `$abcd = str_replace (" ", "", $abcd);` this should work but i dont know where to put it in or what parameters to use …

Web Development php
Member Avatar for imvivekkapoor
0
136
Member Avatar for designingamy

Hello all, I seem to be having a problem with pagination. I would like to have pictures and information in boxes pulled from the database, but have 4 of them in a row, making a total of 8 put on each page. Can anyone help me figure this out? Thanks …

Web Development php ui-ux
Member Avatar for designingamy
0
134
Member Avatar for Chosen13

Hello, I have a website Stickmin ([url]http://www.stickmin.com/[/url] if you want to check it out, just finished the style yesterday and I think it looks good, opinions?) I want to know the best way to handle user logins, should I make a dedicated class, user sessions, cookies, etc? Thanks...

Web Development php
Member Avatar for Chosen13
0
100
Member Avatar for malcolm2979

Hi there I have created a simple form for my assignment in Front Page(FP) Which has to submit info to a MDB file MDB file was created by FP its self. the thing is when i click submit it gives me a successful submit confirmation but when i open the …

Web Development asp html-amp multimedia session
Member Avatar for ArtistScope
0
202
Member Avatar for bobymathews

How can block url in asp? here i could only when the input is https://www.myopenid.com ie, when it starts with https://www.myopenid . But i want to block the input in the following cases 1) www.myopenid.com (here .com ,.in ,.org etc) 2) myopenid.com I give asp code below that i used: …

Web Development asp regex vbscript
Member Avatar for ArtistScope
0
151
Member Avatar for ErlendHL

Hi! My append code works for Firefox and Internet Explorer but not for Opera and Google Chrome. [URL="http://3rlend.com/pjatt/append.html"]Here[/URL] is the test page. In Opera I get this error in Dragonfly: [CODE]Uncaught exception: [object DOMException] Error thrown at line 3, column 16 in append(id, text) in http://3rlend.com/pjatt/append.html: var je = document.createElement('<span>'); …

Web Development javascript
Member Avatar for ErlendHL
0
95
Member Avatar for ErlendHL

Hi! [URL="http://3rlend.com/pjatt/JStest.html"]Here[/URL] is the test page. It works fine in Firefox and Google Chrome but not in Opera and Internet Explorer. If you don't have Firefox or Google Chrome, I can tell you how it should be: when you click an element, if should be lighter green, rolling out of …

Web Development javascript
Member Avatar for Airshow
0
137
Member Avatar for ryan311

i have a problem in uploading multiple file can anyone help me to solve this problem? here is my index.php [CODE]<!DOCTYPE html> <head> <title>MySQL file upload example</title> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> </head> <body> <form action="add_file2.php" method="post" enctype="multipart/form-data"> <input type="file" name="uploaded_file[0]"><br> <input type="file" name="uploaded_file[1]"><br> <input type="file" name="uploaded_file[2]"><br> <input type="submit" value="Upload file"> …

Web Development file-system php
Member Avatar for ryan311
0
190
Member Avatar for lsmith93

Just wondering but is there a way to include the meta tags from one page to another? The reason why i ask this is that i built a website using PHP Includes and want to include the meta tags so when i load index.php?id=About , it will load the meta …

Web Development php
Member Avatar for Borzoi
0
157
Member Avatar for Sunganani

Pretty new at php and working on my class project. I get this error code on my action page for my log in page plus, it does not redirect when the result is wrong. I still get into the members' area. Code below. Thanks "mysql_num_rows(): supplied argument is not a …

Web Development mysql php
Member Avatar for Brianbc
0
179
Member Avatar for baheer

<?php mysql_connect("localhost","username","password") or die ("Cannot connect" . mysql_error()); $dbname=$_GET['database']; $tablname=$_GET['tabname']; ?> <div id="stylized" class="myform"> <?php echo "<span class='db'>Table:" . $tablname . "</span>"; ?> <?php mysql_select_db($dbname); $q=mysql_query("SELECT * FROM $tablname"); if(!$q){ die("Query Failed!"); } $fields_num=mysql_num_fields($q); echo "<table><tr>"; for($j=0;j<$fields_num;$j++){ $fields=mysql_fetch_field($q); echo "<th>{$field->name}</th>"; } echo "</tr>\n"; while($row=mysql_fetch_array($q)){ echo "<tr>"; foreach($row as $cell){ echo …

Web Development php
Member Avatar for tanha
0
141
Member Avatar for facarroll

I know how to do basic forms. What I want to do is to pass a set value as a hidden field to accompany an input text value, and have both values entered in the database record. You can see in the code below that the form asks for names …

Web Development first-post php
Member Avatar for facarroll
0
102
Member Avatar for sundeep_g

Helo guys....I am very happy to intract with you all. can any one suggest me how to upload a image...i trie so many web site..here is my code.. uploadimage.php <?php define ("MAX_SIZE","10000"); define ("WIDTH","150"); define ("HEIGHT","100"); function make_thumb($img_name,$filename,$new_w,$new_h) { $ext=getExtension($img_name); if(!strcmp("jpg",$ext) || !strcmp("jpeg",$ext)) $src_img=imagecreatefromjpeg($img_name); if(!strcmp("png",$ext)) $src_img=imagecreatefrompng($img_name); $old_x=imageSX($src_img); $old_y=imageSY($src_img); $ratio1=$old_x/$new_w; $ratio2=$old_y/$new_h; …

Web Development image php
Member Avatar for sudeepjd
0
221
Member Avatar for pabzzmike

Hello, I need to rotate images in a website based on the time of day. Please help out with this code. regards, michael

Web Development image php
Member Avatar for liamfriel
0
119
Member Avatar for star_lavender

Hi. I want to create a search form using the drop down list and checkbox. First, the users have to select from drop down list whether they want to search by date or id. After that, for example, a new pair of drop down list will display for the users …

Web Development php
Member Avatar for theausum
0
190
Member Avatar for floatingDivs

Hi Daniweb, I have a question for you guys. I've been reading up on PHP security and want to get it down pat before embarking on some projects I wish to do. The question right now is about how to create a table with PHP that will enable SHA1 hashing …

Web Development php
Member Avatar for theausum
0
104
Member Avatar for ahmedeqbal

Friends, I’ve list of categories with url look like this ‘index.php?cat_id=1,2,3’ I want to rewrite my url as ‘demo-page.html’ However I want to be use here my page title in url page. How its possible? Waiting for reply...

Web Development php seo
Member Avatar for theausum
0
130
Member Avatar for mithesh

Hi can anybody help me wth whats the diff b/w php and a cake PHP ? Plsssssssssssss

Web Development php
Member Avatar for theausum
0
95
Member Avatar for muneer_alam

Hi,, My problem is that i have two table city and location.In city table i have 3 field city_id(Primary key),city_name,city_status where city_status is true or false.In location table i have 3 field also loc_id(Primary key),city_id,loc_city.i done a code in which city_name comes into drop down list from city table.my problem …

Web Development php
Member Avatar for xerilagang
0
3K
Member Avatar for himmat.m4

Hi, I working on OnlineTraveling project, here issue is whenever I choose source city from dropdownlist at that event only related cities would be comes in dropdownlist of Destination city. It should not need to goes to server, it would be happen on same page. I have done this by …

Web Development javascript
Member Avatar for himmat.m4
0
71
Member Avatar for yuvi2288

Hi, I have write the code to upload a file to database. I checked it by uploading a text document which is in my desktop and it is working and successfully uploaded to database. [CODE]File tomcat.txt has been uploaded and inserted into Database.[/CODE] But when I tried to upload an …

Web Development java java-jsp
Member Avatar for yuvi2288
0
330
Member Avatar for RykeTech

Hey everyone, been a while since I have been here but I need some advice in a bad way. Being new to PHP I am at wit's end with this one. I created a main website that displays images and info about the images. All of the images and info …

Web Development php
Member Avatar for RykeTech
0
159
Member Avatar for Agent Cosmic

Hi, I'm a beginner in the J2EE field. I've already learnt the basics of Java programming and now I'm moving on to web development. What I want to know is if I could skip learning JSP/JSF, servlets, EJB, JPA etc if I learn Wicket, Spring and Hibernate. I'm still not …

Web Development java java-jsp
Member Avatar for Agent Cosmic
0
118
Member Avatar for nukabolhi

I tried lot of way to pass the checkbox values from page 1 to page 2. But I only get successes on fruit id, how can pass the fruit charges. [CODE] // how can I pass room charges"$result[room_charges]" to page 2 // page 1 $sql=mysql_query("select * from fruit"); while ($result …

Web Development mysql php
Member Avatar for nukabolhi
0
145
Member Avatar for WaleedaaN

hi dear,,, i use this code facebox : [url]http://chriswanstrath.com/facebox/[/url] now i have first_page.html [CODE] example id: <?php $id = 1; //// 1 for michal jakson ?> <a href=\"page/play.php?id=$id\" rel=\"facebox\">Play music <a> [/CODE] now in play.php [CODE] <?php $song = "mj.mp3"; /// all my songs is mp3 ?> <center> <table border="0" …

Web Development audio flash javascript
Member Avatar for WaleedaaN
0
135
Member Avatar for eswar.aspire

hello, I am new to php and apache..any help is appreciated. I am designing a music website..I am designed the music player with flash.I have xml file like this where my flash player play the songs from the url..I have a folder named songs. <song> <track>Princess Song</track> <artist>Artist Two</artist> <url>songs/princess.mp3</url> …

Web Development apache php xml
Member Avatar for eswar.aspire
0
1K
Member Avatar for sakurayana

hye friends..... i need your help....i want to multiply 2 data.....the price from the database and the quantity from the textbox.....the total is in the textbox also.it should be like this price * quantity = total....so,i dont know how to do it....i've tried many ways but it stil error...by the …

Web Development asp.net
Member Avatar for kumar169
0
128

The End.