52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Woobag

Assuming that PHP_EOL directive and the new line "\n" do the same thing, neither are working. I've recently updated to PHP5 after a long hiatus from PHP altogether. I have tried putting the newline character in single and double quotes, but to no avail... Anyone have any suggestions? Thanks in …

Web Development php
Member Avatar for EvolutionFallen
0
2K
Member Avatar for daniel36

I am fetching data from mysql database and using it.but one column 'added_on's value is not fetching other row values of corresponding to 'added_on' value is previewing correctly.i am using it simply echo $vrow['added_on']; .

Web Development php
Member Avatar for AARTI SHRIVAS
0
172
Member Avatar for pritaeas

I just happened to come across "Laravel", a framework unknown to me. Has anybody used this one? If so, am looking for a comparison. Where does it fit in the range from small (TinyMVC) to large (Zend, Symfony).

Web Development php
Member Avatar for cereal
0
189
Member Avatar for korathualex

I want to read data from word file without using interop.word dll..Because i don't want to install word in every server....Is it possible to deploy interop.word without installation of word in iis..If not provide a solution to read word file without it with complete code....I tried with open xml sdk …

Member Avatar for AleMonteiro
0
292
Member Avatar for spidyrace

how to make some of the fields to hide for data security..

Web Development html-css php
Member Avatar for broj1
0
120
Member Avatar for GlenRogers

Hi could someone help me out with this code please? I have commented what it should do(or ewhat I want it to do!) if(isset($_POST['remove'])){ $chk = (array) $_POST['remove']; $p = implode(',',array_keys($chk)); $q = mysql_query("DELETE FROM image_gallery WHERE id IN ($p)"); $t = mysql_query("SELECT filename from image_gallery WHERE id IN ($p)"); …

Web Development php
Member Avatar for AARTI SHRIVAS
0
2K
Member Avatar for subrata_ushasi

hi all , I want to display partner list from database which is done.Now I want to display it's customers list by clicking on each parter using ajax. here is ajax code : <script language="javascript" type="text/javascript"> function getXMLHTTP() { //fuction to return the xml http object var xmlhttp=false; try{ xmlhttp=new …

Web Development display javascript
Member Avatar for subrata_ushasi
0
218
Member Avatar for OsaMasw

Hello there I managed somehow to create and call categories and subcategories in DB my problem now how to design them as I want I want it something like this ![catss](/attachments/large/3/catss.jpg "catss") I used this code to retrieve the categories function display_children($parent) { $result = mysql_query('SELECT * FROM category '. …

Web Development php
Member Avatar for jkon
0
464
Member Avatar for arcticM

I want to make a little code that displays a different string everyday. for example I have 100 strings. I want that when a user opens my site they'll see one of the strings that day. the next day they'll see another string..and so forth. so far I thought about …

Web Development php
Member Avatar for pritaeas
0
185
Member Avatar for AARTI SHRIVAS

i want to use bitcoin funcatinality i my website i search for it on google but not get any proper step of using bitcoin with php can any one have the url or somthing like that from i can understand hoe to use bitcoin in my website

Web Development cryptocurrency php
Member Avatar for cereal
0
208
Member Avatar for garyjohnson

This code is suppose to take the images array and use its value for the name of the table. When I echo the images varaible I get kids, which is what $images[3] is set to equal, but when I put it in the query the $result2 is echoed as resource …

Web Development mysql perl php sql
Member Avatar for AARTI SHRIVAS
0
296
Member Avatar for Kullercode

This script is supposed to show an alert if the text is longer than eight characters, what is wrong with it? <!DOCTYPE html> <html> <body> <input id="input"><button onclick="myFunction()">Click me</button> <script> function myFunction() { var x=document.getElementById("input").value if (x = > 8) { alert("Text must be lower than 8 letters") return false; …

Web Development javascript
Member Avatar for rholdbataller
0
178
Member Avatar for mubarka

Hi all. I need to make web site work as RSS feeder, but I dont know how to do that and wich dll should i use. I'm asking you to give some usful links and articles .

Web Development asp.net
Member Avatar for mubarka
0
143
Member Avatar for hwoarang69

i have a form and inside i have one field and one button. when user hit submit button a php script runs. in php script i am checking error. ex name is too short etc.. now i want to add a red border only if there is a error. if …

Web Development php
Member Avatar for hwoarang69
0
180
Member Avatar for aryan200x

We have uploaded our cms to a dedicated server. we have two options for our users (user your own domain, use subdomain). when a user register him/her self and select subdomain and want to access his/her website so he cant access it with his/her subdomain name integrated with our domain …

Web Development cms php
Member Avatar for aryan200x
0
2K
Member Avatar for mgrichen

I have got MySQL Workbench 5.244 installed. I have a server instance created (MySQL55). Everything works perfect inside the workbench. The problem is when I try to connect to the server on my PHP (version 4.2.1) file. (Pleasew find header.php and default.php below) I get the message below: Warning: Unknown …

Web Development apache mysql php
Member Avatar for mgrichen
0
414
Member Avatar for Zaina jee

I have made a form and want to get values in form.php when Submit button is clicked.These values are write on a file form.txt.How can I do this?? <html> <form action="form.php" method="post"> Name:<input type="text" name="Name" ><br/> Address:<input type="text" name="Address"><br/> Email:<input type="text" name="Email"><br/> Why do you want to learn Javascript? <input …

Web Development html-css php visual-basic
Member Avatar for rholdbataller
0
226
Member Avatar for katties

Hi Sorry I am not sure if this a correctly formulated question, but I wonder if it is possible to put instances of an object (like myFather here) in a separate function. The code I show is not working, it is an example from w3schools, but it demonstrates the best …

Web Development javascript
Member Avatar for katties
0
185
Member Avatar for riahc3

Hello Ive created a button dynamically using Javascript and now I want to automatically click on it. The code I create (actually modify) the button is something similar to: $j(idtext, window.parent.document).html('I am a button<input type="hidden" id="imagenv" name="imagenv" value="'+imgstr+'"/>'); Now I want to automatically click on it. Ive tried .live() (I …

Web Development javascript javascript-jquery
Member Avatar for EvolutionFallen
0
6K
Member Avatar for Robin_2

Does anyone have any code that they would share to: - use form to accept name, email address, languauge (English or Spanish) - send back an email with file attachment in the selected lauguage. files are stored in permanent file in online (url location). - populate permanent speadsheet online (url …

Web Development php
Member Avatar for veedeoo
0
99
Member Avatar for Venter

i' saved the key names as column names in database.so i want to insert i all the values in database.with out mentioning the column names in the database. <html> <body> <form action="#" method="post"> Firstname: <input type="text" name="name"> Lastname: <input type="text" name="lname"> Age: <input type="text" name="age"> <input type="submit"> </form> </body> </html> …

Web Development mysql php
Member Avatar for diafol
0
542
Member Avatar for dalip_007

Hi All I want to show the location of client on my site to show some message like "You are sitting at NewYork". Please let me know how this is posiible. I have seen on some fake stuff on dating site like. "i m online from CA" etc. I know …

Web Development php
Member Avatar for behzad61
0
289
Member Avatar for solomon_13000

The code below is responsible to iterate the eachFilter array and then process the values in the array. Code: var eachFilter = ['stk_product In List 1002,1004','stk_status In List W,N']; for(var i = 0; i < eachFilter.length ; i++){ var stk = ['stk_product','stk_status']; var len1=0, len2=0, len3=0; var re1 = new …

Web Development javascript
Member Avatar for Taywin
0
137
Member Avatar for aldeene

We try to deply a website to a webserver but it shows only codes. are we missing something? is it possible that a webserver does not support asp?

Web Development asp asp.net
Member Avatar for JorgeM
0
169
Member Avatar for aldm

Hi, is there any API for historical dates on web that returns data in xml or json format. For example, I need to get importants events in history on todays day and show that events in my app. Is there any good place to do it? And if you know …

Web Development api json xml
Member Avatar for pritaeas
0
238
Member Avatar for neha05

Invalid address: Invalid address: SMTP -> ERROR: Failed to connect to server: Connection timed out (110) SMTP Error: Could not connect to SMTP host. Mailer Error: SMTP Error: Could not connect to SMTP host.

Web Development email php
Member Avatar for neha05
0
218
Member Avatar for bangla

Hi, I am generating a random number. Then i click start. How can i see random value of q1 in html row after i click on start button? <!DOCTYPE html> <html> <HEAD> <SCRIPT language="JavaScript"> <!--hide function newtext() { var q1=Math.floor(Math.random()*11) document.myform.mytext.value=q1; setTimeout("moretext()",4000); } function moretext() { document.myform.mytext.disabled = true; } …

Web Development html-css javascript
Member Avatar for rotten69
0
218
Member Avatar for danarashad

I am having a problem installing CF 10. I keep getting an HTTP 500 Internal Server Error. Detailed Error Information **Module:** IsapiModule **Notification:** ExecuteRequestHandler **Handler ** cfmHandler **Error Code:** 0x80004005 ** Requested URL** http://127.0.0.1:80/CFIDE/administrator/index.cfm **Physical Path** C:\ColdFusion10\cfusion\wwwroot\CFIDE\administrator\index.cfm **Logon Method** Anonymous **Logon User** Anonymous

Web Development coldfusion
Member Avatar for danarashad
0
673
Member Avatar for daniel36

How can i get result between two date from database where date is in unix timestamp.How can i use WHERE clause to get result.I required in a project.

Web Development php unix
Member Avatar for diafol
0
194
Member Avatar for mohan gold
Member Avatar for diafol
0
225
Member Avatar for basketmen

Hi guys, like you might already know, domain renewal fee in enomcentral is $39 per year, so i wanted to transfer out my domain from enomcentral to namecheap or godaddy i already tried ordering transfer in namecheap 2 times, but still failed, its says > Reason for Cancellation : > …

Web Development
Member Avatar for LastMitch
0
239
Member Avatar for Webville312

I am trying to display values fetched from a MySQL database as an excel spreadsheet. Now, I have been successful to create a csv file using the code below; <?php error_reporting(0); include("includes/connect.php"); // This is the connection string to the database //Select the required records from the database $result = …

Web Development mysql php
Member Avatar for Webville312
0
185
Member Avatar for theonlylos

I currently have a client who offers a set of online self-improvement materials for a course which is intended to last a year, and which has new material sent to the participants every Monday, Wednesday, and Friday. Right now users register and then they are clustered into one of four …

Web Development wordpress
Member Avatar for sridevikannan
0
186
Member Avatar for hankmeyer

Hi, I have made a script that is supposed to check if an image exists on remote server, check if exists on local server, and decide weither or not to copy the image or not (It is poster images for a movie database of my own). However this is under …

Web Development php
Member Avatar for code739
0
329
Member Avatar for Proglearner

This is a complete js script I wrote while teaching myself js: /* The Extremely Long Compliance Quiz (TELCOQ) copyright (c) 2013 by Miki Kocic. All * rights reserved except that his program is being released under the GNU Public * Licence version 2 or later, with the version later …

Web Development gaming javascript
Member Avatar for Proglearner
0
237
Member Avatar for hwoarang69

i am trying to print the value of $ss. but it say 'qty' is undifine on line($ss = $_post['qty'];). index.php <?php echo" <form method='post' action='index.php'> <input type='text' name='qty' /> <button type='submit' id='opener01' name='b1'>submit</button> </form>"; echo" <div id='dialog01' title='ccc'> "; $ss = $_post['qty']; echo"$s; echo" </div>"; ?> jquery.js $( "#dialog01" ).dialog({ …

Web Development first-post php
Member Avatar for diafol
0
181
Member Avatar for bangla

Hi, Everything is working fine except the start time. Once I click start, i want to see start time is ticking but start time does not change. I want future time static and start time dynamic. Please advise. <html> <?PHP $From = date("H:i:s"); echo "From $From "; $Minutes = 1; …

Web Development javascript
Member Avatar for diafol
0
161
Member Avatar for pham.vanmanh.50

My site is [seoitc.com](http://www.seoitc.com), we are using joomla for this site, but have 1 problem when i try auto redirect to anypage that show error: Warning: Cannot modify header information - headers already sent by (). I tried change redirect to use js but cant use same status(302,303...) same as …

Web Development http-protocol javascript php
Member Avatar for diafol
0
1K
Member Avatar for janguyo

<?php include("menu.php"); ?> <?php include("dataaccess.php"); ?> <?php include("functions.php"); ?> <?php //' Copyright 2004 Vender-MGT http://www.vender-mgt.com if(!empty($HTTP_GET_VARS)) { if (!empty($HTTP_GET_VARS["orderby"])) $orderby = $HTTP_GET_VARS["orderby"]; if (!empty($HTTP_GET_VARS["order"])) $order = $HTTP_GET_VARS["order"]; if (!empty($HTTP_GET_VARS["id"])) $categoryid = $HTTP_GET_VARS["id"]; } if(empty($orderby)) { $orderby = "projectname"; } if(empty($order)) { $order = "asc"; } if ($order == "asc") $order …

Web Development html-css php
Member Avatar for diafol
0
194
Member Avatar for unikorndesigns

Hi there, I am facing some problems in fetching the tags entered into an input field that uses the the jQuery tagManager. <input type="text" name="tags" placeholder="Tags" class="tagManager"/> normally i just have to echo $_POST['tags'] in the PHP form handling part and it gives me the tags but, with class tagmanager …

Web Development javascript-jquery php
Member Avatar for diafol
0
181
Member Avatar for dilip.biswas.9404

Hallo, How can I connect with the multiple XML files (100 XML file) together from a folder. Example : C:\ Drive has a folder called XML, which belongs to 100 XML file. How can i load these XML files together in PHP. Please Help, thanks in advance. Dilip

Web Development php xml
Member Avatar for diafol
0
291
Member Avatar for fbutt1289

hi i am a junior web designer and this the problem i am having is that i cannot find were what i am doing wrong could someone please correct. as far as i can tell i am doing everything ok. the code which i have made wont do the result. …

Web Development php
Member Avatar for broj1
0
116
Member Avatar for sagisgirl

hey guys..i wold like to ask something about my checkLogin.php i already created a form using index.php, then i want to validate the form using checkLogin.php. but after i fill up my form, nothing was display.. here aremy codes <? session_start(); include("inc/dbconn.inc"); if(isset($_REQUEST['btn_login'])) { $conn = mysql_connect($hostname, $username, $password); mysql_select_db($dbname, …

Web Development php
Member Avatar for sagisgirl
0
96
Member Avatar for HunainHafeez

i am trying to pick a Varchar field (Question) from tblUser where email = session variable , it doesn't give error but picks -1 and shows it, why ? even that column isn't empt for the matching email code: String connectionString = "Data Source=COSANOSTRA; MultipleActiveResultSets=true; Initial Catalog=Waleed_orsfinal;Integrated Security=True"; protected void …

Web Development asp.net mssql open-source session
Member Avatar for HunainHafeez
0
218
Member Avatar for Dante2

Ok, so I'm working from a book called Agile Web Developement with Rails 4th Edition. I got up to page 83 where they have us running tests to ensure proper validation of our code up to this point. So I have checked and rechecked to make sure my code is …

Web Development ruby
Member Avatar for Dante2
0
320
Member Avatar for Proglearner

The following js script receives the variable "datum" from an external source and evaluates what type of data it is. Please, PLEASE tell me there's a more elegant way to write that particular code: // declare global variable var datumEval // is-datum-a-string function var stringCheck = new function() { if …

Web Development javascript
Member Avatar for diafol
0
209
Member Avatar for gopi17

Good Evening earth.... I have a question here, can someone guide me with my question Here it goes. I have a html form, which calls the function in javascript and prompts the user whether to delete a specific user.The dialog box prompts but it is not sending the value that …

Web Development html-css javascript php
Member Avatar for broj1
0
258
Member Avatar for Vingklippt

Hi. I'm trying to get my hover-effect to work , but the php seems to destroy the hoverfunction. My javascript works fine if I remove all php-code. What have I done wrong? <?php $host="*********"; // Host name $username="**********"; // Mysql username $password="geronimo"; // Mysql password $db_name="***********"; // Database name $tbl_name="****"; …

Web Development javascript mysql php
Member Avatar for Vingklippt
0
256
Member Avatar for istore221

okey i have upload my site everything works just fine except my contact form here's my code FYI - Im very new to the php <!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> <?php $user_name = $_POST["NameBox"]; $user_contact …

Web Development php
Member Avatar for istore221
0
276
Member Avatar for doha786

I don't have much experience with jQuery, so need a small help to build up one navigation menu bar where hover image will float/animate from previous(.current) location. Example: If the hover image remaining under 'HOME' as current page and if i hover/mouseover to 'CONTACT' menu then the 'hover_img' will float(animate) …

Member Avatar for diafol
0
235

The End.