52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for MasterH_1

This my site..http://www.vibrationlive.net. I just uploaded the progran to my Godaddy server. And im getting a lot of warnings and notices, how do i turn them off. And here is my php5.ini file (code) allow_url_fopen = off apc.enabled=0 expose_php = Off max_input_time = 60 variables_order = "EGPCS" extension_dir = ./ …

Web Development php
Member Avatar for pritaeas
0
119
Member Avatar for Geethu_1

Can anyone help us with an algorithm to randomly display elements which has different height and width units in a asp.net page

Web Development algorithm asp.net
Member Avatar for BobDelaneyFriends
0
134
Member Avatar for dstoltz

I ask myself this often - I've been using it for well over a decade, and still use ASP to build most of my sites - why? I consider it rock solid, mature, and something I'm very confortable with. And although I don't see support for it going away, I'm …

Web Development asp career
Member Avatar for JorgeM
0
254
Member Avatar for PriteshP23

Hello, I have csv filename with date. Everyday i have same csv file with respective date. I need to read filename (*everyday date changes in filename*) and do operation. For example, I have file "**cells_20140106_165532.csv**". I did like this to read it in general: $filename = "cells_".date('Ymd_hmi').".csv"; $file_contents = file_get_contents($filename); …

Web Development php
Member Avatar for diafol
0
1K
Member Avatar for wolexade

I am trying to create a matrix table. The values to be plugged into the matrix will be user input from an html table (basically a unique pairing table which pairs two elements at a time and for each pair a user can select which he prefers and by how …

Web Development javascript
Member Avatar for Airshow
0
476
Member Avatar for YakuzaJevin

anyone have a php code for arranging the inputed value of A B C D, from highest to lowest using if,elseif statement, ty :D

Web Development php
Member Avatar for pzuurveen
0
104
Member Avatar for Stefano Mtangoo

Hi Guys, I want to be generating random quote of the day. I want it to be so random and not repeating itself the same quote What is the trick (If code exclude simple db stuffs like mysql_connect et al) Thanks

Web Development php
Member Avatar for pritaeas
0
618
Member Avatar for newbie_to_cpp

Hi everyone, I am new to PHP. I have a problem. I have a simple HTML form where when I select the country from select / option list provided, i want PHP to echo message on country I selected. Also I want PHP include function to list the form specific …

Web Development php
Member Avatar for Bachu
0
301
Member Avatar for dwlamb

I am converting a PHP application from MySQL to PostgresSQL. The MySQL works flawlessly. The database for this application is a one to many relationship. I have a while loop nested inside another while loop <?php while ($movie_row = pg_fetch_array($movie, PGSQL_ASSOC)) { ?> [html code to echo various elements of …

Web Development mysql php postgresql
Member Avatar for cereal
0
175
Member Avatar for subrata_ushasi

Hi, In coldfusion we print as <cfoutput>#variable#</cfoutput> but if I want to print # sign that is output will be #. how to do that ?

Web Development coldfusion
Member Avatar for EfrainGonzalezBermudez
0
365
Member Avatar for mrhankey

hi there, i have a site which has a jquery datepicker in it. i went onto jquerys site and downloaded the timepicker code and tried to add this in but it is not working. currently my code is: $('.datepicker').datepick({ dateFormat: "dd/mm/yyyy", alignment: 'bottom', showOtherMonths: true, selectOtherMonths: true, renderer: { picker: …

Web Development javascript javascript-jquery
Member Avatar for diafol
0
213
Member Avatar for nevek

HI I'm trying to learn how I need to upload a file and I am wondering if I have to use <form method=post> </form> or can I use <form method=get> </form> and why. Thanks in advance

Web Development file-system php
Member Avatar for diafol
0
134
Member Avatar for klemme

Hey All, I am tryiung to create a function that lets me filter products on the page, by using html5 data-attributtes. Each prodct can have multiple values, as in: data-brand="acer", data-screen="17" data-processor="blah" etc etc. I am trying to make it work with two filter options at the moment, and then …

Web Development javascript
Member Avatar for klemme
0
197
Member Avatar for safeer008

Hi Can I use the ajax to update a form feild by get a value of another feild on the same page(without submiting the page). This process involves the mysql as well.

Member Avatar for M.Waqas Aslam
0
112
Member Avatar for Jibran12345

Hi I'm creating a website that uses a count query, to see how many things in the database match a variable. Table eg: Whats Liked User Liked By potatoes djiajgi computer djiajgi ......... Now, I'm trying to see people who like the same thing as you do, and am ordering …

Web Development display mysql php
Member Avatar for pzuurveen
0
291
Member Avatar for abhishek2409

` if(something here) { <img src="a.jpg" class="image" /> } else if(somthing here) { <img src="b.jpg" class="image" /> } I have something like it But class and events associated with it in jquery does not work for second block. Please help.

Web Development php
Member Avatar for pzuurveen
0
115
Member Avatar for thilipdilip

I got a product table like this id | name | category 1 | name1 | 2,1,5,8,9 2 | name2 | 2,1 3 | name3 | 5,8 And I got a category table like this id | catname 1 | cat_name1 2 | cat_name2 5 | cat_name3 8 | cat_name3 …

Web Development mysql php
Member Avatar for thilipdilip
0
2K
Member Avatar for melhanz

<select name='brgylist' id='list'> <?php require_once "connection.php"; $result = mysql_query("SELECT `BrgyCode`,`Barangay` FROM `ref Barangay`"); while($rec = mysql_fetch_array($result)) { echo '<option value="'.$rec['BrgyCode'].'">'.$rec['Barangay'].'</option>'; } echo 'The Code selected is '.$rec['BrgyCode']; ?> </select> I want to store the selected dropdown list to a variable because i will use it to query to output in …

Web Development php
Member Avatar for minitauros
0
318
Member Avatar for nowewiesci

In which **real** situations have you seen C++ usage for web applications wth PHP? I've looked throught the forum, I've asked uncle Google and I know that: - PHP extensions can be written in C/C++ - there is a great amount of C/C++ libraries you can use in PHP projects …

Web Development c++ php
Member Avatar for pritaeas
0
153
Member Avatar for Jibran12345

Hi, I'm creating a website where users can liket things and by liking things you'll see people who have liked the same thing on your home page. Now, currently my code shows people who like ONE same thing as you, but how would I make it so that if anyone …

Web Development mysql php seo
Member Avatar for pritaeas
0
430
Member Avatar for showman13

This may sound like a question I shouldn't need to ask, but here I am asking it... In a PHP page I am doing some simple html stuff, where there is a reference in a paragraph to information on another part of the page (rather lengthy document)... in html I …

Web Development php
Member Avatar for JorgeM
0
207
Member Avatar for showman13

Good Morning All, and HAPPY NEW YEAR to everyone, whether you celebrate it or not... I have what should be a relatively simple question that I would like to pose that could avoid a very lengthy one... if I create an associative array and place several key>value pairs in the …

Web Development php
Member Avatar for showman13
0
228
Member Avatar for GlenRogers

Ok,I havent a clue how to do this. I have a mysql table for products, each has id as the primary key. I have an admin page where I upload products to this table or delet/hide them too. But I want a way where when I'm uploading the products to …

Web Development mysql php
Member Avatar for iamthwee
0
101
Member Avatar for kgizo

I would love to know whether this code is the correct manner to send mysql data to a remote database. $host = 'www.domain.tld'; $user = 'remote_user'; $pass = 'remote_password'; $time_end = microtime(true); //grant per;misions to connect to remote host if (!function_exists("ssh2_connect")) die("function ssh2_connect doesn't exist"); // log in at server1.example.com …

Web Development mysql php
Member Avatar for The Diamonds
0
589
Member Avatar for david.roun.7_1

I'm wondering if anyone could help me with this code. I'm trying to display a photo based on the current month. function pictures(){ document.getElementById('pics'); var m= new Date(); var month=d.getMonth(); switch (month){ case (0): var img=new Image(); img.src="Holiday/HolidayDesktops/Newyear.jpg"; break; case(1): var img=new Image(); img.src="Holiday/HolidayDesktops/Vday.jpg"; break; case(2): var img=new Image(); img.src="Holiday/HolidayDesktops/St.Patday.jpg"; …

Web Development javascript
Member Avatar for david.roun.7_1
0
235
Member Avatar for Mohamed_26

$_GET is empty and this is my code. I dont know what to do <?php session_start(); ?> <?php error_reporting(E_ALL); ini_set('display_errors', '1'); $hostname = "localhost"; $username = "xxxxx"; $password = "xxxxx"; $database = "db1104107"; //echo '24'; //connection to the database try { $dbhandle = new PDO("mysql:host={$hostname};database={$database}", $username, $password); } //to handle …

Web Development html-css php
Member Avatar for ryantroop
0
275
Member Avatar for mattyd

A simple question (One which I do not have the answer to yet). One small yet important aspect of my current project is collecting IP addresses via email registration/email confirmation. I assume seeing an IP is not difficult (User's email header?) **My question is**: *Is this IP the IP of …

Web Development php
Member Avatar for JorgeM
0
138
Member Avatar for Jibran12345

Hi, I'm trying to make a website in which users can post thing. The thing is, is that if it is a photo then I want it to show as a photo. Unfortunately, if the first row in the database that matches my query, all the posts will be echod …

Web Development php
Member Avatar for Josh Connerty
0
208
Member Avatar for Daniel_18

AGH that was annoying...After typing this whole thing I went to register with Google+ and now I have to type it all again...anyways... I have a registration page on a CMS that I'm building. The first step in attempting to register is to enter an email address. Once it's entered, …

Web Development cms javascript php
Member Avatar for Airshow
0
299
Member Avatar for noel9

hiee i want to sort a column on the click of hyperlink of header i m doing it by sql query so how so i write javascript for this so that i can call on onclick of hyperlink and column get sorted

Web Development php
Member Avatar for JorgeM
0
125
Member Avatar for Ambrish_1
Member Avatar for Ambrish_1
0
250
Member Avatar for umaima_121

Please can anyone cheack my work its not working with me ! Also if you have any simple Solution can I use, it will be better ! Protected Sub Button1_Click(sender As Object, e As System.EventArgs) Handles Button1.Click Dim conString As String = "Data Source=BUSH;Initial Catalog=HOTEL;Integrated Security=True" Dim sqlCom As SqlCommand …

Web Development asp asp.net open-source
Member Avatar for JorgeM
0
380
Member Avatar for itsnauman

Hey guys, I just bought a Macbook Pro but I can find a software that works like WAMP for the Mac OSx for managing MySQL & running PHP scripts on local host, can you guys help?

Web Development mac-software php
Member Avatar for Bachu
0
161
Member Avatar for s0bigg

I have a website that gives search results of products. I am using page numbering for splitting up search results from 1 to 10. I need to do some work on this search page. First of all, I want to fix the page numbering system. Currently it is showing a …

Web Development apple php
Member Avatar for kthxdie
0
3K
Member Avatar for noel9

<td><input type="text" name="c1" value=" <?php if($p_id!="")echo $a? else echo $p_name>" ></td>

Web Development php
Member Avatar for cwarn23
0
128
Member Avatar for zelanne74

Hi, I have here a code for saving a pdf file to mysql database as blob. may problem is how can i retrieve pdf blob in php. thank you. <?php if(isset($_POST['add']) && $_FILES['filename']['size'] > 0) { $fileName = $_FILES['filename']['name']; $tmpName = $_FILES['filename']['tmp_name']; $fileSize=$_FILES['filename']['size']; $fileType = $_FILES['filename']['type']; $fileType=(get_magic_quotes_gpc()==0 ? mysql_real_escape_string( $_FILES['filename']['type']) …

Web Development mysql pdf php
Member Avatar for zelanne74
0
808
Member Avatar for WebWebbington

Hi, Below is the code I am having difficulty making work: public function showLoginOut() { if (session==null) { return '<li><a href="login.php">Login</a></li>'; } else { return '<li><a href"logout.php">Logout</a></li>'; } } *^ Above is a PHP page, which holds functions I can use in a phtml document* <ul> <li><a href="index.php">Home</a></li> <?php function …

Web Development ecommerce php session
Member Avatar for Mohamed_26
0
213
Member Avatar for pkasar91

hi please how can i do connectivity in html with ms access using java script...

Web Development html-css javascript
Member Avatar for pritaeas
0
121
Member Avatar for bops

Hi My issue is that I want to either call 2 AJAX functions one after the other OR call just the second one. Let me put this into context.. I am writing a "store locator" application. By default all the results are loaded in alphabetical order. A user is able …

Web Development api google-api javascript json
Member Avatar for Airshow
0
275
Member Avatar for kgizo

Good day I need help incorporating a progress bar into my code, I first needed to export a query from my database but however the time taken for the query to be exported to a xls file should be shown in a form of a progress bar. if i exit …

Web Development file-stream php web-browser
Member Avatar for kgizo
0
1K
Member Avatar for just_program

hi my name is lester page and i have a problem that is displaying links to the owner of the comment. the code is working fine but the thing is the links are being displayesd whether the logged in user is the owner or not. the database i have heading …

Web Development display php
Member Avatar for broj1
0
114
Member Avatar for kavitha N

Hi, I have one asp.net project. And one more normal static webpages site. What i want is after login into the website(asp.net) it has to redirect to the static webpages site. once log out from the website they should not enter into the site. And both the sites are ready …

Web Development asp.net session
Member Avatar for JorgeM
0
161
Member Avatar for lisy

Hi I am doing a project where i need to edit values in textboxes from database using jsp, here is my code, Please can anyone help me to solve this: retrieve.jsp [code] <%@ page import="java.sql.*" %> <% Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");%> <HTML> <HEAD> <TITLE>Fetching Data From a Database</TITLE> </HEAD> <BODY> <H1>Fetching Data From …

Web Development java-jsp microsoft-access
Member Avatar for stultuske
0
3K
Member Avatar for MARKAND911

I get an error message when i open an MVC project. The error is attached as screenshot. While the same project opens in another machine. Steps taken by me to solve the problem •Installed IIS •Given permisssion to "inetpub" folder •Uninstalled IIS and installed IIS Express •Opened Visual Studio as …

Web Development asp.net visual-studio
Member Avatar for Ewald Horn
0
187
Member Avatar for guyinpv

I'm writing a PHP/MySQL app for myself as both a tool I want to use, and a learning excersie for coding. The app is a very basic finance or budget tool. You can imagine already there will be a type of dated "register" that will list all my bills/debts and …

Web Development app-store finance php
Member Avatar for pritaeas
0
228
Member Avatar for neha05

Hello I need to create following video kind of admin panel in wordpress,or in wordpress any plugin available to manage and provide such kind of functionality ,please guide me in that,thanks in advance http://www.youtube.com/watch?v=1UnjVoShUno video1 http://www.youtube.com/watch?v=ahk-Hvbc9mE video 2

Web Development php wordpress
Member Avatar for neha05
0
108
Member Avatar for Mohamed_26

I have been getting this error. I have no idea what it is. Any help provided would be awesome. `require "connect.php"; $query = "SELECT DVD ID, Name Of the DVD, Quantity FROM DVD"; $stmt = $dbhandle->prepare( $query ); $stmt->execute();` This is where I am getting my error. I researched about …

Web Development html-css php
Member Avatar for Mohamed_26
0
267
Member Avatar for driazi

Hi, I changed my wodrpress URL manually and after then i saved and loged out from admin panel . now i can't login to my wordpress Admin page after changing The URL 's and whenever i want to log in it redirects to other page that i changed in URL …

Web Development http-protocol php wordpress
Member Avatar for cereal
0
395
Member Avatar for kausarhusain

Warning: mysql_query() [function.mysql-query]: Access denied for user 'nobody'@'localhost' (using password: NO) in /home/kamsarph/public_html/index.php on line 3

Web Development client-server php
Member Avatar for splink105
0
170
Member Avatar for ebanbury

Hi My forgotpass.php function used to work. Suddenly it only works up until you get the message: 'An email has been sent to you with instructions on how to reset your password. <strong>(Mail will not send unless you have an smtp server running locally.)' However no email is sent. It …

Web Development html-css php
Member Avatar for ebanbury
0
483

The End.