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
1 Commented Post
0 Endorsements
Ranked #1K
~13.8K People Reached
Favorite Tags

62 Posted Topics

Member Avatar for wonderland

I recently did a site which had a news section and to be honest all i did was create a text file and use [CODE]<?php include('news-file.txt');?>[/CODE] into the pages i wanted to display the news. For styling purposes you could create a HTML page and change the news-file.txt to news-file.html. …

Member Avatar for _1_27
0
1K
Member Avatar for edotman

[QUOTE=edotman;1041028]Hi Guys I am creating a site and i want users to be able to upload videos to a folder on a server, using SQL to store the path of the video and the name. I have created this Code. And it does upload all the details, but does not …

Member Avatar for diafol
0
932
Member Avatar for emhmk1

Hi Everyone. I'm having a hard time getting my head around the concept of this and kind of need it spelling out for me. as things stand the user uploads a video and then my script converts it without the user being able to do anything, however this, i know, …

Member Avatar for emhmk1
0
173
Member Avatar for emhmk1

Hi All, Okay, this has been bugging me for the past two days and i cannot think straight! Basically, the theory is, the member will upload a video, link is stored in database and on the video page all the videos are displayed click on video and page opens with …

Member Avatar for Agarsia
0
84
Member Avatar for ayesha789

Probably best to use sessions [URL="http://www.w3schools.com/PHP/php_sessions.asp"]http://www.w3schools.com/PHP/php_sessions.asp[/URL] Hope it helps...

Member Avatar for F-3000
0
150
Member Avatar for emhmk1

Hi Everyone, i have a query regarding checkboxes. i have got a 'check all' checkbox on my form but what i need is to uncheck all if the check all is not checked This is the check all script [CODE]function checkAll(field) { for (i = 0; i < field.length; i++) …

Member Avatar for scaiferw
0
129
Member Avatar for danielagaba

[QUOTE=danielagaba;1213639]hi i'm pulling data from a mysql database and displaying it in an html table. my problem is i want to be able to have the information broken into pages so that users dont have to scroll down a page but i'm not sure how to do this. thanks[/QUOTE] You …

Member Avatar for diafol
0
95
Member Avatar for jimmyjdesigns

To be honest i have no idea but i would guess that in the print stylesheet you would 'hide' all elements apart from the ones you want to print out setting display:hidden should work on most things. Also you should change your font, background image / colour and text colour …

Member Avatar for almostbob
0
96
Member Avatar for Philippe_1

[QUOTE=Philippe_1;1189454]I have a problem with my left menus. I have 2 menus, a main menu on the top of the website and a menu on my left. I have 5 buttons/links on my main menu and for each section of the website I have a menu in the left frame. …

Member Avatar for almostbob
0
127
Member Avatar for caro88

Are you using a database? if so create a level or access field and use 0 as student 1 as manager then call the level or access and direct them to the desired page [CODE] <?php // check login credentials ...// if ($level == 1){ header('Location: manager.php');} ?> [/CODE] and …

Member Avatar for genevish
0
182
Member Avatar for bjeffries

Not sure what your after with the first question, do you want to change the format of the date ie m/d/y or d/m/y ? For question 2 you basically answered that yourself. put a limit in the sql query [CODE]$select = ("SELECT * FROM photo_albums ORDER BY uptime ASC LIMIT …

Member Avatar for genevish
0
107
Member Avatar for joval

try this [url]http://www.quirksmode.org/dom/inputfile.html[/url] hope it helps...

Member Avatar for diafol
0
106
Member Avatar for D4n1sD

[QUOTE=D4n1sD;1189081]How can I make OnMouseOver effect apply in a whole <div> like whenever the mouse is over that div it does something.[/QUOTE] i would put an id on the div then use a document.getElementById within the mouse over function. If you want to be specific with what you want to …

Member Avatar for almostbob
0
81
Member Avatar for kristo5747

i had a major headache with this not too long ago, as far as i remeber i just reloaded the page with an onClick event, might not be the best method but worked like a charm for me. Hope it helps...

Member Avatar for kristo5747
0
121
Member Avatar for nomisf1
Member Avatar for Kruptein

[QUOTE=Kruptein;1172232]I have this id that should be default 15px from the bottom (which works). But if I have content larger, the content box should grow in height, how can I specify this? [code=css]#content { position:absolute; top: 85px; left:15px; right:130px; bottom:15px; background-color:#00CC00; font-family: Arial, Helvetica, Tahoma, sans-serif; }[/code][/QUOTE] Hi, You could …

Member Avatar for Kruptein
0
70
Member Avatar for niths

[QUOTE=niths;1169111]how to get the username given in login page in the next page[/QUOTE] You might need to elaborate a touch on what you mean, if you mean when the user has logged in and you want to show that on the page then $_SESSION is best. If it's a form …

Member Avatar for emhmk1
0
38
Member Avatar for spectacularbob

[QUOTE=spectacularbob;1162120]Hi Everyone, I am having trouble developing a user registration form for my site. Here are the steps that I want to implement: Page 1: form page 1. the form where the user fills out their information into a form. 2. The form then posts the data back Page1 so …

Member Avatar for ko ko
0
161
Member Avatar for emhmk1

Hi everyone, i have a very basic pagination code for my site however i would like to adapt the links as they are displayed, so far the script just outputs numbered links but there is no such styling to the link. i would like the active link to be in …

Member Avatar for ko ko
0
93
Member Avatar for underwood88

[QUOTE=underwood88;1154566]Hey, In PHP and HTML i am trying to make a multi page registration form, collecting details such as Forename, Surname, password, and email on the first page. On the second address details, third any additional personal details. On the fourth a summary page showing what the user has entered …

Member Avatar for emhmk1
0
91
Member Avatar for emhmk1

Hello again. I'm looking for a way of displaying the results of a search facility on a site im creating. The site is based on an animal sanctury and the database holds two key tables for searching 'blog' and 'animals' respectivly. Now, how would i go about displaying the results …

Member Avatar for emhmk1
0
92
Member Avatar for emhmk1

Hi everyone, I'm very new to this whole ajax / javascript thing and i have a question regarding the image loader. Basically i want to add the image when the ajax is doing its stuff but i can't figure out where i need to put the code. As a matter …

Member Avatar for vsmash
0
92
Member Avatar for tryphy

Could you not use a $_SESSION and pass a session to each page? once the form is complete you can kill the session. Might not be the best solution Hope it helps...

Member Avatar for emhmk1
0
161
Member Avatar for phpangel

[QUOTE=phpangel;1150389]hi guyz, i'm developing my own website, when creating news, i'm having this problem, i can't show news by id, i mean i have 5 news item in my db and they are stored by id 1,2,3,4,5... but when it comes to display the news they all display as a …

Member Avatar for phpangel
0
201
Member Avatar for fobos

[QUOTE=fobos;1143286]Hello, im in a jam, i have tried to use count for my database to count a row, but i was wondering how to count individual things by name. ex.. +++++++++++++++ + id + name + color + +++++++++++++++ + 1 + joe + blue + + 2 + frank …

Member Avatar for fobos
0
111
Member Avatar for dan4domination

[CODE] $insert=("INSERT INTO bookings (ID, eventID, username, ntickets) VALUES (NULL, $a, [B]$usrname[/B], $b"); mysql_query($insert) or die ('Error'); } mysql_close($conn); ?>[/CODE] TYPO?! Shouldn't it be $username

Member Avatar for dan4domination
0
116
Member Avatar for emhmk1

Hi Guys, I'm having trouble with the form reset button in my php script. The form submits to it's self in the same page. The php script has error handling i.e [CODE]if(empty($name)){ $error[] = " Enter Your Name";}[/CODE] The Problem i have is when the form is submitted it checks …

Member Avatar for emhmk1
0
83
Member Avatar for nathanward01

[QUOTE=nathanward01;1143041]Is there an "simple" way to have a Rich-text <textarea> form save to a specific file on my server, replacing or adding to the existing version of that file? The reason I ask is a person I'm designing for doesn't knwo a lick of HTML, nor has any wish to, …

Member Avatar for emhmk1
0
91
Member Avatar for emhmk1

Hi , I have scanned a logo for a guy who's website im creating, however, he gave me some headed paper to scan to get his logo so i did and the background of the logo is dark and when i scanned it the image is very grainy. is there …

Member Avatar for JasonHippy
0
71
Member Avatar for kuteinheart

you will need to send a header declairing the html something like.. [CODE]$headers = "MIME-Version: 1.0\n"; $headers .= "Content-Type: text/html; charset=ISO-8859-1\n"; [/CODE] hope it helps...

Member Avatar for liamfriel
0
85
Member Avatar for rajeesh_rsn

you could use a simple [CODE]if(isset($_SESSION['uname'])){echo 'Logged in';} else {echo'Not logged in';}[/CODE] Hope it helps...

Member Avatar for harry_watson
0
117
Member Avatar for zodiacfive

Are you using [CODE]session_start();[/CODE] on the pages your passing the variable to? Maybe if you posted us some code we could help more!

Member Avatar for emhmk1
0
55
Member Avatar for harry_watson

Could you not use the nl2br() function? [url]http://www.w3schools.com/php/func_string_nl2br.asp[/url] Hope it helps..

Member Avatar for harry_watson
0
4K
Member Avatar for ultras1

Hi, for that title you will need a fieldset. [CODE]<fieldset><legend>Your Title</legend></fieldset>[/CODE] Then in the fieldset place your image. [CODE]<fieldset><legend>Your Title></legend><img src="#"></fieldset>[/CODE] You will need to set your fieldset to match the img width and height, pretty simple with CSS. Also you can move the <legend> to either left, right or …

Member Avatar for emhmk1
0
59
Member Avatar for ElegantElephant

[QUOTE=ElegantElephant;1123778]Thanks for your reply, but it still seems to bring the same problem :([/QUOTE] This worked for me just now on a test, you will need to change the sql details to suit your needs but... in the main php and sql page [CODE]$sql = "select * from users where …

Member Avatar for ElegantElephant
0
111
Member Avatar for rajeesh_rsn

[QUOTE=rajeesh_rsn;1123671]Hai, In one of my project I need to add some data into my data base and redirect the page to a different page. In this case I need to check whether the data has uploaded successfully and then redirect. For a rough sample mysql_query("INSERT INTO") [ICODE] if(data added ){ …

Member Avatar for emhmk1
0
63
Member Avatar for veledrom

I have had 4 good years with streamline.net, there packages seem decent enough and i recently started reseller hosting with eukhost.com and found them pretty trouble free! Hope it helps!

Member Avatar for mschroeder
0
897
Member Avatar for codewalkz

Or you could simply call this function [CODE]<?php $date = '01/01/2003'; // OR CALL FROM DATABASE $date = $row['date']; function changeDate($date) { $newdate = date('Y/m/d',strtotime($date)); return $newdate; } // TO CALL THE FUNCTION echo changeDate($date); ?>[/CODE] Hope it helps

Member Avatar for emhmk1
0
186
Member Avatar for emhmk1

I have a ajax script below which should get the info from the database with the option selected however when i select a name another select menu appears with the same details in. [CODE]<script language="JavaScript" type="text/javascript"> function display_data(id) { xmlhttp=GetXmlHttpObject(); if (xmlhttp==null) { alert ("Your browser does not support AJAX!"); …

0
61
Member Avatar for miram

What you need / are after is called an preloader. Some knowledge of actionscript is needed but most tutorials write this for you. You could go more advanced and do an animated preloader, i would give an example but i'm not home! Most are fairly easy to follow and setup, …

Member Avatar for ArtphotoasiA
0
126
Member Avatar for emhmk1

Hi everyone, i was wondering if you could help me out, i'm working on a project where the user can login from any part of the site and a function is called when the button is clicked. The problem is if the user for example is on this url [url]http://localhost/profile.php?id=12[/url] …

Member Avatar for emhmk1
0
237
Member Avatar for emhmk1

Hi again, i have got a site that calls 5 different tables on the database and they all have a date field, when calling and using the while loop all the $rows[] so to speak are named differently. The problem is, i have this code to change the date layout …

Member Avatar for sanjaypandit
0
96
Member Avatar for paulbasler

There are many decent file uploads out there, on a personal note, for the images themselves i would have my users table and link to an image table and have a row which stores the users id in the images table then they all stay the same...... if that makes …

Member Avatar for emhmk1
0
91
Member Avatar for hno

Can you not use a paint programme to modify th image? if not try some CSS [CODE]<style type="text/css">#img{ background-image:url(___PATH TO IMAGE___); height:413; Height of table width:427; Width of table } </style> </head> <body><table width="413" id="img" height="427"> <tr>................etc etc etc </form>[/CODE] Hope that helps

Member Avatar for leahmarie
0
88
Member Avatar for emhmk1

Hi again, I'm working on a marquee components list for work and i'm stuck on something that seems pretty basic but it's totally flumped me! I have a form with 10 fields, each representing a marquee size when the submit is clicked in effect it searches the database 10 times …

Member Avatar for zortec
0
73
Member Avatar for n_hernandez

Your email field is called 'youremail' and you were trying to request 'email' also you need to uer headers for email. You will want to look into formatting your email otherwise it will come out in one long line the simplest way will be to add an [CODE]$message .="<br>";[/CODE] where …

Member Avatar for phpbeginners
0
182
Member Avatar for zeusofolus

Could you not include a [CODE]$UserId = $row['id'];[/CODE] then use that as the value? [CODE]$options.="<OPTION VALUE=\"$UserId\">".$UserName;[/CODE]

Member Avatar for emhmk1
0
92
Member Avatar for hawkontvn

Hi there, To get a space you could the html [CODE]&nbsp[/CODE] That should sort that, as for making the name clickable replace 'customer details' in the link to .$customer_forname. "&nbsp" .$customer_surname. That should work in theory Hope it helps

Member Avatar for venkat0904
0
153
Member Avatar for emhmk1

Hi Guys, a while back i was working on a components list for a marquee firm, the project was put on hold for a while but now i'm taking it up again. A while back i asked how to add extra input fields with an onClick button, this was achieved …

Member Avatar for emhmk1
0
70
Member Avatar for emhmk1

Hi guys, i have been trawling around looking for a decent and simple way of working out an age from a birthday. The way i'm working is a date of birth is added to a database then when pulled we echo the actual age and not the d.o.b. It's probably …

Member Avatar for EvolutionFallen
0
126

The End.