17,029 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for castajiz_2

I m new to javascript and I m little bit confused on how does a webpage read the actual script. let's say I have the folowing code: <script> vrijeme = document.getElementById("Label7").innerText; minute = vrijeme.substring(0, 2); sekunde = vrijeme.substring(3, vrijeme.length); alert("fuck you"); var start_time=setInterval(secondFunction, 1000); function secondFunction() { sekunde = sekunde …

Web Development javascript web-browser
Member Avatar for [NOPE]FOREVER
0
319
Member Avatar for Priti_P

I have formatted a string date into date format by using <script type="text/javascript"> var st = "26-04-2013"; var pattern = /(\d{2})\-(\d{2})-(\d{4})/; var dt = new Date(st.replace(pattern,'$3-$2-$1')); alert(dt); </script> and it's output is `Fri Apr 26 2013 05:30:00 GMT+0530 (IST)` but I want out put as `2013-04-26` how can i do …

Web Development javascript
Member Avatar for Priti_P
0
247
Member Avatar for bops

Hi, I'm running into a strange issue on my iPage hosted version of my website. When logging into my system, `$_SESSION["id"]` contains the User ID of the logged in user. Somewhere else on my site I am doing something like this to retrieve the ID of a page: if (isset($_GET["id"])) …

Web Development php session
Member Avatar for bops
0
149
Member Avatar for tokick4

For those that have a good understanding of PHP arrays, I have a form that takes in multiple inputs that can be added to the form by js, the data is added to the codeRef[] array and I have tried to do several different things to get the data into …

Web Development javascript-jquery mysql php
Member Avatar for tokick4
0
377
Member Avatar for Priti_P

Hi There, I had a multidimentional array with values. I wanted to convert it into JSON I tried it with : `json=JSON.stringify(skill_array);` But it gave me output as below: [["Language","C++","0","1","May 2014","ascasc"],["DataBase","C++","0","1","May 2014","ascasc"],["Language","C++","0","1","May 2014","ascasc"]] SO how can i convert it into JSON? in Javascript

Web Development javascript json
Member Avatar for Priti_P
0
132
Member Avatar for nadiam

what i want to do is show form based on the value of a dropdown list. like if value 2 then what appears is two forms of the same form. example: <div> How many? <select name="options"> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> </select> </div> <div id="test"> </div> <form id="form1"> <table> …

Member Avatar for nadiam
0
368
Member Avatar for Priti_P

Hello There, Basically I want to print table from javascript. I have a multidimenational array global_arrayLength is lenght of that array In form I have defined an table with below code <div class='box1' id='show_this' name='show_this'> <div id='information-table'><table id='myTable'><tr bgcolor=#ff9966 id='0'> <td>Skill</td> <td>Skill Type</td> <td>Total Experience Year</td> <td>Total Experience months</td> <td>Last …

Web Development javascript
Member Avatar for Priti_P
0
221
Member Avatar for Priti_P

i have table with id myTable first tr is like: <tr bgcolor=#ff9966 id='0'> <td>Skill</td> <td>Skill Type</td> <td>Total Experience Year</td> <td>Total Experience months</td> <td>Last Used In</td> <td>Description</td> <td>Modify</td> </tr> when I am inserting values of one array into this table using for loop with below code: var html=""; var tr_id=/* I …

Web Development javascript javascript-jquery
Member Avatar for Priti_P
0
443
Member Avatar for toniksystems

Hello, Please how can I development a PHP application that Apache OpenOffice products can be installed into(e.g. Like Web OS). Thank you. Tony.

Web Development apache php
Member Avatar for diafol
0
227
Member Avatar for BTW8892

Hey guys, So I've been devloping a TV Guide website that will allow you to fill out a variety of different fields, then searches the database for that information, and returns the results. The way I have it right now, the user has to fill out all of the fields …

Web Development php
Member Avatar for BTW8892
0
276
Member Avatar for sushmaja.arumalla.9

I have one page with ajax tab container and the content of the tabcontainer should be place in different pages.For this i have used the following code <asp:Tabcontainer ID="Tabcontainer1" runat="server" AutoPostBack="true" OnActiveTabChanged="tabChanged"> <asp:TabPanel ID="panel1" runat="server" HeaderText="Panel1" > <ContentTemplate> <asp:ContentPlaceHolder ID="Panel1content" runat="server" > </asp:ContentPlaceHolder> </ContentTemplate> </asp:TabPanel> <asp:TabPanel ID="Panel2" runat="server" HeaderText="Panel2"> <ContentTemplate> …

Web Development asp.net assembly
Member Avatar for Sals
0
1K
Member Avatar for chaitu11
Member Avatar for diafol
0
1K
Member Avatar for engrjd91

Hello everyone, I have 2 of my php pages. I am starting a session in my first page and setting the setting variables but whenever I am trying to access that variable in the 2nd page it doesn't show an error neither it pops out my desired result. In short …

Web Development cms html-css php session
Member Avatar for faisal.qureshi.7121614
0
308
Member Avatar for engrjd91

I have the following code in my php files, but i am having a following error while loading my page? "Notice: Undefined variable: username in C:\xampp\htdocs\fyp\cms\cms.php on line 48" My page is successfully loading up, but username is not being shown in the page and the error is popped up …

Web Development mysql php session
Member Avatar for faisal.qureshi.7121614
0
601
Member Avatar for dhani09

I have an HTML dropdown list which i'm populating from a database. My question is how can i retrieve the value of a selected item from this dropdown list using AJAX? Thanks in advance.

Web Development html-css javascript
Member Avatar for dnyaneshk2
0
6K
Member Avatar for nadiam

hey guys. im trying to show a dropdown list and hide input text when an option in another drop down list is selected. dropdown <select name="table-type" id="select-t"> <option value="" disabled selected>Types of Tables</option> <option value="Round Table" id="rt">Round Table</option> <option value="Banquet Table" id="bt">Banquet Table</option> <option value="Square Table" id="st">Square Table</option> </select><br> No. …

Member Avatar for nadiam
0
262
Member Avatar for engrjd91

I have the following code, and i am having these errors: "Warning: mysql_fetch_array() expects parameter 1 to be resource, integer given in C:\xampp\htdocs\fyp\qmc-login\login.php on line 58 Warning: mysql_fetch_array() expects parameter 1 to be resource, integer given in C:\xampp\htdocs\fyp\qmc-login\login.php on line 59" Can somebuddy find out whats the problem? Thanks in …

Web Development cms html-css mysql php
Member Avatar for eburlea
0
349
Member Avatar for malatamil

value is Tourism & Hotels url?catagory=Tourism%20&%20Hotels&maincateg=Tourism%20&%20Hotels if i call that catagory to another page $category = $_GET['catagory']; and in second page i displayed that value echo $category; but this showing only Tourism and the remaining words r gone.i want to display Tourism & Hotels with special char

Web Development php
Member Avatar for malatamil
0
179
Member Avatar for kshahnazari

I'm just learning jquery , The thing is that how can I make jquery and php contact each other in one single page ? if there is an example I really appreciate it!

Web Development javascript-jquery php
Member Avatar for Patrick Thomas
0
426
Member Avatar for dinhunzvi

does Stripe work in a developmental environment?

Web Development php
Member Avatar for cereal
0
103
Member Avatar for nadiam

hey guys. so i was thinking of creating this page that has 2 different tables : table1(table1 filled with names that are populated from database but lets not think about that part for now) and table2(empty), table1 rows are clickable and when doubleclick on one row the data in that …

Member Avatar for nadiam
0
349
Member Avatar for vizz

I found [this template](http://livedemo00.template-help.com/wt_48221) on template monster. That is what I was working on. How to slide pages about.php, work.php, contact.php directly inside div tag? Dispaly home.php by default **menus used in example template of template monster** <ul> <li><a href="/"><div class='open_hover'></div>gallery</a></li> <li><a href="/about.html"><div class='open_hover'></div>about me</a></li> <li><a href="/experience.html"><div class='open_hover'></div>Experience</a></li> <li><a href="/resume.html"><div …

Web Development javascript
Member Avatar for vizz
0
156
Member Avatar for Alonso_1

Hey there. I'm trying to retrieve a date from an SQL table. The original formate of the date is as follows: 0000-00-00 00:00:00 I want to try and change the format into: Month Date, Year e.g. May 17, 2014 <?php $page_title = 'View the current users'; include('header.inc'); require_once('mysql_connect.php'); try{ $query …

Web Development mysql php sql
Member Avatar for Alonso_1
0
217
Member Avatar for davecoventry

I have the following HTML: <div> <img src="http://127.0.0.1/divo/wp-content/uploads/2014/05/vac.system-2-TOP-150x150.gif" style="padding-right: 8px; padding-bottom: 8px; float: left;" /> <div>Children: how to help them cope.<br/> <div style="font-size: 0.75rem;"> <i>Published in <a href="http://127.0.0.1/divo/?cat=5">Kids</a>, yesterday by David Coventry</i><br />Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque …

Web Development html-css legal
Member Avatar for davecoventry
0
856
Member Avatar for afaaro

Hello every one I need help help with tihs code, it works but is there an easy way to generate articles by categories and subcategories if($result = GetList("SELECT p.*,f.*,c1.* FROM ".DB_PREFIX."mediaCategory c1 LEFT JOIN ".DB_PREFIX."mediaCategory c2 ON c2.category_id=c1.category_parent LEFT JOIN ".DB_PREFIX."mediaCategory c3 ON c3.category_id=c2.category_parent LEFT JOIN ".DB_PREFIX."mediaCategory c4 ON c4.category_id=c3.category_parent …

Web Development php
Member Avatar for afaaro
0
435
Member Avatar for Ryan Huxley

Hello, I'm really new to website making and I am making one for an assignment. I have made one myself here http://fcsit-trackandtrace.webatu.com/ Now the part where I'm really confused is to make a user login system, any help on that?

Web Development
Member Avatar for Ryan Huxley
0
171
Member Avatar for Enigma360

I need to create a list of products, grouped by a category field. I am using PHP and MySQL. I have fields called ProdName, ProdCat etc. I need the list to appear as follows: * Category A * Product 1 * Product 2 * Category B * Product 3 * …

Web Development php
Member Avatar for afaaro
0
312
Member Avatar for Mathias Nkwuda
Member Avatar for pritaeas
0
91
Member Avatar for p.h.p

Hi all, I am fighting with the following issue and was hoping you can give me some insights, as I am totally stuck. What's going on? I have 3 tables, created as follows: table category_p column id column name column type table home column id table link_category_p_home column category_p_id column …

Web Development php
Member Avatar for p.h.p
0
372
Member Avatar for ravi142

Hello I want to make my site so Any one help me for Plugin like.. Responsive with includeing some Text in slider. Like [Demo-1](http://www.openxcell.com/) [Demo-2](http://www.indianic.com/) Thank you..

Web Development php wordpress
Member Avatar for pooja01
0
275
Member Avatar for moone009

This is my main page where the user can choose a category from a drop down. I need that category selection to update my session variable so I can then send that variable to another php page execute a query and return the result in my div because I do …

Member Avatar for moone009
0
396
Member Avatar for everton.retweets

Hi Everyone, I have been trying to work out how to add 20% vat to a total in php, but for some reason I am unable to. I have been using the following code, but I keep getting the same price for price_with_vat as I do for price_without_vat // price …

Web Development php
Member Avatar for everton.retweets
0
2K
Member Avatar for nouth

how to `.replace()` the `'error'`? only use `a` and `b` var str = 'bla bla anything error anything bla bla'; var a = 'anything', b = a; im not good with regular expressions so im asking for how to do this with variables so i can set them up all …

Web Development javascript regex
Member Avatar for diafol
0
7K
Member Avatar for Rasvinder_1

Hello all, I need help regarding developing an asp.net application to compare images using facial recognition. I mean comparing 2 different images of the same person and returning whether the 2 images are of the same person or not..... I have developed the application which compares the images pixel by …

Web Development asp asp.net
Member Avatar for pritaeas
0
275
Member Avatar for hykyd

I have been creating small personal projects and trying to monetize or just learn from the creation process. I love programming and I am doing it as a hobby, looking forward to become a strong developer as soon as possible. Starting out I used Joomla, Wordpress, Drupal as CMSs but …

Member Avatar for pritaeas
0
268
Member Avatar for websponge

Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in C:\wamp\www\firewall\php\allresults.php on line 3 The annoying thing is, I have used this multiple times on different applications, I dont know why it think the result is boolean? the exact same code works on a different database, I just cant …

Web Development mysql php
Member Avatar for websponge
0
238
Member Avatar for SalmiSoft

The page source for http://www.nordpoolspot.com/Market-data1/Elspot/Area-Prices/ALL1/Hourly/ includes this latin(?) paragraph: *Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam quis mi eu elit tempor facilisis id et neque. Nulla sit amet sem sapien. Vestibulum imperdiet porta ante ac ornare. Nulla et lorem eu nibh adipiscing ultricies nec at lacus. Cras laoreet …

Web Development
Member Avatar for SalmiSoft
0
363
Member Avatar for Almeister9

Hi all, I am very new to php and am slowly trying to get something together. I have a MySQL database with a table that has (among others) a field which is TINYINT called "field1". I have managed to be able to store a 1 or 0 in it from …

Web Development display mysql php
Member Avatar for baby007
0
2K
Member Avatar for david.roun.7_1

Hi all. I have this code: <html> <title> </title> <head> <script> function add(){ var first=document.getElementById("form").value; var second=[first]; for (i=0;i<second.length;i++){ var third=second.join("+"); } document.one.answer.value=third; } </script> </head> <body> <input type="text" id="form" onChange="add()"/> <form name="one"> <input type="text" name="answer"/> </form> </body> </html> What I want to do is allow the user to enter …

Web Development javascript
Member Avatar for david.roun.7_1
0
198
Member Avatar for darkeve

I have created this script using a HTML form and a PHP script which allows the user to search through my database for an event using the Venue and category fields which are scripted as dropdown boxes and the Price and finally by event title, as shown via the code …

Web Development html-css php seo
Member Avatar for darkeve
0
210
Member Avatar for malatamil

while uploading i want to rename the image name to date and time.i have a code like this date_default_timezone_set('UTC'); $today = date("Y-m-d"); $_SERVER['REQUEST_TIME']; $dt = $today.'_'.time(); $uploadDir = '/upimg/logoimg/'.$dt.''; $filename = $_FILES['logoimage']['name']; $tmpname = $_FILES['logoimage']['tmp_name']; $filePath = $uploadDir . $filename; $result1 = move_uploaded_file($tmpname, $filePath); after uploading that image path is …

Web Development image php
Member Avatar for malatamil
0
121
Member Avatar for nadiam

hey so im trying to save data but i get error: `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 'WHERE event_id = '8'' at line 1` this being the line: `$sql = mysql_query("INSERT …

Web Development mysql php sql
Member Avatar for nadiam
0
333
Member Avatar for toxicandy

Over the past month I have been working on a certificate generation system and one part I have still yet to get working is the part that probably is one of the easier parts. All I need to do is check the email that someone enters against the email of …

Web Development php
Member Avatar for toxicandy
0
123
Member Avatar for lukwagomedia

Hello everyone. I have juste started creating my website and I need some help. I have found a thread about this subject but it have been dead since three months back so I didn't get what I wanted from there. What I need help with is: I want to create …

Web Development javascript-jquery mysql php
Member Avatar for lukwagomedia
0
3K
Member Avatar for kingwash

Hi people, i'm new to php and i have this problem: I am developing an application for an insurance company in php. I have 6 tables linked together by a common id in a database. Applicant or user need so register before loging in.When they login,they fill in a form …

Web Development php
Member Avatar for iamthwee
0
2K
Member Avatar for mohamedasif18

Hi, Am currently doing a PHP project which was full of SMS sending from my site to my client mobiles in india. I have searched and get lot of sms gateway api's worked fine . But now i want to create my [COLOR="Green"][B]OWN SMS GATEWAY API[/B][/COLOR] for my site in …

Web Development api php
Member Avatar for sam4444
0
311
Member Avatar for nadiam

hey guys so i have a table where the `<tbody>` is populated by data in php. a row has 4 columns: name, unconfirmed, attending and unattending. the last 3 columns are radio buttons(echoed). the problem is that the radio buttons cannot be checked. for example for first row unconfirmed is …

Web Development gui
Member Avatar for nadiam
0
2K
Member Avatar for MasterHacker110

I'm trying to write a search enigne. Nothing fancy like google or so, just a simple one for educational purposes. I have done a little research and I know that Google uses Python, Java and C++. I on the other hand know C++, PHP, some Java and C# and even …

Member Avatar for kindo
0
247
Member Avatar for johndohmen1963

Who can help me with the folowing I have javascrip variable and a php datatable And i wand to read the datatable with the javascript variable here is the code i have if(!isset($_POST['bewerk_gegevens'])) { ?> <script language="javascript" type="text/javascript"> var newland = document.getElementById("geboorte_land").value; if ((newland != "" && newland != "Duitsland") …

Web Development javascript mysql php
Member Avatar for johndohmen1963
0
402
Member Avatar for OsaMasw

Hello guys I want to create something like SEO link i have website with three pages, but the header is the same **header.php** <!DOCTYPE html> <html> <head> <style> .active{ background-color: #365214; } ul{ display: inline; } li{ display: inline; } </style> <title></title> </head> <body> <ul> <li><a class="active" href="index.php">HOME</a></li> <li><a href="a.php">ABOUT</a></li> …

Web Development php seo
Member Avatar for OsaMasw
0
236

The End.