DeathStar
-
Posts
529 -
Joined
-
Last visited
Never
Posts posted by DeathStar
-
-
strip_tags() Worked for me!
echo strip_tags($result);
-
How do you mean?
Just to call it?
$img_id = checkbox.value; $picture = mysql_query("SELECT `image` FROM `table` WHERE `img_id`=$img_id"); echo "<img src='$picture'>";
-
I'm Really Not going to write the code for you!!
Same , with just calculations!
-
I dont know how the others do it..
but on upload it turns it to a flv..
-
umm..
<embed src="http://www.site.com/flvplayer.swf" bgcolor="#FFFFFF" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" flashvars="file=http://www.site.co.za/flvideos/vidoe.flv&showdigits=true&autostart=true&bufferlength=10" height="370" width="450">
-
[ code ][ /code ] Please!
-
and limit to 100 is:
SELECT * from tablename ORDER BY datefieldname ASC LIMIT 100
or to let user dicide:
$ord = "asc"; $limit = "100";
-
-
look at this line:
$possible_extensions = array ('jpg', 'jpeg', 'pjpg', 'gif', 'bmp', 'png');
try it like this:
$possible_extensions = array ('.jpg', '.jpeg', '.pjpg', '.gif', '.bmp', '.png');
-
Use UNIX_TIMESTAMP() to do this.
Log it on everypage, then you can display it again on other && count it to see who' has been active in last 10 mins so on.
it works like this:
[b]60 * 60 = 3600 = 1 hour 60 * 60 * 24 = 86400 = 1 day 60 * 60 * 24 * 15 = 1296000 = 15 days[/b]
-
HI
Being fairly new to PHP I have a connection script with instructions as follows:
$dbserver="localhost"; // do not change this
$dbuser="USERNAME"; // Replace USERNAME with your database username
$dbpass="PASSWORD"; // Replace with your database password which will ALSO be your password to log into your Site Admin Area
$dbname="USERNAME_date"; // your database name. Replace USERNAME with your database username and keep the underscore there
Its the line highlighted in bold which is giving me issues as when I view my index page and the links related to it, it indicates there is no database selected
My index url is http://www.picfrisky.com
$dbname="databasename"; // Always! accept if you have something like shared hosting then it will be username_dbname
-
embed!
convert files to flv and the use an flash plugin to display them!
-
here's one!
[ code ][ /code ] Please.And you can get an uploading script on google!
-
php does this automatticly, cant remember the name what the file is called though..
In a cpanel its error log.
-
Why the hell would you use looping for that?
mysql_query("SELECT * FROM `table` WHERE `this`=$that ORDER BY `this`");
-
hmm...
Try checking the errors.
mjlogan it shows up for me(the submit) not the image
-
Oh yes.
And i noticed that the image refreshes 2 times, not only once.
First refresh the image has apeared.
Second refresh the image refreshes.
What with that?
-
I have a clickable image which calls a javascript functon which inturn, calls some GET stuff on a different page. My problem is it only works half the time, i think its to do with the sessions. Sometimes I have to click several times before the page changes to what i want, its very strange. Im sure somone has come across this before? Ash.
Post your code here.
and Asheh, it doesnt happen to me and i have the latest FF, have been using it for 2-3 years now
-
Might ant to read this to:
http://www.databasejournal.com/features/mysql/article.php/2201621
-
It wil ljust clear the table, not delete.
-
Try post...
-
Search google!
We are not here to write scripts for you!
-
Truncate it!
$query = mysql_query("TRUNCATE TABLE absence_mgt WHERE datestamp='$date' AND ID='$vtc_login' ") or die(mysql_error());
-
yep, thats not working..
sends normall text but thats starting to get to old(by meaning out) for new age gaming(aka NAG).
how to stop people from entering HTML in a text box ?
in PHP Coding Help
Posted