Hi All,
I have just started learning java. I have a good understanding of UML 2. What i am trying to do is to make a small user authentication applet.
I have completed all of the relevant connection requirements via administration in XP but i just need a little helping hand to nudge me along.
The following script works fine, but I need some direction as to how to modify it to become an applet and to...
User Profile
Collapse
Profile Sidebar
Collapse
whiteyoh
Last Activity: Jan 30 '10, 06:10 PM
Joined: Jun 25 '08
Location:
-
Java and access database user accounts
-
hi all,
i have been following this thread with much interest, and it works fine, except for one thing.......
when downloading it prefixes the file with .html. so for example, a fill downloads as mymusic.mp3.htm l
how can i get it to scrap the HTML bit? -
Download an MP3
How can i allow a click to download an MP3?
The usual Href line of code just gives me an error message -
im guessing that your pages are protected in some way?
if you do wouldn't it just require you to use the include statement? using it after the page security would mean access control would have to be passed before being able to see that pageLeave a comment:
-
creating a link within an echo statement
hi all,
im trying to get the following line to display a link to a URL which is stored in a MySql database, but its not!
$djname $genre and $biography all work fine..........w hat have i missed?
Code:echo "<p>$djname $genre $biography <a href='$url'> Profile</a>";
-
I had this problem. I got over it by using 2 sessions (User and Admin). Each page that contains the session at the top checks to see what type of session the user is in and either allows, or header redirects to the index.
Another way could be to have a separate section. for example
yourdomain.com
and
yourdomain.com/admin
The admin index would be exactly the same, just rename...Leave a comment:
-
right thats cool. I use that bit already. And i am using mysql
Now lets say i have 3 seperate div tags, and each div will display 1 record, how can i say
<div> Display record 1 </div>
<div> Display record 2 </div>
<div> Display record 3 </div>
Thanks againLeave a comment:
-
Specific selection of records
Hi,
I have a script that can select a number of random records to display but what im after is a snippet of code on the first selection will choose a random record, but on the second selection will again choose a random record, but will discount the record that has already been picked. Basically so the same record cant be displayed twice.
I hope that makes sense.
What i was thinking may be a solution... -
-
ive been tinkering all morning and it just wont get past displaying more than 1 entry!Leave a comment:
-
Hi All,
Thanks for the advice,
Still no joy as it only displays 1.
I tried both ideas separately.
Any more?Leave a comment:
-
well having mulled over this for a while, i came up with the following solution BUT i need it to display 4 records, and not just one.
Any ideas anybody?
Thanks
...Code:<?php $dbh=mysql_connect ("localhost", "dbase", "password") or die ('I cannot connect to the database because: ' . mysql_error()); mysql_select_db ("something");Leave a comment:
-
Display last 4 entries
Hi,
I have a search box which allows you to look up something and display. What i cant figure out is how to amend the script to display, for example, 5 random stories.
Any help is appreciate. The code used to display the search is below
...Code:// The basic SELECT statement $select = 'SELECT DISTINCT id, joketext'; $from = ' FROM joke'; $where = ' WHERE 1=1'; $aid
No activity results to display
Show More
Leave a comment: