39,393 Topics

Member Avatar for
Member Avatar for matutuedwin

Guys help i want to retrieve data using hyperlink. for example when you click location information about that location will be retreived. iam using search fuction its working properly. help me out thanks

Member Avatar for The Diamonds
0
83
Member Avatar for noel9
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 …

Member Avatar for ryantroop
0
274
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 …

Member Avatar for JorgeM
0
137
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 …

Member Avatar for Josh Connerty
0
207
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, …

Member Avatar for Airshow
0
298
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

Member Avatar for JorgeM
0
122
Member Avatar for Ambrish_1
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?

Member Avatar for Bachu
0
160
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 …

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>

Member Avatar for cwarn23
0
127
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']) …

Member Avatar for zelanne74
0
805
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 …

Member Avatar for Mohamed_26
0
211
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 …

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 …

Member Avatar for broj1
0
113
Member Avatar for Robert Rusu

First things first, the story about this article. Recently I've created an Wordpress Plugin [WordPress - WP - Keywords To Tooltip | CodeCanyon](http://codecanyon.net/item/wp-keywords-to-tooltip/6513598) After a few days, somebody asked me if it's working with Wordpress Multi Site, initially scared, I didn't expect it to be so easy, I've achieved the …

Member Avatar for Robert Rusu
2
424
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 …

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

Member Avatar for neha05
0
107
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 …

Member Avatar for Mohamed_26
0
267
Member Avatar for jacob21

Hi, I stored hindi data in my my sql table through Php form. While fetching,it is not coming in hindi but some unusual symbols like गिरधर गोपाल रायतानॠis coming. using below code also [CODE]mysql_query('SET character_set_results=utf8'); mysql_query('SET names=utf8'); mysql_query('SET character_set_client=utf8'); mysql_query('SET character_set_connection=utf8'); mysql_query('SET character_set_results=utf8'); mysql_query('SET collation_connection=utf8_general_ci'); [/CODE] Need help..

Member Avatar for diafol
1
7K
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 …

Member Avatar for cereal
0
392
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

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 …

Member Avatar for ebanbury
0
481
Member Avatar for marifard

Dear, I have two database connection files. It is possible to use them to connect with two database instead of one only? this code shown below is the coding of one of them to connect with the particular database. The other file is used for username and password of the …

Member Avatar for pritaeas
0
125
Member Avatar for imrantrueface

I am newbie here can anybody help me with integration of shops to my website, thanks.

Member Avatar for mayaestat
0
112
Member Avatar for kumar89hitesh

how to send email from form in php? i used the code mail(); function of php but did not successfull. i also configure php.ini and send mail files but did not get success. Please give me suitable examples with all configure file in php.

Member Avatar for coreyavis
0
210
Member Avatar for twiggy145

I'm trying to create a dropdown list in a HTML form populated by results for a mysql query. However it is not loading and i am just given a white screen. $query = mysql_query("SELECT eventName from sgt")or die(mysql_error()); while($row = mysql_fetch_array($query)) { echo "<option value=\"$row['eventName']\">" $row['eventName']"</option>"; } Any help would …

Member Avatar for twiggy145
0
924
Member Avatar for np complete

I need to extract a certain string from a webpage and workon it. In the website it is given like this : `Decrypt the following random string: O2tsOGJeLj0saj07ODM1IQ==` I need only the base64 encoded part, but I can't think of any way. I tried using `substr()` and `strstr()` but I …

Member Avatar for diafol
0
142
Member Avatar for twiggy145

I have this project where i have to create an events website using a mysql database and php. I'm having some toruble with some code that will allow users that change their password. I know it's a problem with the mysql syntax in my query but i can't figure out …

Member Avatar for twiggy145
0
265
Member Avatar for tony75

Hi I would like display visitor ip address and location on my website and save it in ip.txt file in my webserver. How can I do it? <?php $ip=$_SERVER['REMOTE_ADDR']; $file = fopen('ip.txt','w'); fwrite($file,$ip); echo "Your IP Address is $ip"; ?> //When I run in my xampp localhost I got like …

Member Avatar for tony75
0
1K

The End.