52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Jfunch

I have cart that sends its information to paypal with the hidden html inputs. My problem is when the user finishes the payment in paypal my script the the paypal return sends its return url is not processing the information. When the user clicks pay in paypal it does redirect …

Web Development assembly pay-per-click php
Member Avatar for LastMitch
1
422
Member Avatar for Scribbller

Format a local time/date according to locale settings

Web Development php
Member Avatar for LastMitch
1
218
Member Avatar for Dani

I currently have SVN down pat in Zend Studio. However, I can't figure out how to upload the changed files?

Web Development php
Member Avatar for Dani
1
253
Member Avatar for kingakeown

hey guys, i need help. am trying to connect my report viewer to mysql database through asp.net using vb.net codes. i want to do it through codes...including the parameters, filtering and generating the report as well...tanx..anybody with help????

Web Development asp asp.net
Member Avatar for LastMitch
1
173
Member Avatar for piers

Hi, I am trying to create toggle buttons for a page with profiles in. I have around 60 buttons on the page and want to try not to define the click function 60 times: $(document).ready(function(){ $(".button1").click(function(){ $(".1").toggle(); }); $(".button2").click(function(){ $(".2").toggle(); }); $(".button3").click(function(){ $(".3").toggle(); }); $("p").css({display: "none"}); }); So I was …

Web Development javascript javascript-jquery
Member Avatar for piers
1
1K
Member Avatar for atikah8890

Hi all. I'm doing a page for multiple choice questions. The question and answer choice are in two separate database tables (question and answer). The layout of the page is like this: Question 1 Answer choice (4 or 2 radio buttons) Question 2 Answer choice (4 or 2 radio buttons) …

Web Development php
Member Avatar for atikah8890
1
594
Member Avatar for George_91

I'm creating a website which requires a Login. When it logs in the system it creates a Session. But I don't know how to validate my next page. Because if the user types the name of the second page in the browser, it enters without problem. What I want is …

Web Development http-protocol php session
Member Avatar for Webville312
1
23K
Member Avatar for PixelatedKarma

Hey guys and gals, I know I could probably be posting this on the Joomla forums but I have come here instead to get a clear explanation from this community because it has always delivered great results in the past. My curiousity on how Joomla's index.php works is getting the …

Web Development cms php
Member Avatar for broj1
1
1K
Member Avatar for pritaeas

I came across this plugin called [baraja](http://tympanus.net/codrops/2012/11/13/baraja-a-plugin-for-spreading-items-in-a-card-like-fashion/) by accident. Looked interesting enough to share.

Web Development javascript
Member Avatar for Dani
1
94
Member Avatar for coder91

Hi I am a student at university on my placement year, but a friend's boss has asked if I would be able to design their website for them. I know how to design a website i've experience designing a website using Dreamweaver in high school, HTML, CSS, JavaScript and PHP …

Member Avatar for JorgeM
1
197
Member Avatar for chr.s

Hi, I'm after some thoughts and opinions regarding the navigation/behaviour of a portion of a site I'm working on. The site is a shop, which is built with the Big Cartel framework, and is my first attempt at using more than just a couple of lines of javascript - or …

Web Development javascript javascript-jquery
Member Avatar for chr.s
1
352
Member Avatar for pucivogel

I am following this tutorial http://www.css-resources.com/code-for-php-photo-gallery.html to create php photo gallery but i get errors undefined index photos, categories and cy when i run this code, it gets the category names in a textarea and adds them in the db, in the output also says no database selected but i …

Web Development cms html-css image php
Member Avatar for michel.cote
1
314
Member Avatar for johslind

I'd like to share with others a discovery I made about using meta tags for other purposes than SEO. My issue was to have a number of articles shown in exactly the order I wanted them to be listed. I also wanted that certain articles shoule be shown as subarticles …

Web Development php seo
Member Avatar for diafol
1
127
Member Avatar for guyinpv

Hi guys, I'm looking for comments and suggestions regarding the use and place of jquery/ajax in site development. I know jquery allows a lot of cool stuff and so does ajax, but when a site becomes heavily based on these tools, the use of PHP dwindles. I am used to …

Web Development javascript javascript-jquery php
Member Avatar for guyinpv
1
459
Member Avatar for jaimin4829

**what is the use of place holder in asp.net visual studio 2010?**

Web Development asp.net visual-studio
Member Avatar for GanesanManju
1
170
Member Avatar for jakizak

Hi everyone, Let me first explain the idea: I have a JSON document which has the following structure: { "timeline": { "headline":"Example Content", "type":"default", "text":"Example Content", "startDate":"2013,1,1", "endDate":"2013,1,28", "date": [ { "startDate":"2013,1,10", "headline":"Example Content", "text":"Example Content", "asset": { "media":"Example Content", "credit":"", "caption":"" } }, { "startDate":"2013,1,14", "headline":"Example Content", "text":"Example Content", …

Web Development data-structure json php
Member Avatar for AleMonteiro
1
163
Member Avatar for Echo89

Here is a fully working PHP page viewer, set the variables $pages[] = "ANY URL HERE"; to suit your needs, and change the variable $max = 10; to however many views you want for each $page. -Echo

Web Development php
Member Avatar for Echo89
1
454
Member Avatar for Hendo

Hello all, I'm trying to have a multi-colored border for a generated table on my website. The table is a 2 column, 18 row table, and I want the top 6 rows to be bordered in green (or cell shading in green), while the rest of the table uses the …

Web Development php
Member Avatar for Hendo
1
232
Member Avatar for diafol

Hi All, Just to say that I've searched DW and Google extensively before posting here. Also looked at the jQuery site, but failed to find exactly what I'm looking for. Anyway here's the thing: I have a button on a form, that when it's pressed inserts some new inputs (textboxes) …

Web Development javascript javascript-jquery
Member Avatar for diafol
1
250
Member Avatar for <M/>

I have a php file that reads a csv file and pulls the data and displays it on the site. But unfortunately I don't know why it creates an extra line which sets the counter to go wrong... How do i fix that? This is my code: <style> table{width:100%; border-collapse:collapse; …

Web Development php
Member Avatar for <M/>
1
1K
Member Avatar for vibhaJ

I was struggling long for proper image resize function for maintaining image ratio. Finally i end end up with merging and changing all codes and it works ! function resizeImage($sourceFile,$destFile,$width,$height) sourceFile => Full path along with filename destinationFile => Full path along with filename I hope this will help coders..

Web Development image php
Member Avatar for diafol
1
338
Member Avatar for codedome

I need my php application to be able to work with biometric device, such as fingerprint scanner. I need ideas/resources, pls.

Web Development php
Member Avatar for diafol
1
840
Member Avatar for jairuz.com.ph

I have 2 tables: tblUser: +------+-----------+ | id | Name | +------+-----------+ tblItems(this table accepts multiple checkbox value depending on how many user selected): +------+-----------+---------------+ | id | items | name_id | +------+-----------+---------------+ `name_id` will get the value of `id` in `tblUser` I use this code to get the value …

Web Development mysql php
Member Avatar for simplypixie
1
200
Member Avatar for akvlko

Hi Friends, I am working on a project which have the below requirements: 1. Each module can have a communication medium with other world as an API. 2. A router will be there to communicate with each of the module via their APIs using CURL or anything else. 3. Each …

Web Development api php
Member Avatar for LastMitch
1
274
Member Avatar for OsaMasw

Hello guys, i have problem with regular expression , I have search box, I tried to enter (',#,$,%,^,&,"star",@,!,") or any other special charachters, it give me the whole database items, so i want to limit the enrty to only letters [a-z] numbers [0-9] and arabic charachters [ا-ÙŠ] or to be …

Web Development php
Member Avatar for OsaMasw
1
233
Member Avatar for veedeoo

Hello Everyone, I got bored reading PHP questions. So, this is probably the best time to add another article here at daniweb.com. If someone ever stumbled upon by boring blog (mini-tutorial), I talked about how light and simple is the tinybutstrong templating engine. However, I began to wonder why not …

Web Development html-css php
Member Avatar for diafol
1
1K
Member Avatar for arcticM

i added the draggable functionality to one of my divs using the jquery-ui draggable like in their example here http://jqueryui.com/draggable/ so if the draggable div has text inside it `<div id="draggable" class="ui-widget-content"> Drag me around</div>` how can i enable the option of being able to select the "drag me around" …

Web Development javascript javascript-jquery
Member Avatar for AleMonteiro
1
248
Member Avatar for AndreRet

I have the following code which works just fine... $result = mysql_query("SELECT * FROM test_prefixvehiclefeatures ORDER BY Feature ASC"); $count = 0; echo "<table border='1'> <tr> <th>Select a Feature</th> </tr>"; while($row = mysql_fetch_array($result)) { $count = $count + 1; echo "<tr>"; echo "<td>" . $row['Feature'] . "</td>"; echo "<td><img src='images/unchecked.png' …

Web Development php
Member Avatar for AndreRet
1
196
Member Avatar for HunainHafeez

i have an ajax Calender extender along with textbox in gridview, it works fine, when i select some date from calendar then it tranfers date to textbox and after clicking Update button in gridview , it sends date to database , Fine but when i don't select any thing from …

Web Development asp.net mssql
Member Avatar for JorgeM
1
268
Member Avatar for seanmc23

Hello, All ... I have an HTML file which contains pages of formated text, all within a <p> tag, which has an onclick call to a jscript function. This function gets mouse cursor position at the click event, then passes this position to elementFromPoint(pos.x,pos.y) to return my element object, which …

Web Development javascript
Member Avatar for Seyferx
1
2K
Member Avatar for diafol

Hi, I've been playing about with native classes and looking to extend them - well just the DateTime class actually. I was hpong that there would be a way to avoid using a constructor, but I can't seem to figure out how to store a 'startup' timestamp, `u` without it. …

Web Development php
Member Avatar for diafol
1
1K
Member Avatar for dodgers125

I've been at this for quite some time and just can't figure it out.I have a html table and have to find the total sum of the values in the $total/Sale Cost (last) row. Can anyone help me out or point me in the right direction. Code below: <?php print …

Web Development html-css php
Member Avatar for adam.adamski.96155
1
232
Member Avatar for Asan23

im trying to do a mouse over and a onclick swap imag and i cant seem to get the code right and working here is my html code <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>assignment 2 cis 154</title> <link href="style.css" …

Web Development html-css image javascript
Member Avatar for radow
1
783
Member Avatar for 68thorby68

I have been reading lots about the use of cookies and session id's but keep thinking i'm missing something. I currently set cookies when users login and add things like the users database id or email so I can retrieve their details when needed, and for forms, but I don't …

Web Development php session
Member Avatar for 68thorby68
1
183
Member Avatar for mattsearle

Hi I have discovered the script below which I would like to work with buttons as opposed to hovering and clicking on the text. <div id = "div1" style="display:block" onclick = "replace()">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam ipsum leo, scelerisque at dapibus ac, consectetur vel ipsum. </div> …

Web Development javascript
Member Avatar for mattsearle
1
9K
Member Avatar for bradly.spicer

OK! so I got this code working, HostGator ended up allowing my sockets etc and it worked!!! However this lead to more problems... <?php /* Plugin Name: Server Status Plugin URI: http://minepress.co.uk Description: Server Status Plugin Author: Bradly spicer Version: 1.0.0 Author URI: http://minepress.co.uk */ class ServerStatus extends WP_Widget { …

Web Development php wordpress
Member Avatar for bradly.spicer
1
309
Member Avatar for iblend

I have a form that populates the country field dynamically using AJAX: http://interactiveblend.com/ajax/dynamic.html As you can see, this drop down is too long and runs off the bottom of the page. When I hard code the select list, it looks fine - http://interactiveblend.com/ajax/static.html Any idea on how to make the …

Web Development javascript
Member Avatar for GliderPilot
1
185
Member Avatar for jaysh4922

hi frnds..can you give some idea about php training.how to start in online or any institute

Web Development mysql php
Member Avatar for jaysh4922
1
105
Member Avatar for Echo89
Member Avatar for akvarel1

I was following RailsCasts tutorial JQuery Uploading and I ran into difficulties. I would like to be able to select several files, preview only the name of the files on the website, remove those, which where selected by mistake and only then upload the neccessary ones in Ruby on Rails. …

Web Development github javascript-jquery ruby
Member Avatar for akvarel1
1
301
Member Avatar for daimaku

i'm trying to make a script to calculate the diference between two dates, but in minutes, the thing is that i need to remove from mysql database all the entries that has mora than 15 minutes on the database, i'm planing to run the script in background using the cron …

Web Development php
Member Avatar for LastMitch
1
198
Member Avatar for ctrenks

Having built many web applications with ajax / php / mySql I was presented with a "simple" task form a friend of mine. We built a database of every MTG card for a website, then figuerd we have all this data lets build a simplr "tabletop" emulator to play between …

Web Development html-css javascript
Member Avatar for AleMonteiro
1
192
Member Avatar for zendet

I have wordpress installed. http://www.mindbunker.com I have no plug ins installed and dont know what to do. I have tried Godaddy, tried wordpress support. basically you guys are my last resort! It appears at the top of the page and I dont know how to get rid of it, its …

Web Development php wordpress
Member Avatar for LastMitch
1
223
Member Avatar for Yorkiebar14

Hello, I am making a website to do with different tests so I need a script which can unlock test 2 after test 1 is completed. Then the same for 3, then 4 etc etc. I tried using MySQL to increase an INT so I could tell what the latest …

Web Development mysql php
Member Avatar for Yorkiebar14
1
304
Member Avatar for arcticM

if a user opens my website url (x.com) how can I prevent him from opening the same url (x.com) in another tab/window? (another browser is ok) my application is all ajax, so there are no different links, the content of the page just changes all the time, and I can't …

Web Development php
Member Avatar for adam.adamski.96155
1
114
Member Avatar for greenbluekidz

I have been asked to create a webform for my company to replace an excel document we use. Basically it is an interval report that gets filled out and emailed to all upper management. The webform layout is the same as what we would have used in Excel. The whole …

Web Development javascript
Member Avatar for greenbluekidz
1
1K
Member Avatar for Dendei

Hello, so im trying to send an metod that takes a class as input parameter with a bunch of variables. I want to write in some textboxes in my php side of the program send them with my class and into a database. but the database part is no problem …

Web Development c c# c++ php
Member Avatar for Dendei
1
968
Member Avatar for rjony321

Hello,I am starting PHP.So please help me.This code for a simple convertor in php just convert Dollar to local currency.here my **Elseif** not correctly working.here is code: <html> <head> <title>currency Convert</title> </head> <body> <form action="" method="POST"> <table> <tr> <td> <lebel>$</label> <input type="text" name="amount"/> to <select name="form"> <option value="taka">taka</option> <option value="rupe">rupe</option> …

Web Development html-css php
Member Avatar for Bachu
1
217
Member Avatar for jacob21

Hi, I want to check query execution time. I used microtime(),time() but not getting accurate result. I also read about mysql slow_query_log but not able to find how to change settings in PHPmyadmin. Need suggestions

Web Development mysql php
Member Avatar for pritaeas
1
167
Member Avatar for cssweb

when i submitted the form i get this error on my site but i am sure of the config 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 '' at line 1 <?php mysql_connect('localhost','ali_root','kingstone2012')or …

Web Development php sql
Member Avatar for cssweb
1
239

The End.