52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for davy_yg

Hallo, I am trying to make this search box works. This is my code: navigation.php <? //This is only displayed if they have submitted the form if ($searching =="yes") { echo "<h2>Results</h2><p>"; //If they did not enter a search term we give them an error if ($find == "") { …

Web Development php
Member Avatar for davy_yg
0
364
Member Avatar for christ123

Hi! I am trying to make a small application with google maps! I have successfully addded few points on the map using xml output to php from mysql database.. function load() { var map = new google.maps.Map(document.getElementById("map"), { center: new google.maps.LatLng(38.99,22.49), zoom: 7, mapTypeId: 'roadmap' }); var infoWindow = new …

Member Avatar for christ123
0
330
Member Avatar for davy_yg

Hello, I am having this error message: Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at C:\xampp\xampp\htdocs\rustoleum\index.php:8) in C:\xampp\xampp\htdocs\rustoleum\index.php on line 63 Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\xampp\xampp\htdocs\rustoleum\index.php:8) in C:\xampp\xampp\htdocs\rustoleum\index.php on line 63 index.php …

Web Development php session
Member Avatar for davy_yg
0
523
Member Avatar for Jasika Thakur
Member Avatar for davy_yg
0
150
Member Avatar for chaitu11

<html> <head> <link rel="stylesheet" href="css/template.css"/> </head> <body> <div id="maindiv"> <div id="top_bar"> <div id="logo"><img src="img/avatar2.png" width="32px" height="32px"></div> <div id="settings"><img src="img/avatar2.png" width="32px" height="32px"></div> </div><!---topbar---> <div id="container"> <div id="leftpanel"> <table border="1px" align="center" class="edit"> <tr> <td> Edit </td> <td> view </td> <td> Delete </td> </tr> </table> <table border="1px" align="center" class="leftmenu"> <tr><td>tab1</td></tr> <tr><td>tab2</td></tr> <tr><td>tab3</td></tr> </table> …

Web Development html-css web-design
Member Avatar for JorgeM
0
210
Member Avatar for chaitu11

i have attached the requirement. 1 register's from admin and it has some reference_id, then, 2 reg with reference of 1 ref_id, 5 reg with reference of 2 ref_id now my dout is i want to get the complete path i.e 1->2->5->9

Web Development php
Member Avatar for diafol
0
508
Member Avatar for Chris_19

Dear Forum: Should I take an intermediate PHP course? I have design experence but want to move more into the world of developent. I am thinking about taking a course in intermediate PHP. I have some PHP exposure. Wold this be a good first step towards getting out into the …

Web Development php ruby
Member Avatar for diafol
0
135
Member Avatar for pars99

This may seem pretty basic, but a classmate of mine is learning Javascript and they keep asking me the same thing: Can I change the two buttons on Alert and Confirm methods so that they don't say "cancel" and "okay"? I guess the same would go with Prompt. Is there …

Web Development javascript
Member Avatar for Troy III
0
334
Member Avatar for 2mhzbrain

<?php require 'includes/verifycred.php'; ?> <!DOCTYPE html> <html lang="en"> <head> <title>Technology</title> <meta charset="utf-8" /> <link rel="stylesheet" href="style.css" type="text/css" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <script type="text/javascript" src="wysiwyg.js"></script> </head> <body class="body" onLoad="iFrameOn();"> <header class="mainHeader"> <nav> <ul> <li> <a href="adminpage.php">ADMIN PANEL</a> </li> </ul> </nav> </header> <?php include 'sideBar.php' ?> <div class="content"> <article class="topcontent"> <h3 …

Web Development html-css javascript
Member Avatar for 2mhzbrain
0
253
Member Avatar for leroy green

Hey guys, quick question on the best way to implement ASP into HTML. Right now i have a finished web form in a default.aspx file and a Default.aspx.vb file. So two files: Default.aspx Default.aspx.vb My question is how would I nest or call this on an html page? through an …

Web Development asp.net html-css
Member Avatar for JorgeM
0
194
Member Avatar for klemme

Hi all, I am creating a function, that filters products, that are allready loaded into the DOM. JSFiddle: http://jsfiddle.net/Klemme/8CFVa/2/ Please read on, two get the issue :-) In each product div, I have listet an HTML5 data attribut like this example: data-options="{"brand":"acer","screenSize":"17","processor":"intel","grafik":"intel"}" I have 2 groups of checkboxes working now, …

0
243
Member Avatar for rb1234567

Hi, I need to create a page where an admin can upload an excel worksheet in the .xlsx file format, this is then read and writen onto another php page. I'm new to PHP so I am confused by the code, I can find help on .xls but not accepting …

Member Avatar for patk570
0
299
Member Avatar for Vmailservice

<script type="text/javascript"> var arr = [{ val: 1, text: 'Option 1' }, { val: 2, text: 'Option 2' }]; $(function () { $('a').click(function () { var sel = $('<select>').appendTo('body'); $(arr).each(function () { sel.append($("<option>").val(this.val).text(this.text)); }); $('<br>').insertBefore(sel); $('<input/>').insertAfter(sel); return false; }); }); </script> </head> <body> <a href="">Add Select Box</a> </body> with is …

Web Development javascript-jquery php
Member Avatar for diafol
0
152
Member Avatar for davy_yg

Hello, I wonder how to create facebook & twitter share button which share articles title (twitter) & article title/content (facebook)? So far I only find the following codes: https://about.twitter.com/resources/buttons#tweet https://developers.facebook.com/docs/plugins/share-button/ It doesn't share the article title/content though. I have to type the title to share (not automatic).

Web Development php
Member Avatar for davy_yg
0
499
Member Avatar for fheppell

I have this code that loads a file called mailchimp-api and signs a user up to a newsletter: <?php if(isset($_POST['email'])){ $email = $_POST['email']; include("mailchimp-api.php"); $chimp = new MailChimp('XXXXXXXXXX-us7'); echo "API registered"; $chimp = $MailChimp->call('lists/subscribe', array( 'id' => 'XXXXXXXXX', 'email' => $email, 'double_optin' => false, 'update_existing' => true, 'send_welcome' => true, …

Web Development api email php
Member Avatar for cereal
0
248
Member Avatar for haymen.roth.3

i am bit confused by the nature and working of query , I tried to access database which contains each name more than once having same EMPid so when i accessed it in my DROP DOWN LIST then same repetition was in there too so i tried to remove repetition …

Member Avatar for Manish02
0
158
Member Avatar for anisha.silva

HI How to i expand and extract a WSDL file in html. appreciate a reply thanks

Web Development xml
Member Avatar for Manish02
0
125
Member Avatar for rgkrish183

this front page: Form.jsp <html> <head> <title> Data Inserting Form </title> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1"> </head> <body> <h1>ENTER THE EMPLOYEE DETAILS</h1> <form action="./Insert.jsp" method="post"> <table cellspacing="5" cellpadding="5" border="5"> <tr> <td align="right">Employee Name:</td> <td><input type="text" name="EmployeeName"></td> </tr> <tr> <td align="right">Employee_id:</td> <td><input type="text" name="Employee_id"></td> </tr> <tr> <td align="right">Nationality:</td> <td><input type="text" name="Nationality"></td> </tr> …

Web Development java java-jsp mysql
Member Avatar for peter_budo
0
407
Member Avatar for branding4you

I have a new website that i want the exchange rates to show up using the ECB (European Central Bank) Now for some reason on their website they put this code but i copy paste it into file save as php upload to server and nothing ... what could be …

Web Development php xml
Member Avatar for branding4you
0
337
Member Avatar for gsynr

I am not able to use Facebook Like and Share Butoon on my website Anyone can help mee <html> <head> </head> <body> <div id="fb-root"></div> <script> window.fbAsyncInit = function() { FB.init({ appId : 'app id', status : true, xfbml : true }); }; (function(d, s, id){ var js, fjs = d.getElementsByTagName(s)[0]; …

Web Development php social-media
Member Avatar for gsynr
0
262
Member Avatar for borovez

Alright so this has been bugging me for a long time now... I have tried everything but I cant get it to work! So what I want to have is a link that acts as a button, and once you click it, it POSTs an ID number of the button …

Web Development javascript php seo
Member Avatar for pritaeas
0
6K
Member Avatar for blueguy777

Update form is working perfectly, but the value of $magentname variable changing to blank without selecting drop down box value. code: <?php require 'include/database.php'; require 'include/settings.php'; $id = null; if ( !empty($_GET['id'])) { $id = $_REQUEST['id']; } if ( null==$id ) { header("Location: sub-agents-list.php"); } $mainagentid = $_POST["mainagentid"]; $pdo = …

Web Development css-bootstrap html-css php
0
180
Member Avatar for everton.retweets

Hi Everyone, I am struggling to fix this stupid problem I have with pdo php insert. I have this working on a different insert, but for some reason, this is just not working. I keep getting the error "You have an error in your SQL syntax; check the manual that …

Web Development php
Member Avatar for pritaeas
0
432
Member Avatar for cpchc

Hi there - I had written some php for users to login to a password protected part of our site. Today an SSL certificate was installed. Previous to the SSL being installed the pages would timeout and kick the user out to the login screen after a certain period of …

Web Development apache cybersecurity php
Member Avatar for patk570
0
285
Member Avatar for suresh.chaudhari.75

<script type="text/javascript"> $(document).ready(function () { $("#Button6").on('click',function () { $("#Image1").attr('src', 'img/s.jpg'); }); }); </script> <asp:Image ID="Image1" runat="server" Height="284px" Width="284px" src="" style="height:300px;width:300px;left:400px;margin-top:100px;" ClientIDMode="Static"/>

Web Development asp.net image javascript-jquery
Member Avatar for JorgeM
0
125
Member Avatar for tnjiric

Hi DW community. I had an unusuall fix made the other day for one service and wanted to find out exacly what happened. The situation was the following: For this one specific ADS channel, the communication works this way: The hotel reservation is sent via $_POST['RES_DATA'] , and after the …

Web Development php
Member Avatar for pritaeas
0
246
Member Avatar for blueguy777

I am new to PDO, i am trying to insert values into database table. but the script is not inserting any values nor displaying error message.help me to fix this issue. <?php require 'include/database.php'; require 'include/settings.php'; if ( !empty($_POST)) { // keep track validation errors $firstnameError = null; $lastnameError = …

Web Development css-bootstrap html-css php
Member Avatar for iamthwee
0
318
Member Avatar for irfan1977

Hi, I want to create an excel file from classical ASP. My client is Win 7 / IE9, Server has Windows Server 2003 and Excel 2003 I tried HTML TABLES. Response.ContentType = "application/vnd.ms-excel; charset=utf-8" Response.AddHeader "Content-Disposition", "attachment; filename=abc.xls" Response.Write(sResponseString) AT first It worked but later on the file corrupted. While …

0
166
Member Avatar for subrata_ushasi

Hi all , I have written code for sending mail with pdf file as attachment , but mail sending is not working. I used class.phpmailer.php. The files are attached herewith . Please kindly see if any solution is possible . Hence appreciated. //$mailpdf=$pdf->Output('exam_schedule.pdf', 'I'); require_once('class.phpmailer.php'); require_once('class.smtp.php'); $mail= new PHPMailer(); // …

Web Development file-system github pdf php
Member Avatar for Jaycee_1
0
10K
Member Avatar for garwil

I have an accommodation reservation system that allows managing agents to list all the properties under their control. There are various 'locations' that have a priority such as:- 'Beach Front' has priority of 1 and 'Off beach' a priority of 2 etc. Setting these are pretty much a straight forward …

Web Development mysql php
Member Avatar for garwil
0
259
Member Avatar for sanjay@srvmedia
Member Avatar for sanjay@srvmedia
0
108
Member Avatar for 2mhzbrain

The code below is from tutorial, my problem is my work dont work and the video tutorial is corrupted, i missed something for sure, the WHERE `articles_id`='$update_id' condition in query is not working, it wont find the corrent id to be editted. Please help. <?php require 'includes/verifycred.php'; ?> <!DOCTYPE html> …

Web Development html-css php
Member Avatar for patk570
0
199
Member Avatar for RainaAnja

<?php include 'connectMySql.php'; if(! $conn ) { die('Could not connect: ' . mysql_error()); } $sql = 'SELECT * FROM users '; $result = mysql_query( $sql); if(! $result) { die('Could not get data: ' . mysql_error()); } while($row = mysql_fetch_assoc($result, MYSQL_ASSOC)) { echo "ID : {$row['id']} <br> ". "USERNAME : {$row['username']} …

Web Development mysql php
Member Avatar for matrixdevuk
0
199
Member Avatar for Priti_P

Hello, I have a string $string="- [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall] - [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall] For both cases,look for a value named “InstallLocation” containing the string “\Hewlett-Packard\\”, either delete or clear this value and"; and i wrote function fro wrapping it as: ` $test=wordwrap($string,"80","<br>"); echo $test; ` but it did not gave me output which i …

Web Development microsoft-windows php
Member Avatar for Priti_P
0
143
Member Avatar for Priti_P

Hello, gmail Calender invitation sent from my application are not directly getting added to calender invitations. I have to make them add explicitly by add to calender. FYI: you can see the link which i found while seraching for this isue. http://productforums.google.com/forum/#!topic/calendar/cLEu8QVdb3E If you have any updates on this then …

Web Development php
Member Avatar for Priti_P
0
246
Member Avatar for nageshwar.ch

Hi, I need to get the nearest neighbor state based on the IP address of the current state. I have done some research and found Geo plugin, which gives the state information based on the IP address. So now i need the States nearer to that IP address.How can i …

Web Development php
Member Avatar for cereal
0
492
Member Avatar for anish.anick

Hi All, I have a web site where few pages are shown inside an IFrame.. The problem is with session in IE.. How can i get session in IE IFrames... Pls help Thanks

Web Development asp.net session
Member Avatar for chaitanya_ysk
0
101
Member Avatar for zelanne74

Hi Goodmorning. I'm developing an online add cart. my problem is when a user confirm payment and after a second he/she pressed escape. payment is successful but my email notification did not sent. how will i detect if a user pressed escape. Thank you.

Web Development php
Member Avatar for JorgeM
0
220
Member Avatar for Pravesh_1

My js calender is not showing year properly; showing 114 instead 2014; I tried to figure out but no success.. <html> <head> <title>Date Select</title> <meta http-equiv='Content-Type' content='text/html; charset=gb2312'> <meta http-equiv='Expires' content='-10'> <meta http-equiv='Pragma' content='No-cache'> <meta http-equiv='Cache-Control', 'private'> <style> body { font-family: Arial; font-size: 13; font-weight: 100; color: #000000; background-color: #AAAAAA; …

Web Development javascript
0
120
Member Avatar for patk570

I am trying to do a count of all types in there(hardware and software) I thought i had the correct structure...but I guess i am wrong... $count = mysqli_query($mysqli, "SELECT COUNT(*) AS total_count FROM assets WHERE cust_id=$custID AND (asset_type='hardware' AND asset_type='software') "); echo mysqli_error($mysqli); $count = mysqli_fetch_object($count); $count = $count->total_count; …

Web Development mysql php
Member Avatar for patk570
0
162
Member Avatar for juslai

I want to be able to insert the data from a range function into mysql table the range values comes from 2 textfields that are user inputted, for example the user inputs 1 and 50 the range function generates numbers from 1 to 50 in an array, my problem is …

Web Development html-css mysql php
Member Avatar for jstfsklh211
0
663
Member Avatar for everton.retweets

Hi Everyone, I have the following script to search for and display the CountryId (code) of a given country name. $stmt = $conn->query('SELECT CountryId FROM countries WHERE Country = ".$clcountry." '); while($row = $stmt->fetch(PDO::FETCH_ASSOC)) { echo $row['CountryId']; //etc... } I have tried the above with '.$clcountry.' and with $clcountry - …

Web Development php
Member Avatar for everton.retweets
0
342
Member Avatar for Iikeloa

Hi I"m sorry that there is no code, it's just a question in my mind .. How can I sort the request results as rows.In every row 4 results then the next row 4 results and so on.?

Web Development mysql php
Member Avatar for Iikeloa
0
141
Member Avatar for filch

I have an update form where there is a student record that has a picture as well as other info. It is with the picture that I am having a problem. The form has a file field with id="picture" name="picture" and then a simple dynamic record call to display the …

Web Development php
Member Avatar for diafol
0
240
Member Avatar for Hayezb

Hello! I'm needing some help integrating HighCharts into my CodeIgniter application and getting data from my MySQL database! I've followed a YouTube video on actually integrating HighCharts and it was extremely straightforward. However, that method included a hardcoded array and I'm needing to generate an array from data stored in …

Web Development javascript-jquery json mysql php
Member Avatar for diafol
0
2K
Member Avatar for SPRINGHEEL

Here is the code. I have trouble with the registration process here. thanks anyway. <?php session_start(); include("connect.php"); $b_name = $_POST["txtbusinessname"]; $b_add = $_POST["txtbusinessadd"]; $email = $_POST["txtemailadd"]; $contact = $_POST["txtcontact"]; $cell = $_POST['txtcontact']; $_SESSION["bname"]= $b_name; $_SESSION["badd"]= $b_add; $_SESSION["bemail"]= $email; $_SESSION["bcontact"]= $contact; $_SESSION["cell"] = $cell; $format_cell = "+639"; if($b_name=="") { echo("<script>alert('Business Name …

Web Development php
Member Avatar for jstfsklh211
0
306
Member Avatar for StarTrekCafe

hi. well got my dipploma from http://wsi.tafensw.edu.au, and the site is at : http://marvinhunkin.bmtafeweb.com. now. need a accessible, screen reader, free version of a web host or free domain, with penty of. looking to develop my next project, a blindness site. with a podcast section, uploading documents, a blog, chat …

Web Development client-server display
Member Avatar for Anima Templi
0
415
Member Avatar for asker54

While learning php I found this common statement $add_tel_sql = "INSERT INTO telephone (master_id, date_added, date_modified, tel_number, type) VALUES ('".$master_id."', now(), now(), '".$safe_tel_number."', '".$_POST['tel_type']."')"; What I do not understand why in the '".$master_id."' we are using the " and also the dot. why we do not only use $master_id without …

Web Development mysql php
Member Avatar for asker54
0
288
Member Avatar for mangel.murti

i am developing a plugin where i need that on each post title a small icon added next to post title. my code is below. it is adding icon but i need both seperately clickable.(both icon and title is pointing to same url action). add_filter( 'the_title', 'modified_post_title'); function modified_post_title ($title) …

Web Development first-post php wordpress
Member Avatar for mangel.murti
0
200
Member Avatar for driazi

Hi, Could anyone help me to solve this error that occurs im my asp.net project ? Thanks ![656b42e05434cf26ea7b0320c41773d2](/attachments/large/1/656b42e05434cf26ea7b0320c41773d2.png "656b42e05434cf26ea7b0320c41773d2")

Web Development asp.net
Member Avatar for JorgeM
0
154

The End.