52,566 Archived Topics
Remove Filter ![]() | |
can you help me , please i want read a file pdf or word -> swf , use php code . it's look like "http://d3.violet.vn/uploads/previews/598/665006/preview.swf" | |
Hello, I'm converting a HTML/PHP website to wordpress. I'm showing real estate listings on the Google Maps. I've been able to sort out all the problem when converting to wordpress but I'm stuck at a point. Here is the code; [CODE] parameters: function() { var result = {}; var url … Web Development javascript wordpress | |
i have following code [CODE]<div id=date_check visible=true runat=server> <strong>Check-In Date</strong> <%-- <asp:TextBox ID="txt_checkin" runat="server" onchange="checkdate(this);"></asp:TextBox> <a href="javascript:calendar_window=window.open('calendar.aspx?form1=form1.txt_checkin','calendar_window','width=554,height=488');calendar_window.focus()"> <img alt="" src="images/calendar.png" /> </a> --%> <asp:TextBox ID="txt_checkin" runat="server"></asp:TextBox> <ajaxtoolkit:CalendarExtender ID="Calendarextender1" runat="server" OnClientDateSelectionChanged="checkDate" TargetControlID="txt_checkin" Format="dddd, MMMM dd, yyyy"> <%--<input runat=server type="text" id="txt_checkin">--%> <strong>Check-Out Date</strong> <asp:TextBox ID="txt_checkout" runat="server"></asp:TextBox> <ajaxtoolkit:CalendarExtender ID="Calendarextender2" runat="server" OnClientDateSelectionChanged="checkDate" TargetControlID="txt_checkout" Format="dddd, … | |
Ive used date() before but I do not remember how to store it in mysql. VARCHAR, TEXT, TIMESTAMP? | |
Hello daniweb users, i would like a brief walk through on AJAX if you'll can, i already looked through the post and didn't find what i was looking for, i would like to know how to refresh evertying on a web page but the header, which contains the navigation bar … Web Development javascript web-design | |
Hello Everyone, I created a javascript function to show/hide element id. In the code, the detail row will be show when its header row is clicked and the detail row will be hiiden after the hyperlink is clicked. Can you give any advice on how to show/hide the detail row … Web Development javascript | |
I have a foreach loop, within which I would like to create x number of unique variables. E.g. Upon each iteration I'd like to create a new variable like: $strDisk1 = ... $strDisk2 = ... $strDisk3 = ... I have tried the following but this does not work: [CODE] <?php … Web Development dataset php programming-construct | |
Hello! I've come across a little problem with Regex, I was hoping someone might see the problem off hand. Here is some sample content I am searching through, It's the gameshark codes for PEC: [code] #Ace Combat 3 Electrosphere#SLPS-02021#SLPS-02020 §N Joker Command D00BF32E ???? "Infinite Time for battle D0054332 2442 … Web Development open-source php regex | |
I want to insert wp-survey-and-quiz-tool code in wordpress page using href tag, so that the quiz only comes up only when link is clicked. But the problem is whenever i use this shortcode, it automatically starts the quiz.Please provide the possible solutions. [CODE]<a href='[wpsqt_quiz name=Memory]'>Memory Allocation</a>[/CODE] | |
how to set avatar to my profile page .anyone help me for set my avatar image path in my profile page. [CODE] <?php require 'connect.php'; $userg = mysql_query("SELECT avatar FROM members") or die("Failed to fetch your details."); if (isset($_SESSION['MM_Username'])) { echo "Welcome ".$_SESSION['MM_Username']; echo "<img src=".mysql_result($userg,0,"avatar" )." width=200 height=200>"; } … Web Development php | |
Greetings I have this page, which will have a slider gallery based on the EasySlider plugin [URL="http://fantasma98.byethost12.com/restaurante/galeria.php"]http://fantasma98.byethost12.com/restaurante/galeria.php[/URL] The problem I'm having is that, I don't know how to display a title and a description of the given image (been trying for hours to move positioned divs to display it). I … Web Development display html-css javascript javascript-jquery queue | |
I have just finished my php basics from "complete reference" but it also has a section of Ajax.I want to know what is the relevance of ajax in php web pages.Also I want to know where can I learn advanced php from so as to build dynamic web applications? Web Development php ![]() | |
Below code is what i found from a search in daniweb forum. ([URL="http://www.daniweb.com/web-development/php/threads/253997"]Link[/URL]) Suppose i have a taxonomy called [B]Color[/B] and terms are [B]Blue[/B], [B]Green[/B], [B]Red[/B], [B]Yellow[/B], [B]White[/B]. I want when i select Blue, Green and Red and click submit button, i want to get ALL posts those have Blue … | |
hello... i want ot select multiple vakues from dropdown and insert into database. but it is not working. any one plz help. and one thing when ever i retrive values from database selected values come in top of the dropdown and remaing values are come in bottom of the dropdown. … Web Development php ![]() | |
Uhh... well I'm not really expert into SQL Injections Prevention so I had an Idea of putting the Admin accounts in a PHP file... for example [CODE="PHP"] <?php $_ADMIN[1244]["username"] = "root"; $_ADMIN[1244]["password"] = "345dfgAFKgfmsdfS"; ?> [/CODE] I think that in doing this it will prevent Hacking of Admin accounts... what … Web Development php ![]() | |
Hi All, I have a page with a PHP insert form that posts relevant info to the SQL database. At the same time the key value "reg_id" is auto incremented by the DB. How do I get new auto incremented value that has been posted so that I can use … Web Development php | |
hi everyone l see this code in user script and i don't know why he use this ~ symbol the code is [CODE]if( ~$user->premission & USER::create_Forum){ ................... }[/CODE] is this symbol for negative or what i still wait any idea about it Web Development php | |
[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>Untitled Document</title> </head> <body> <script type="text/javascript"> function Logout(){ document.location.href="index.php" } </script> <?php $host="localhost"; // Host name $username="root"; // Mysql username $password=""; // Mysql password $db_name="*******"; // Database name $tbl_name="*******"; // Table name // Connect … Web Development php | |
hello guys i want a drop down menu for the month,year and days in case of DATE OF BIRTH. I HAVE done this thing with jquery datepicker but i want a dropdown menu for it..please help me here is my code i want to use drop down menu but figuring … Web Development html-css javascript javascript-jquery ![]() | |
suppose there is a datatable (in asp.net,not sql database table) with 3 columns col1 col2 col3 high cool no high normal no low cool yes low normal no high dry yes low dry yes column values are like these. col3 name is already known. suppose col1 is selected now.then how … Web Development asp.net | |
Hello, I have a page where i can upload images. Now i need to copy the uploaded images to a third party server. I have the details of that page. so can anyone help me. Thank You. Web Development php ![]() | |
I have in sql database in table price ,path who leads to images on a Web Server, hava i show image in web page with sql query ? Web Development asp.net image sql web-server | |
Hi, I need help with PHP/javascript/mysql I am fairly new to this so excuse me for my bad programming skills. I have PHP page which has to update mysql table and HTML table onclick. It updates HTML table ok but as soon as I refresh page it updates all data … Web Development javascript mysql php | |
I have a website in asp.net developed by some one else, i have made some improvements and now facing problem while uploaded [ [url]www.ict-m.com][/url] this site is running well on localhost. scenario : all files has path starts with /ictm/../../*.aspx 1: i created a folder on root directory with name … Web Development asp asp.net assembly data-protection encryption html-css session visual-studio | |
please can you help me for define image size and width on this code [CODE] <?php require 'connect.php'; $userg = mysql_query("SELECT avatar FROM members") or die("Failed to fetch your details."); if (isset($_SESSION['MM_Username'])){ echo "Welcome ".$_SESSION['MM_Username']; echo "<img src="; echo mysql_result($userg,0,"avatar" ); echo "></img>"; } ?> [/CODE] | |
my code for show avatar but image not display . how to correct the code [CODE] <?php require 'connect.php'; $userg = mysql_query("SELECT avatar FROM members") or die("Failed to fetch your details."); if (isset($_SESSION['MM_Username'])){ echo "Welcome ".$_SESSION['MM_Username']; echo "<img src="; echo $userg; echo "></img>"; } ?> [/CODE] | |
Hi I have been trying to implement the zooming of images on mouse over but could not do it because: 1) I am not doing the 'list' kind of display of images. 2) I dont want other images at several positions to be distorted while one image zooms. 3) I … Web Development image javascript pc-peripheral | |
Once again foreach lops are driving me mad. I have a simple multiple select list, where ther user can select one or all of the options [CODE] <form name="checkdata" id="checkdata" method="post" action="test.php"> <label> <select name="sport[]" size="6" multiple="multiple"> <option value="FOOTBALL">Football</option> <option value="CRICKET">Cricket</option> <option value="TENNIS">Tennis</option> <option value="SWIMMING">Swimming</option> </select> </label> <input type="submit" name="submit" … Web Development php | |
Hi everyone, I am using netbeans 6.8 version. I was trying to learn servlet by working around.So i created a html file ,in which i placed a form whose action is given as "login.java" which is a servlet file. But when i run the program and click on the button … Web Development java-jsp java-netbeans | |
Hi, I am working on a website and I am having trouble with the index bar. Perhaps this is the way it's supposed to be but I though a PHP meant only having to have one file for all the pages. So, When I click to a link that gets … ![]() | |
Hi folks, I have an existing shopping cart for a print company that allows users to proof labels select qty and send them to a cart. We'd get an email and we'd contact the client for an over the phone payment. We want to use Paypal and I'm curious if … Web Development php | |
Hi. I'm not sure if this is possible or not, but I need to be able to SELECT * FROM all the tables in the database. Is this possible? Thanks! | |
Any chance the wonderful people here on daniweb could help me again with a loop? My apologies, loops are not my thing :| Basically what I'm trying to do is add a condition where on the last tweet (that is where the loop = $nooftweets), that tweet gets a different … Web Development php | |
I'm looking for a good vanity url for my website... i wish to have the following type of url for my website:- [B][url]http://www.myweb.com/topic_name/123[/url][/B] where the original query string is [B][url]http://www.myweb.com/topics.php?title=topic_name&id=123[/url][/B] I tried to get the scripting from many websites, but none gave me want I wanted... So i've approached daniweb. … ![]() | |
[CODE] <?php include("connect.php"); echo "<h1>Register</h1>"; $submit = $_POST['submit']; $name = strip_tags($_POST['name']); $email = strip_tags($_POST['email']); $password = strip_tags($_POST['password']); $confirmpassword = strip_tags($_POST['confirmpassword']); $level = 0; if ($submit) { $namecheck = mysql_query("SELECT email FROM users WHERE username='$username'"); $count = mysql_num_rows($namecheck); if ($count>0) { die("Email address is already taken!"); } else if ($email&&$password&&confirmpassword) { … | |
Hello, I have installed a site locally (apache 2.2) and I am now adjusting the settings. I have set my include_path like this : [CODE]set_include_path(get_include_path() . PATH_SEPARATOR . PATH_LIBRARY);[/CODE] When I try to include files from directory beneath the include_path, I get a fatal error, and I get the include_path … | |
Hi all, I've pulled most of my hair out over the last few days and need some help. Description: I am creating a db application with dreamweaver and using php and mysql server behaviour. My database consists of losts of many to many tables that are necessary. I have created … | |
So I'm trying to create one central file for my navigation which is used across my site; however, some of the pages are in different directories. So, for example , let's say I have the following directories -- domain.com/ domain.com/dir1/ domain.com/dir2/ If I wanted to use the same include between … Web Development php | |
Can someone present me an example which implements the three tier architecture in PHP. Let's say I have a class student with the fields ID and Name. I want to enter the student ID and Name through a web form and save it to the database. Could someone show me … Web Development php | |
hello guys i am trying to add jquery datapicker function but its not working.here is the code.... [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>Untitled Document</title> <link rel="stylesheet" type="text/css" href="css/stu.css" /> <style type="text/css"> <!-- .style1 {color: #C0C0C0} --> </style> <script … Web Development html-css javascript javascript-jquery printer ![]() | |
Nowadays i'm working very hardly on one prohect - mini social network with some advantages: You can generate tree style map ([url]http://goo.gl/ZP5yc[/url]) of all relationships of user. For example B, C, D are friends of A. On profile page of A when you click on "generate" button it shows A … Web Development javascript javascript-jquery mysql php | |
Hey, I have started learning Javascript programming, I wrote these two codes and it thy are not working, it shows a blank page when i load those files. Please help. [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>Untitled Document</title> </head> <body> … Web Development javascript | |
I load the the grid(Grid is editable), having Price-Quantity-Amount columns. I want to change Amount when I change Quantity.I want to do it at clientside. Any suggestions? [CODE] <asp:UpdatePanel runat="server" ID="UpdatePanel1"> <Triggers> <asp:AsyncPostBackTrigger ControlID="btnOk" /> </Triggers> <ContentTemplate> <asp:GridView ID="gdv_QuotItems" runat="server" AutoGenerateColumns="false" OnRowDataBound="gdv_QuotItems_RowDataBound" EmptyDataText="No Items To Load."> <Columns> <asp:TemplateField HeaderText="Price"> <ItemTemplate> … | |
I have a class in which there is a print method to print the output.the code is given below. [CODE] public class class1 { public void printNode(TreeNode root, string tabs) { string rootnode; string childnodes; rootnode = tabs + "| " + root.attribute + "|" + ":"; StringBuilder sb = … Web Development asp.net | |
In my project, I have a page which having, Ajax PopupExtender,UpdatePanel,<AJX:TabContainer> . When I set control values(textboxes,labels) on that page, I am not able to refresh the page even through web browser(retype url). All values persist on the controls. Anybody can talk about problem and solution? Thanks in advance. Web Development asp.net javascript web-browser | |
Hello friends, Well i just realized onmouseover on select options not working in IE/Chrome/safari. i think bec. IE/chorme doesnot support onmouseover. Can any one tell me the alternative of onmouseover? Thanks Web Development javascript php | |
upload profile image but upload only ram user pic .other user not able to upload there image .how to define every user has upload there prof. image . anyone help me for this problem [CODE] // Upload Form <?php include("connect.php"); $_SESSION['username']= 'ram'; $username=$_SESSION['username']; if(isset($_POST['submit'])) { //get file attributes $name=$_FILES['myfile']['name']; $tmp_name=$_FILES['myfile']['tmp_name']; … | |
Hi I have this code of zebra stripes. [CODE] <style type="text/css"> <!-- .paint {background: #caf2fe;} --> </style> <script type="text/javascript"> $(document).ready(function(){ $("tr:odd").addClass("paint"); }); </script> <table cellpadding="0" cellspacing="0" width="100%"> <tr> <td>Text1</td> </tr> <tr> <td>Text1 details</td> </tr> <tr> <td>Text2</td> </tr> <tr> <td>Text2 details</td> </tr> <tr> <td>Text3</td> </tr> <tr> <td>Text3 details</td> </tr> </table> [/CODE] … Web Development html-css javascript javascript-jquery | |
Hi, I am using this drop down list.Loop started from 1920 to 2012.I am trying to put 1st value --select-- not 1920. Need suggestion [CODE]<select name="year" id="year" style="height: 22px"> <?php for($y=1920; $y<=2012; $y++) { ?> <option value="<?php echo $y; ?>" <?php if($y==$_POST["year"]) echo "selected"; ?> > <?php echo $y; ?> … Web Development php | |
Hello all! I'm pretty much clueless as to how to write code. I saw the following script from [url]http://thinkdiff.net/facebook/users-demographic-data-from-facebook/[/url] so I decided to play around with it but I just can't get it to work. I created the table shown and also a file bd.php where it has the info … |
The End.