52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for mattyd

Hello. I am attempting to implement a Captcha in my form using PHP. This, at first, seemed pretty direct; Yet upon viewing the form, no Captcha is displayed, only code. I noticed in the code there is an *echo*, Line 32 (Which I do not understand why that is even …

Web Development api php
Member Avatar for mattyd
0
169
Member Avatar for powerson65

Hi i am trying to perform a search on a json file called PCproducts.json which has in it various arrays with other data in it.I have seen various examples but seems that either i am doing something wrong in the code or calling the file in the wrong way. This …

Member Avatar for Purkinje
0
3K
Member Avatar for Tinnin

Hi All, I'm trying to put together a "fade in", "fade out" segment for user comments on a website. The array of comments with key=>value (memberName=>comment) comes from php. I'm looping through using jQuery like so; $(document).ready(function(){ function swap() { <?php foreach ($memberTestimonials as $member=>$testimonial) : ?> $('#testimonialMessage').fadeIn(5000); $('#testimonialMessage').html("<p><?php echo …

Web Development javascript php
Member Avatar for Tinnin
0
367
Member Avatar for jcomputing

I am new to drupal and im on practicing the product. How would someone add a button on a page using the WYSIWYG without having to have any HTML or CSS knowledge. I am confused. Kind Regards, Jonathan

Web Development html-css
Member Avatar for nickgs
0
111
Member Avatar for castajiz_2

Hy guys, I managed to upload my winzip archive online and unzip it. However I can not access my website (I have the Default.aspx file which should be automatically recognized as the startup page, and lots of other files that go with the webapplication upload) however I get an error …

Web Development asp.net
Member Avatar for JorgeM
0
237
Member Avatar for Sudhanshu_2

hi ! i ve just started doing mysql. i am making a web application in which employees database is reqiured to be shown in the table. i ve made a database name "educrm" and table name is "info", which i ve done in mysql through xampp(phpMyAdmin). i am showing u …

Web Development java-jsp mysql
Member Avatar for Sudhanshu_2
0
344
Member Avatar for mark103

Hi all, I need your help with my PHP, I'm working on the date and time format especially the year, month, day date, hours, minutes and seconds. I have got a little problem with the day date. Most of the day date are correct, but some of them are not …

Web Development php
Member Avatar for diafol
0
312
Member Avatar for chaitu11

error ------->Notice: Undefined variable: result in C:\wamp\www\ <?php include(db.php); ?> <table> <tr> <td>Select Project:*</td> <td> <select name="project_id" id="project_id"> <?php echo project_name($con); ?> </select> </td></tr> </table> function project_name($con){ $select = mysqli_query($con,"select projects.project_id, projects.project_name, user_proj.user_id, user_proj.project_id from projects projects, users_projects user_proj where projects.project_id = user_proj.project_id and user_proj.user_id ='".$_SESSION['user_id']."'"); while($row = mysqli_fetch_array($select)){ $result …

Web Development
Member Avatar for chaitu11
0
126
Member Avatar for nileshbhanu

<?php $host = "localhost"; $user = "root"; $pass = ""; $databaseName = "foresight"; $tableName = "userinfo"; $con = mysql_connect($host,$user,$pass); $dbs = mysql_select_db($databaseName, $con); $result = mysql_query("SELECT * FROM $tableName where flag != 1"); //query $email = mysql_fetch_row($result); //fetch result mysql_close( $con ); ?> <?php $connection = mysql_connect("192.232.240.245","root","causealmedus-1608"); if (!$connection) { …

Web Development php sql
Member Avatar for veedeoo
0
2K
Member Avatar for Rahman_1

I have a list of id like this from mysql JM.1 JM.2 JM.2.1 JM.2.2 JM.2.1.0 JM.2.1.1 JM.3 ... ...etc I want to make a display as well JM.1 JM.2 ---JM.2.1 ---JM.2.2 ---------JM.2.1.0 ---------JM.2.1.1 JM.3 ... ...etc How to display using PHP and How To using CSS like that, Or is …

Web Development html-css mysql php
Member Avatar for diafol
0
251
Member Avatar for davidjennings

Hi I am trying to convert the following mysql function to mysqli. Thanks in advance David <?php /*------------------------------------------------- This class contains generic database functions to view, add, edit and delete all facets of a database -------------------------------------------------*/ require_once ("sitesettings.php"); class Database extends SiteSettings { var $Query; var $Connection; function Database() { …

Web Development mysql php
Member Avatar for diafol
0
494
Member Avatar for Maideen

Hi I have another issue in Update. Could not be updated. pls help me if (isset($_POST['update']) && $_POST['update'] != "" ) { $id=$_POST["id"]; $name = $_POST["name"]; $address = $_POST["address"]; $tel = $_POST["tel"]; $fax = $_POST["fax"]; $email = $_POST["email"]; $website = $_POST["website"]; $type = $_POST["type"]; try { $sql="UPDATE bk_customer SET name='$name',address='$address', …

Web Development mysql php
Member Avatar for Maideen
0
158
Member Avatar for ray100

I am new to PHP and I am having some problems and I am hoping someone can point me in the right direction. Here is what I need to do: Create a Web Form for uploading pictures for a high school reunion. The form should have text input fields for …

Web Development php web-browser
Member Avatar for sikander123
0
803
Member Avatar for nileshbhanu

<?php $host = "localhost"; $user = "root"; $pass = ""; $databaseName = "foresight"; $tableName = "userinfo"; $con = mysql_connect($host,$user,$pass); $dbs = mysql_select_db($databaseName, $con); $result = mysql_query("SELECT * FROM $tableName where flag != 1"); //query $email = mysql_fetch_row($result); mysql_close(); //fetch result ?> <? $host = '192.232.240.245'; $user = 'root'; $pass = …

Web Development php
Member Avatar for diafol
0
210
Member Avatar for burhanahmed92

I have a array of dates like this $dates = ('2014-01-21','2014-03-11','2013-01-21','2014-03-11','2013-07-21','2012-01-21'); I want to get array values where year is 2014. I mean when i change value to 2014 it will return value from array which contain year 2014 only. In this case it will return '2014-01-21','2014-03-11' to me. Is …

Web Development php seo
Member Avatar for diafol
0
448
Member Avatar for aisha.edris1

hi everyone i need website for free to create a domain name and hosting server to upload my project

Web Development file-system web-server
Member Avatar for rozermartin28
0
331
Member Avatar for best4earn

I already used free hosting of these websites 000webhost.com byethost.com biz.ly & freeservers.com bt their free hosting is not best because their mysql link down or server some time redircts my site to some advertisments . Can any body suggest me a free webhosting which wil be best & their …

Member Avatar for rozermartin28
0
287
Member Avatar for nisbusiness

There are plethora of free hosting providers available in the online market. Is it true that choosing any one of these providers help gaining success in the online world? How can i choose between a right host and an ineffective host offering free hosting services? what are the things that …

Web Development web-server
Member Avatar for rozermartin28
0
196
Member Avatar for vibhuti@sharma

hi everyone recently I made a jsp website as a part of my minor project now my clg wants me to host it ,since i am very new to all this i dont know how to do it ...actually I also want that my website should also be connected to …

Web Development java-jsp web-server
Member Avatar for rozermartin28
0
182
Member Avatar for jovstudios

Hello guys, I want to validated in my textbox only numbers shoud be entered and i found this code. <script> function isNumberKey(evt){ var charCode = (evt.which) ? evt.which : event.keyCode if (charCode > 31 && (charCode < 48 || charCode > 57)) return false; return true; } </script> then i …

Web Development javascript
Member Avatar for rtrethewey
0
120
Member Avatar for PsychicTide

Hey guys, I'm trying to start a yes/no vote div which, when clicked, increments MySQL entry either way. I've seen several examples of how to do this type of thing online, but can't seem to grasp this process on my current layout. I'll show a little as possible to not …

Web Development html-amp mysql php
Member Avatar for PsychicTide
0
375
Member Avatar for skald89

I want to compare two images side by side. I am trying to grab and store the heights of the first column, to apply the heights to the corresponding image in the other column. Right now I can only get it to either get the first height or all of …

Web Development javascript
Member Avatar for rtrethewey
0
112
Member Avatar for centenond

Im a little confuse with this particular function 'date()' Its a serverside time or it takes the time of the client computer? See its shows a time that in anymeans is my current time but still when i change my pc time it also change

Web Development php
Member Avatar for PsychicTide
0
235
Member Avatar for goutham.tandra

Hi! Need to refresh only div for cetrain time without loading any external content into that div.. Can you help me please??

Web Development javascript javascript-jquery
Member Avatar for designershiv
0
765
Member Avatar for Eve_1

Hello guys, I am a new learner in PHP and I am modifying a simple binary site. I am here to ask help how can I calculate my downline pairs or the total left and right side of some user. Here is the example of my tables in database: +++++++++++++++++++++++++++++++++ …

Web Development php
Member Avatar for diafol
0
881
Member Avatar for yeeitsneo

Hi. So I was trying out bootstrap, and I wanted to make a photo gallery. The thing is , my modals work fine but it doesnt seem to fade and its supposed to "pop up" while making the rest of the webpage its background. Im using the images on the …

Web Development css-bootstrap html-css
Member Avatar for yeeitsneo
0
185
Member Avatar for ravi142

I am making chat application but i am confuse where i put setInterval().bellow function working well. function text_input(id,img) { $("#chat_box").keydown(function (e){ if(e.keyCode == 13){ e.preventDefault(); var textval = $("#chat_box").val().replace(/\n/g,'<br />'); $("#chat_box").val(''); jQuery.ajax({ type: "POST", url: "chat_input_insert.php?action=save", //sql querys data: "textval="+textval+"&id="+id }); jQuery.ajax({ type: "POST", url: "chat_input_insert.php?action=display", //sql querys data: "textval="+textval+"&id="+id+"&img="+img, …

Web Development javascript
Member Avatar for ravi142
0
192
Member Avatar for winbala5

In my new project I decided that I will use RedBean ORM system with Codeigniter PHP Framework. How can I get all records from table with simple relation? I know, that I can use R::exec or R::getAll queries but I want to make sure if there any other solution(s). TABLE …

Web Development mysql php php-codeigniter
Member Avatar for winbala5
0
259
Member Avatar for hiiiiii@

how to set the minvalue=today and max value=today+30 in javascript or how to do it in jquery what are the files i need to download .plz explain me i never used jquery before .

Web Development javascript-jquery php
Member Avatar for hiiiiii@
0
280
Member Avatar for jalpesh_007

Dear all, I am developing SOAP web service using netbeans. As i have got preferred SOAP request and SOAP response,now i want to add security information like username and/or password in my SOAP header Request. Please tell me how can i modify or add username in my SOAP header Request …

Web Development api xml
0
266
Member Avatar for mehnihma

Hi Is there a way to set meta tags description and keywords in template file if no description or keywords are set? To chek if exsists and if not to set it? Thanks

Web Development php
Member Avatar for gamsoftware
0
188
Member Avatar for joshl_1995

Hello Community, I'm about to start making a website for someone. So what I'd like to know is does the website creator credit themself, like have my name in the footer of the page. What is the right way to go about doing this?

Web Development
Member Avatar for joshl_1995
0
236
Member Avatar for sigitas.darguzas

Hi all. sory but im beginner on web creating. I need create catalog. first page i need create item add form. after page i need create items catalog. all on mysql sory for bat English :) who can help me. i have login register index pages.

Web Development mysql php
Member Avatar for Fernando_4
0
186
Member Avatar for stokie-rich

Hey guys I'm in the middle of connecting my website to my SQL database at the moment i have the following and I need some help if you guys dont mind config.php //Mysql Connect | mysql_connect("host","username","password"); //Below example to connect in localhost $a=mysql_connect("localhost","root",""); //select your database $b=mysql_select_db("database_name",$a); submit_form.php $firstname=$_POST['firstname']; $lastname=$_POST['lastname']; …

Web Development php sql
Member Avatar for stokie-rich
0
340
Member Avatar for M.Waqas Aslam

Hello! I am working on updation of an old asp classic website. I have experience in Asp.net but dont know much about asp classic. I want to show my query results in xml format. I am getting data in my record set but unable to convert it into xml and …

Web Development asp asp.net c# xml
Member Avatar for JorgeM
0
325
Member Avatar for Sumith Asanka

Hi Guys i have this error in my asp.net 4.0 application , i am strugling to find out why it is working perfect on my local iis server, but throws this error on web iis server Details: To enable the details of this specific error message to be viewable on …

Web Development asp.net
Member Avatar for JorgeM
0
293
Member Avatar for Sumith Asanka

Hi Guys I have asp.net 4.0 application that is running perfect on my local iis server, but when i host it on web server, it is throwing me this error, Parser Error Message: Theme 'Blue' cannot be found in the application or global theme directories. how can i sort out …

Web Development asp.net ui-ux web-server
Member Avatar for JorgeM
0
235
Member Avatar for kevwood

hi i have been following a tutorial on how to build a image viewer using javascript for a web page i am building for my shop. i have not been able to get it to work and i have looked at the comments at the bottom and it seems to …

Web Development javascript web-server
Member Avatar for kevwood
0
284
Member Avatar for nileshbhanu

i have use this code on localhost to store user emailid on serverdatabase.but i got the following error XMLHttpRequest cannot load http://192.232.240.245/saveemail.php?redirect=http://localhost/digital/real/comparebuy.php. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost' is therefore not allowed access. var emailID=$('#firstname').val(); $.ajax({ url:"http://192.232.240.245/saveemail.php?redirect="+document.URL, type:'post', data:{'emailID':emailID}, success:function(){ alert("ok"); } })

Web Development php
Member Avatar for nileshbhanu
0
17K
Member Avatar for Maideen

hi I am new in php. I could not insert the data into mysql table. and there is no error prompt Below is my code. Pls help me <?php include_once '../inc/header.php'; if (isset($_POST['submit']) && $_POST['submit'] != "" ) { $name = $_POST["name"]; $address = $_POST["address"]; $tel = $_POST["tel"]; $fax = …

Web Development php
Member Avatar for Maideen
0
140
Member Avatar for david.roun.7_1

Hi all. I went through 10 pages and couldn't find anything like this, although I would have thought I would. I'm simply trying to get the difference between two times. Here's my code, any thoughts on how I can fix this would be appreciated. <html> <title>timesheet</title> <head> <script> function addhours() …

Web Development javascript
Member Avatar for Alberto Bucur
0
172
Member Avatar for nurul_1

Hello, I have a problem with my list down menu. My list down menu will display data from MySQL. It working very well. But, there are problems when I add if else statement. I want to display the list down menu based on the one field from MySQL. For example …

Web Development php
Member Avatar for nurul_1
0
155
Member Avatar for chris.immanuel

Hi I have a question with my code. I implemented drop down list populated from my oracle DB. So my question is, I need to populate the rest of the data into my <input type="number" min="currCutting" max="currQty" /> tag that pulled from the database according to the Head_mark selected from …

Web Development html-css javascript oracle php
0
172
Member Avatar for mark103

Hi all, I'm working on my PHP to generating the xml output. I use simple_html_dom method to parsing the contains from my script called get-listing.php. Here is my PHP script: <?php ini_set('max_execution_time', 300); $errmsg_arr = array(); $errflag = false; $link; include ('simple_html_dom.php'); $base1 = "http://www.mysite.com/get-listing.php"; $html = file_get_html($base1); $countp = …

Web Development php
Member Avatar for veedeoo
0
162
Member Avatar for centenond

Hi, i working on a profile system, each users has their public profile and its directory is in http://website.com/username but the proble is that my root is gonna get a bit messy if all folders of each user is created ther, so i want to put all users folder in …

Web Development display file-system php
Member Avatar for centenond
0
267
Member Avatar for powerson65

I am trying to load different data which are all in one JSON data from a drop down menu to a div area on the web page (eg if one clicks PC on the menu then the items related to PC in the json file will load and if Wii …

Member Avatar for powerson65
0
876
Member Avatar for punith_1

I have a form which shows results if a proper roll number is entered... the results are fetched from http://results.vtu.ac.in and only the table is shown... now i want to add the data of the table to my database using php. Is there a way to do it..? for example …

Web Development cybersecurity html-css mysql php
Member Avatar for punith_1
0
442
Member Avatar for MissMolly

I have this script which is calling 10 divs indavidually from an external file. HTML: <a id="load1" href="#" data-id="1" class="load"> <img> </a> <a id="load2" href="#" data-id="2" class="load"> <img> </a> Javascript: $(".load").click(function () { $("#projects").html(""); $("#loading").show(); $("#projects").load("projects.html #"+$(this).data('id'), function () { $("#loading").hide() }) }) If load1 is clicked, it loads div1 …

Web Development javascript
Member Avatar for MissMolly
0
341
Member Avatar for RikTelner

I am about to make website, where explain my skills (if any), kind of portfolio. I'd like to make two seperate choices in menu, one for the client-side work (HTML, CSS, JS) and one for the server-side work (PHP, SQL) seperately. I thought of word "Coding" for client-side work. But …

Web Development client-server html-css sql
Member Avatar for RikTelner
0
195
Member Avatar for chris.immanuel

Hi Folks, I need help with my code. Basically I am building an inventory progress web so that it pulls the value from the dropbox, and with onChange, getting the corresponding value from the DB, Update the value and reinsert the new value to the DB using submit button. One …

Web Development javascript javascript-jquery
Member Avatar for LesF
0
311

The End.