52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for arcticM

can someone share with me a link where I can download a free menubar? I just can't find anything that I can just take and paste in my project. I have my menu data in DB (not hardcoded in html) and I'm looking for a multi-level(atleast 3 levels) dropdown menu. …

Web Development html-css php
Member Avatar for diafol
0
282
Member Avatar for weemy

Hello, it's my first post here, i have a big issue "as i can see", i'm creating a cms script, and have a problem with image, that i want to make the clint chose any image and press submit, here i want to make a thumb of this image with …

Web Development cms image php
Member Avatar for diafol
0
151
Member Avatar for Begginnerdev

Hello my fellow Daniwebers, I have a question for you. I have an asp.net page that contains a structure that looks like so: <asp:MultiView> <asp:View> <asp:UpdatePanel> <asp:Panel> <asp:TextBox ID="txtStartDate" runat="server" AutoPostBack="true" /> <asp:TextBox ID="txtEndDate" runat="server" AutoPostBack="true" /> </asp:Panel> </asp:UpdatePanel> </asp:View> </asp:MultiView> The curious problem is that I can't reference the …

Web Development asp.net
Member Avatar for Begginnerdev
0
234
Member Avatar for andyy121

it show me this when i click the previw button to show the page how i can fix this? Warning: include(funck.inc.php): failed to open stream: No such file or directory in C:\xampp\htdocs\search\index.php on line 1 Warning: include(): Failed opening 'funck.inc.php' for inclusion (include_path='.;C:\xampp\php\PEAR') in C:\xampp\htdocs\search\index.php on line 1

Web Development file-stream php
Member Avatar for andyy121
0
584
Member Avatar for nativeshadow

I have a Flight Log for a small company. I have been able to figure out most of the needs but 2, using Adobe Acrobat 9 and Javascript. 1. I have a passenger manifest that needs a count...I am having a problem with figuring out the code for the counter …

Web Development cybersecurity javascript
Member Avatar for nativeshadow
0
187
Member Avatar for crazydevelopervish

I am working on a ShoppingCart.... I am keeping it simple .... I have One DropDownList Product_Id whose values r retrived from database.... My Table have Following Fields... Product_ID Product_Name Price Image So whenever user seelects a product_id from dropdownlist thats value gets added to the gridview which will display …

Web Development asp.net open-source
Member Avatar for crazydevelopervish
0
140
Member Avatar for DarkMonarch

hey guys, finally have some time to think about a personnal project. i want to create a stock screener, with some cross checks on data like oscillator, MACD, volume and moving average. my 1st step was to look around and see if they're was any finance API out there that …

Web Development api finance google-api php
Member Avatar for DarkMonarch
0
222
Member Avatar for rm_daniweb

Hi All, I just want to share my code. A lots of website said that php is on server side and javascript is on client side...they said we cannot run php on javascript... here's how we can run php function when you click call the onchange events on javascript. [code=php]function …

Web Development client-server javascript php
Member Avatar for talad
0
3K
Member Avatar for deovratb

Hi guys , I am new to php. I want to fill a mysql table which contains numerous fields.I need to develop four form on different pages and i need to insert all the values in the same table . any help will be appricited.

Web Development mysql php
Member Avatar for bettybarnes
0
50
Member Avatar for Violet_82

Hi there, I am in a bit of a situation. I have a few images that I have inserted in my html using javascript. The url of the images are stored as strings in json object notation and to access them in the script I had to have 2 nested …

Web Development javascript json
Member Avatar for Violet_82
0
138
Member Avatar for DaveyMoyes

Hi all, I have the follwoing pagination script that is working great, But, What I am trying to do is remove the page numbers from the script, Any help would be greatly appreciated - <?php /* Now we apply our rules and draw the pagination object. We're actually saving the …

Web Development php ui-ux
Member Avatar for DaveyMoyes
0
681
Member Avatar for HunainHafeez

i am done sign up form in asp.net but the problem is that how to put "captcha" facility in it ?

Web Development asp.net
Member Avatar for HunainHafeez
0
89
Member Avatar for reco21

Im grabbing a page with below. $homepage = file_get_contents('http://www.example.com/'); echo $homepage; How do I write it to a file.txt and overwite in the event the file exists ? Thanks.

Web Development php
Member Avatar for reco21
0
1K
Member Avatar for penet.biz

Hi, I have this code: <?PHP require ("connect.php"); //$db_handle = mysql_connect($server, $user_name, $password); =>$connect $db_found = mysql_select_db($_mysql_db, $connect); if ($db_found) { $SQL = "SELECT * FROM cheats"; $result = mysql_query($SQL); $i=0; while ($db_field = mysql_fetch_assoc($result)) { if($i%2===0) { $mesaj="<li><a href=\"{$db_field['Image']}\" class=\"pirobox\" title=\"{$db_field['Titlu']}\"><img src=\"{$db_field['Image']}\"/></a><p>{$db_field['Content']}</p><div class=\"button\"><pre><a href=\"#\">Read more</a> <a href=\"{$db_field['Download']}\">Download</a></pre></div></li>"; print ("$mesaj"); …

Web Development php
Member Avatar for abiec
0
118
Member Avatar for HasNor

Dear experties, I have a problem to insert checkbox value that called from database. How can I identify each checkbox's value? This is my code to show the checkbox. Dont know how to post the value to insert into database if checked. Please give me idea to solve it. Thank …

Web Development php
Member Avatar for HasNor
0
264
Member Avatar for geneh23

Hey everyone, So I know you all are probably getting tired me posting questions and are wanting me to look this up. I have looked and searched to my wits end.. I want to be able to gather my post id's (pid)'s and my album id's from different tables to …

Web Development php
Member Avatar for geneh23
0
527
Member Avatar for morrisproject

HI, Is it possible to be able to upload a load of images in one go from a camera, using there file name and saving them in to my database? I have created a table called images, with fields, image_num and image.

Web Development php
Member Avatar for diafol
0
460
Member Avatar for shuka79

Hi Guys I am currently setting up a cookie message to tell users of the site that cookies are being used (EU cookie law) I have managed to get this working on all desktop browsers, however I am having issues with mobile device ie iPhone, iPad, Galaxy tab etc I …

Web Development iphone php tablet web-browser
Member Avatar for diafol
0
280
Member Avatar for ag99110011

Type the following lines and save them as a.php <html> <body> <? echo "hello world"; ?> </body> </html>

Web Development php
Member Avatar for diafol
0
78
Member Avatar for NinjaMediaD

Here is my issue, I am really perplexed when it comes to string parsing and manipulation in php. I am writing a database driven inventory using mysql and php. One of the issues is that there are multiple people who are able (by company rule) to add to this database. …

Web Development php
Member Avatar for NinjaMediaD
0
154
Member Avatar for theundeadelvis

Hello! We have an older site that was recenlty scanned and shown to be vulnerable to cross-site scripting and SQl injection. It was suggested that we modify our code to use prepared statements/PDO. They even offered this as a sample snippit of code: $user = 'xxxx'; $pass = 'xxxxx'; $dbh …

Web Development pdf php
Member Avatar for Squidge
0
204
Member Avatar for rakibtg

i have a script which will fetch content from a website, what i wanna do is modify all that links. Suppose: $html = str_get_html('<h2 class="r"><a class="l" href="http://www.example.com/2009/07/page.html" onmousedown="return curwt(this, 'http://www.example.com/2009/07/page.html')">SEO Result Boost <b> </b></a></h2>'); so, is it possible to modify or rewrite it in this way> <h2 class="r"><a class="l" href="http://www.site.com?http://www.example.com/2009/07/page.html">SEO …

Web Development html-css php seo
Member Avatar for rakibtg
0
553
Member Avatar for persianprez

I have a variable variable defined, suppose: $array[1] = Hello World; $i = 1; ${"name" . $i} = $array[1]; I then have the following: $val1 = "Hello World"; However when I try to compare $name1 to $val1, they are never equal. I've tried all of the following: if ($name1 == …

Web Development php
Member Avatar for persianprez
0
162
Member Avatar for HunainHafeez

i want to put likes button in my website, yet its running on LOCALHOST (IIS). e.g FACEBOOK like button in showing likes , google+ button etc. how ?

Web Development asp.net google
Member Avatar for HunainHafeez
0
191
Member Avatar for klemme

I am trying to use function reference, to return values from an array inside an function. I need to echo info to 8 different places on a page, and was trying to do this by using a refernce. But havent much exp. in that, so as of now, I am …

Web Development php
Member Avatar for DarkMonarch
0
307
Member Avatar for 417linux

What I'm trying to acomplish is to have a list of years in a <form> with a checkbox for each year and let the user select what year applies to the post such as: 2008, 2009, 2012 (they might select 4 out of 5 years, not just one year). Then …

Web Development mysql php
Member Avatar for 417linux
0
250
Member Avatar for jasperuser

Hi all, I am new to Ext JS, I have tried 'drag and drop' and it is working fine when i drag rows. What I am trying now is dragging a row (a field from MySQL) from left grid and dropping it on right grid that gives data from database …

Web Development javascript mysql php
Member Avatar for jasperuser
0
207
Member Avatar for maxpaine69

Hi all i am doing a littl chat page for a internal site, but what i really whant to kno is how do i refresh all the users on tha chat page?

Web Development asp asp.net
Member Avatar for maxpaine69
0
89
Member Avatar for dfable

Hello, I'm sorry I bumped old and solved article, so I'm opening new. The problem is here: http://www.daniweb.com/web-development/php/threads/419063/updating-single-record-in-mysql-table-with-php-using-toggle-button This works fine, except that I have to click button two times the first time to change the status. later itr works fine. Anyone knows how to fix that? Thank You!

Web Development php sql
Member Avatar for dfable
0
109
Member Avatar for HunainHafeez

In my registeration form i have fields named country and city. I want that i select a country lets say USA then city field should show all the cities in USA. i know that i have to put all the cities in Database and then bind it to dropdown box …

Web Development asp.net
Member Avatar for HunainHafeez
0
110
Member Avatar for HunainHafeez

anyone plz help me with it...... i have a signup form in asp.net but the only thing left the facility to upload files to page (server) from hdd e.g pdf, docx, .jpg etc. now i am using localhost. how to do it ? ?

Web Development asp.net file-system pdf
Member Avatar for HunainHafeez
0
116
Member Avatar for poolean

Im sorry to bother all of you but im a complete retard when it comes to scripting etc. More to the point: I downloaded a completed script but im getting error Notice: Undefined index: input_name in \index.php on line 17 and Notice: Undefined index: input_text in \index.php on line 18 …

Web Development php
Member Avatar for poolean
0
208
Member Avatar for HunainHafeez

can i send Email via local host ? if have email class and every necessary elements. in php its not allowed . but in asp.net ?????

Web Development asp.net email
Member Avatar for HunainHafeez
0
80
Member Avatar for HunainHafeez

i want to execute Store procedure via asp.net code, behind submit button, (SIGNUP) and also for login . how should i run store procedure ? and store procedure is in DB(sql).

Web Development asp.net
Member Avatar for HunainHafeez
0
153
Member Avatar for jax001

CAN anybody help m please i need it fast create interface where user can enter animals that he/she is buying from list of partner on a single cattle receipt. All data must be stored into temporary data container where data will always be available to view and edit. Maximum width …

Member Avatar for blocblue
0
194
Member Avatar for bad.boy.Vlad

I have this code to showor hide a div when click on button.But... If you ckick button the div appear.. but when you click again the div doesnt dissapear:| Code: function infoshowhide(){ if(document.getElementById('info11').style.display = 'none') { document.getElementById('info11').style.display = 'block'; } else { document.getElementById('info11').style.display = 'none'; } } *and i need …

Web Development javascript
Member Avatar for bad.boy.Vlad
0
261
Member Avatar for klemme

I dont have the best knowledge to js ot Jquery, so here goes: I have some links, that returns false when clicked on. But still i want to add a class to the element being clicked, because it is kind of a tab thingie in a div, so for usability.. …

Web Development javascript javascript-jquery
Member Avatar for klemme
0
208
Member Avatar for bLuEmEzzy

Help me please I have a table with 9 columns After Column5, I want to have two rows in row1 = (Qualification) in row2, there are for columns(Ed, Tr, Ex, El) Thank You. <td rowspan="2"><b>Col5<b></td> <tr><td colspan="4"><b>Qualification</b></td></tr> <td><b>Ed</b></td> <td><b>Tr</b></td> <td><b>Ex</b></td> <td><b>El</b></td>

Web Development php
Member Avatar for bLuEmEzzy
0
490
Member Avatar for dante123

Hi i have a menu in an include php file: <div id="menu" > <?php // include functions include_once('includes/functions.php'); // array to hold top menu $top_menu_items = array( 'index.php' => array('text' => 'Home'), 'about.php' => array('text' => 'About'), 'contact.php' => array('text' => 'Contact') ); // call the function that draws the …

Web Development php
Member Avatar for diafol
0
150
Member Avatar for Raakesh399

hi everyone i need your help in making course timetable algorithm in php?

Web Development php
Member Avatar for Raakesh399
0
132
Member Avatar for Village Idiot

I am fairly new to asp.net, I am trying to connect to a sql (mysql prefferably) database, it must be using C#. I have been searching all of yesterday and today, I cant figure out how. Could someone help me here (if this has been asked, please point me to …

Web Development asp asp.net c# sql
Member Avatar for cristine.y07
0
226
Member Avatar for Djmann1013

I am having trouble with this code: This is the init.inc.php file <?php //init.inc.php file session_start(); $exceptions = array('signup', 'login', 'index'); $page = substr(end(explode( '/', $_SERVER['SCRIPT_NAME'])), 0, -4); // SQL stuff. mysql_connect('SQL host','username','password'); mysql_select_db('database name'); include('user.inc.php'); //$_SESSION['uid'] = 1; if (isset($_COOKIE['username'], $_COOKIE['password'])){ if (valid_credentials($_COOKIE['username'], $_COOKIE['password'])){ $_SESSION['username'] = htmlentities($_COOKIE['username']); setcookie('username', $_COOKIE['username'], …

Web Development php web-browser
Member Avatar for Djmann1013
0
318
Member Avatar for programmer12

Hi, I am trying to create a jquery fadeIn from an external file. I am using AJAX and PHP (see below) 1st snippet is the notify.php file. 2nd snippet is the external file called random.php My question is: Where and How should I add in the Jquery to perform this …

Web Development javascript javascript-jquery
0
69
Member Avatar for philjon-aris

Im a newbie in PHP and I want to create a simple webpage app for my website, I was able to produce this page base on a tutorial here. <?php $con = mysql_connect("localhost","*****","*****"); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("*****", $con); $result = mysql_query("SELECT * FROM …

Web Development mysql php
Member Avatar for philjon-aris
0
904
Member Avatar for hallianonline

Hello, I want to set the default backgournd color to transparent but getting white color when i set it to transparent please check the line 26 ( **defaultBgColor: '#e5e5e5**') and 143 ( **backgroundColor: settings.defaultBgColor** ) of my code and please fix it for me please thanksss (function($) { var methods …

Web Development javascript javascript-jquery
Member Avatar for hallianonline
0
208
Member Avatar for escalanterj

Hello everybody, I have a login page which uses sessions to go to different pages and still allow the user to login when he returs to the initial logi.php page, but now I have implemented the different languages and I realize that whenever I hange the language (which is also …

Web Development php session
Member Avatar for escalanterj
0
539
Member Avatar for devianleong

Please help me..I've the following code and I entered an account number in bank account number field but in database was changing the value. what's wrong? My input in bank account number field is :112046067391 but the output is :2147483647 In database I set it to int(20) but still the …

Web Development php
Member Avatar for iamthwee
0
148
Member Avatar for rakibtg

My PHP script can fetch content from a div id, but what is the way to filter this fetch data and exclude some of its content which has this div id `<div id="navbar" class="n">content here content here</div>` I have tried with this code but its not working $regex = '#\<div …

Web Development html-css php regex
Member Avatar for rakibtg
0
876
Member Avatar for Navlag

I'm new to PHP and was given a code snippet that looks like this: { $DB = new DB('xxxxxx','oooooo','gggggg'); $return_result = false; $this->clear_data(); $m = new xmlrpcmsg( 'ldapxml.authorize' , array( new xmlrpcval($user_name, "string") , new xmlrpcval($password, "string") ) ); // this is just a temp server for now $c = …

Web Development php
Member Avatar for Squidge
0
185
Member Avatar for ajay.motah

hi, i am new to jquery though im learning,together with ajax. I have the following script that displays a modal login form after cliking on login_link. But for my web page, i used the .load to load content in the main content div, so whenever this code is placed the …

Member Avatar for blocblue
0
427

The End.