Posts
 
Reputation
Joined
Last Seen
Ranked #4K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
3
Posts with Upvotes
3
Upvoting Members
3
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
2 Commented Posts
0 Endorsements
Ranked #1K
~31.6K People Reached
About Me

Web Developer (VB.net)

Interests
PHP, general web development, football(soccer)
Member Avatar for whiteyoh

Hi, I have a working account generator, which passes the password to mysql with MD5. I am currently working on a forgot password script, which generates a new password and stores as md5, then emails the user, however, the new password is not recognised. This is the forgot script. Can …

Member Avatar for rproffitt
1
2K
Member Avatar for wad

[CODE]<?php header('Content-type: image/JPG'); $username = "root"; $password = ""; $host = "localhost"; $database = "image"; @mysql_connect($host, $username, $password) or die("Can not connect to database: ".mysql_error()); @mysql_select_db($database) or die("Can not select the database: ".mysql_error()); $query = mysql_query("SELECT * FROM img"); while($row = mysql_fetch_array($query)){ echo $row['image']; } ?> [/CODE] that code display …

Member Avatar for pritaeas
0
13K
Member Avatar for shibobo2001

I`m creating a simple social network site, I need to implement a sophisticated friend request system, one which works like facebook, this will work as follows: If James wants John to be his friend, he will click John's name. John will be notified that James has asked to be his …

Member Avatar for Brian_3
0
4K
Member Avatar for littletechie

Hello all I am creating a page that dynamically updates as tables are added and removed from the database. Like so: [code=php] #connect to mysql $conn = @mysql_connect("localhost", "root", "*****") or die("Err:Conn"); #select db $rs = @mysql_select_db("ecf_training", $conn) or die("Err:Db"); $query="SELECT * FROM class"; $result=mysql_query($query); $num=mysql_numrows($result); $i=0; if($num != 0){ …

Member Avatar for littletechie
0
81
Member Avatar for kbjustin

I am interning at a company and they have had me build a simple website which basically displays a list of their servers and they update entries, create new entries and so on. I am new to php and mysql and just web design in general. My question is do …

Member Avatar for paradox814
0
156
Member Avatar for rapture

Hello all, It seems I'm on a wild goose chase, either that or this is going to be a lot harder than I imagined, and I imagined it being pretty difficult. I posted in other forums here asking for help on this issue, it was suggested that PHP may make …

Member Avatar for rapture
0
227
Member Avatar for itisnot_me

ok what i have users do is upload files to the server, the files gets renamed for conflicting issues, and then they choose a name they want to call the file. After it uploads it sends that info to the database. now i know that they are going to want …

Member Avatar for itisnot_me
0
6K
Member Avatar for Sevenupcan

I'd like to know if it is possible to save or create an image made up of other images. The easiest way I can think of would be to have all the images as transparent pngs of the same height and width and then merge them together. Is it possible …

Member Avatar for samarudge
0
112
Member Avatar for angryfans

I'm trying to display a certain amount of words on one page from a database entry. For ex., on my main page I want to display the first 50 words of a story then a link will lead you to the rest of the story. I kind of know what …

Member Avatar for diafol
0
109
Member Avatar for kako13

Hi, A user go to search.php and input the term. If the user want to search for an exact prhase it add to the search term " " just like Google do. Example: "apple" But when the variable is passed to search_results.php it look like this: [CODE=php] //search_results.php $var = …

Member Avatar for kako13
0
172
Member Avatar for BigDan531

okay guys ive got this page in which i want to verify the key that the user inputs with the key in my sql database, and then it updates a row called user_okay when i click on the enter button. [code] <?php session_start(); include ('dbc.php'); //if ($_POST['Submit']=='Enter') // { $keys …

Member Avatar for pin8marian
0
96
Member Avatar for levtyler

I want to sort the result of a while loop alphabetically, here is the code. I am new at this and I tried everything I can think of, but I am still clueless. Thanks for anyone who could help. [code=php] <?php while (loop_collections()): ?> <div class="collection"> <h2><?php echo link_to_collection(); ?></h2> …

Member Avatar for TommyBs
0
460
Member Avatar for InsightsDigital

Would you add Facebook Connect as an option for members to sign in and share their activity on your site to their facebook wall? Or why not? As a user, I personally opt out of Facebook connect at times and prefer to sign in as a new member. Why? Well, …

Member Avatar for InsightsDigital
0
99
Member Avatar for tulipputih

Hello everybody, how do I rank mysql search results by column weighting? thanks for your input.

Member Avatar for tulipputih
0
158
Member Avatar for brianzet

Hi everyone! Have a few questions I hope someone may be able to help me with, because I'm really stucked here.. And sorry if I'm not explaining myself very good, because my english is not that good. Well.. I am trying to build my own blog with like a Content …

Member Avatar for brianzet
0
193
Member Avatar for mrcniceguy

i have a gallery SCript which i saw in tutorial sitepoint.com everything is working well except that i want to limit users,which means the albums will be opening accoding to user=name WHERE SHOULD I PUT THE WHERE CLAUSE LIKE THIS user='$user' in the script below. [code=php] query( "SELECT c.category_id,c.category_name,photo_filename,COUNT(photo_id) FROM …

Member Avatar for mrcniceguy
0
141
Member Avatar for TommyBs

Hi all, I've recently begun working with mysqli in a php site in order to make use of bound queries. Now I have a config file that I am including in all pages that has something similar to: $dbc = new mysqli(_HOST,_USER,_PASS,_DBNAME); and this works as expected. If I then …

Member Avatar for kvprajapati
0
116
Member Avatar for Hafner99

Hi everyone! I work for a public university and need to create a new forum. Never done this before and was hoping you experts out there could give me some advice. We have our own website, servers, etc... so that isn't an issue. Our online community will include university employees …

Member Avatar for bobchrist
0
112
Member Avatar for Temax

Is someone who can help me; I'm trying to get an image from a folder and show it: Here is my code, logos is the directory; the problem is that I'm getting only the name of the image! $handle=opendir('../logos/'); while (false!==($file = readdir($handle))) { if ($file != "." && $file …

Member Avatar for koolhq
0
96
Member Avatar for C.G.P.

CAPITALIZING ON THE SOCIAL NETWORK, An Article by C.G.P. First I would like to make a statement in regards to the post's here on DaniWEB in regards to this topic and the few other's that I have read and replied to. After joining this Social Network for Web Related Developement. …

Member Avatar for TommyBs
0
253
Member Avatar for Tekkno

I am new to PHP. I have a MySQL database with a column of URL's. I have a PHP script that randomizes the URL's and echoes the result to the browser. I just need a need a way to turn the randomized URL into a clickable link. I would imagine …

Member Avatar for Tekkno
0
2K
Member Avatar for rickarro

I'm having trouble figuring out how to display data from another indexed table. What I have is one table (assets) with a majority of my data in it. I use a simple select statement to display the data. Within that data is a field of "typeid" which is an indexed …

Member Avatar for rickarro
0
158
Member Avatar for ahmksssv

Hi frnds... I have some doubts regarding this PHP... 1)i need to display an add in between two pages.....i.e. when i post data from 1st page to 2nd page than, i want to display an add before redirecting the 2nd page...by using PHP or JavaScript... 2)Can we pass input value …

Member Avatar for cwarn23
0
114
Member Avatar for serdas

i am using this code to send pm, after i send a pm it says "You have successfully sent a private message!" and the boxes under for user to send again if they like but i would like to show only "You have successfully sent a private message!" if the …

Member Avatar for serdas
0
100
Member Avatar for queenc

hi can anybody tell what the error is Fatal error: Call to a member function insertseeks() on a non-object in php

Member Avatar for queenc
0
75
Member Avatar for sacarias40

im working on a site and i would like to display the newest members within 30 days. how would i do this. im using mysql database. when the person signs up, it records the current date into their row. my module should show people that have signed up within the …

Member Avatar for sacarias40
0
194
Member Avatar for jakx12

ok so the code inserts into the database a default status when the user sign ups. But I get an error saying: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''status' ) Values(`asd.asd`, …

Member Avatar for mschroeder
0
155
Member Avatar for ammar77

I have a php code which generates random number if visitor comes to my wordpress blog from yahoo.com and if the random number is less than 10 then display a welcome message else display normal blog. Or if visitor come to my blog without any referrer or from other sources …

Member Avatar for death_oclock
0
80
Member Avatar for simplyV

Please help me find errors in this code, because it is not displaying what i requested. PLease answer A.S.A.P [code=php] $query = mysql_query("SELECT * FROM member"); $result = mysql_query($query); while ($row = mysql_fetch_array($result)) { if(mysql_num_rows($result) == 0) $result = mysql_query("UPDATE member SET flgCurrent = 'false' WHERE idMember =" .$row[0]); echo …

Member Avatar for simplyV
0
94
Member Avatar for TommyBs

Hello all, Recently signed up to this site but I have been reading the articles for some time with interest and gained some valuable information but I thought I would finally register to actually ask a question! I've been building a couple of sites recently that are community based from …

Member Avatar for TommyBs
0
83