Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
10
Posts with Upvotes
9
Upvoting Members
7
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
~59.5K People Reached
Favorite Tags
Member Avatar for metalix

first create the table [CODE] create table images ( image_id serial, filename varchar(255) not null, mime_type varchar(255) not null, file_size int not null, file_data longblob not null, primary key (image_id), index (filename) ); [/CODE] the file to output the images to the browser [B]picsrc.php[/B] [CODE]<?PHP //detect if image is called …

Member Avatar for guruparthi
0
1K
Member Avatar for Richtofen345

Hi, I am trying to connect to mysql from php Below is the sample code i used. [COLOR="Green"]<?php <?php $username = "root"; $password = "pwd"; $hostname = "localhost"; $dbh = mysql_connect($hostname, $username, $password) or die("Unable to connect to MySQL"); print "Connected to MySQL<br>"; mysql_close($dbh); ?>[/COLOR] The problem here is I …

Member Avatar for Deepika_6
0
2K
Member Avatar for $urya

Hi all, Today I read a thread by QWaz that just have been marked as solved. So, I think I should start a new thread with a prefix Tutorial as you are reading now. I'm going to cover in this tutorial are: - Create a directory after registering a new …

Member Avatar for bathina.gunasekhar
0
2K
Member Avatar for LRNPHP

Hi Everyone Could someone assist me in a PHP / MySQL dropdown select menu. I want to pull info from my DB and display it, then when I select the option it need's to reload screen and add a second drop down select menu. When I select the 2nd one …

Member Avatar for amaz4u
0
2K
Member Avatar for andydeans

hi, i have a site where the user can copy and paste a letter they typed on their pc into an HTML editor in the site and when inserted goes into the database. what i need to be able to do is have a button when inserting or a specific …

Member Avatar for mrhankey
0
120
Member Avatar for epicrevolt

I don't know where this thread fits, but since I need a new host for my PHP sites, I thought it would fit best here. So my current host seems to have like a 95% (at best) uptime, which is very bad. I want a host with at least a …

Member Avatar for giffy
0
414
Member Avatar for CoolAtt

hi all, i have 3 php websites , each one requires login (same username+password for all of them) they run on apache virtual hosts on the same machine. i want to centralise login on a single page by adding 3 forms on a page so that when i click on …

Member Avatar for diafol
0
252
Member Avatar for michael123

What's the difference between "include", "include_once", "require", "require_once"? thanks.

Member Avatar for GuggiTanvi
-2
501
Member Avatar for metalix

Hey guys, I know this will have an easy answer, but I have been awake far too long to see it :P I am doing some coding with classes in python, and it just isn't working. Here is the code: [CODE] from bpy import * from os import * from …

Member Avatar for metalix
0
271
Member Avatar for ptara1

So I'm trying to transfer a longblob from one data table to another. All the other data is transferring however the longblob isn't. I know it is getting up loaded to the temp table because the longblob column show s there is data in it. here is the snippet of …

Member Avatar for sjsnider
0
1K
Member Avatar for metalix

View the full tutorial at [URL="http://www.effectivewebdesign.co.nz/tutorial.php"]http://www.effectivewebdesign.co.nz/tutorial.php[/URL] I have tested this many times and it works fine. Please don't complain unless you really can't get it working, Just PM me and I'll fill in the blanks Happy Coding :)

Member Avatar for Rogueit
0
844
Member Avatar for metalix

Hey guys!! been a while since I posted here, but thought I'd post this question here cause it is driving me insane!! Basically, if the condition returns true, then that part works. but if it's false, neither part works. If I put the content from the else after the <script> …

Member Avatar for Airshow
0
165
Member Avatar for cliffcc
Member Avatar for Wesleyy

does anybody know what shortcut this guy is using to auto import html tags? [B][U]skip to 2:58[/U][/B] [url]http://youtu.be/dXzmEdEgODo[/url] does anybody know if this shortcut is also available for notepad++ or any other windows based editor? thanks.

Member Avatar for Narue
-2
155
Member Avatar for monta2020

i have a hyperlink that when i click then will show me an output of listed names. i want to have this list arranged from A to Z in . thanks. um using PHP.

Member Avatar for tomato.pgn
0
299
Member Avatar for Yemen Coder

hi guys as the title which is the best in security mysql_connect() or mysqli_connect() and which one you prefer thank you for help or suggestion .

Member Avatar for infinitizon
0
150
Member Avatar for rpv_sen

Hi Friends Pls help me, i have posted the code below, i am trying to multiply 2 text box values from thisqty and prate and final value has to be show in thisamt text box, and also i have attachment the screen shot [CODE]<form method="post" action="#" enctype="multipart/form-data" name="billing"> <table width="1000" …

Member Avatar for rpv_sen
0
281
Member Avatar for emily-bcot

Hi, I'm new to php oop. In our system when creating a new user, user's role can be assigned by selecting from the role dropdown list. Here, there are two classes, one is user class, another is role class. and user class use role class which is composition relationship. I …

Member Avatar for minitauros
0
173
Member Avatar for d4n1s

Well I am using the image functions to draw pixels on an image file using PHP. The problem is that when for instance I draw a black pixel and right next to it a white pixel and than again a black pixel the white pixel will get faded! It will …

Member Avatar for metalix
0
195
Member Avatar for jacob21

SELECT DISTINCT City FROM Persons this query is for finding distinct(different) value. how to find duplicate values which are not find by Distinct query.i.e repetitive(duplicate) values.

Member Avatar for metalix
0
97
Member Avatar for monta2020

Dear Guys, i have Created a Table using Php and when i inters much data on it (Address or History of some subjects), it will make the table toooo large in size which's unneeded .. i need to manage the width of my table eeven if i enter lots of …

Member Avatar for metalix
0
134
Member Avatar for xxreenaxx1

I am able to upload a file and echo these. But now I would like to upload these to my database. How would I go onto doing this. I found something like this for C++. but not sure how to convert this to PHP. this is what I found [CODE] …

Member Avatar for xxreenaxx1
0
181
Member Avatar for youvi

id name 1 A4_HUMAN 2 ABC3H_HUMAN 3 22P1_RAT 4 5HT1E_HUMAN Hello , See above shows a database table contains 2 fields id and name.. I need to search these values and display the names with a keyword entered by user. The key word may b a string or even a …

Member Avatar for metalix
0
133
Member Avatar for Geertc

Hello, I have a problem with htmlentities(). I 'm missing something here, but I don't know what it is. In my webpage, which is set to utf-8, the result of [CODE]echo htmlentities('éè')[/CODE] is [COLOR="Red"]éè[/COLOR]. Why isn't the result [COLOR="Red"]&eacute;&egrave;[/COLOR] ? Thing is : I want to put the name 'Hélène' …

Member Avatar for Geertc
0
226
Member Avatar for rohit b k

hi guys.. in my project i am storing some data in database in a varchar field with field length 255 characters. i want to extract only few of these characters that are stored in database.. please help me how can i do that..

Member Avatar for diafol
0
130
Member Avatar for ahsan1

[CODE]<?php if(isset($_REQUEST['action'])) { $value=$_REQUEST['check']; foreach($value as $ids) { $mdelete="DELETE FROM songs WHERE id='".$ids."'"; mysql_query($mdelete); } } ?>[/CODE]

Member Avatar for KamranArshad
0
373
Member Avatar for jack jastin

Hello every body, I would like to ask here, Is there any plug in by which any of the web page that is in one programming language can be changed into another programming language. Thanks a lot.

Member Avatar for metalix
0
106
Member Avatar for nitnayak

Hi, I am using 2 text box. one text box contains date (25/04/2011 format),when i focus on 2nd text box it should show month of 1st text box. please give me the code for it

Member Avatar for metalix
0
89
Member Avatar for kuteinheart

Hi, I have two forms: one which displays the list of projects in a dropdown box from mysql db second one is a date picker form. after this i have a submit button. Now, when i click the submit button I want to get the details of the Users corresponding …

Member Avatar for jessica007
0
6K
Member Avatar for PinoyDev

Good Day! I just want to ask on how to hide the html codes of a certain page so that when my client view the source, they cant see it.. Thnak you!

Member Avatar for PinoyDev
0
115