-
Posts
774 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by smiles
-
-
echo a number
in PHP
Thanks, I found another way solving my problem, I will back to this problem someday
-
echo a number
in PHP
I see that most of SQL tutorial is about text contentso I want to ask how to echo a numberfor example, I create a table named "counter" and make a field named "num", int type .... ( num int(5) )how could I set the beginning value for num ?and if you this code$result1 = mysql_query("SELECT num FROM counter");while($row = mysql_fetch_array($result)) { echo $row['num']; }it shows nothing ?What I want to do is just simply add 1 to num, when some condition satisfied, for e.g ... you upload successfully an imageThanks !!!
-
Simple Login
in PHP
thanks justsomeguy, browser off and cookie lost
-
Simple Login
in PHP
I want to ask, does it create cookie so when you log in successfully, you can easily navigate to all pages without asking password the second time (twice) ?If I want to try my code again, so I must delete all Cookies ???thanks !!!
-
Simple Login
in PHP
Thanks Aspnetguy :)It works great !!!do you think should I put these code for all the rest pages
session_start();if(!isset($_SESSION["login"]) || $_SESSION["login"] != "yes") header("Location: login.php");
-
Simple Login
in PHP
set session ... uhm maybe I know itbut " check to see if the seesions are correct on every protected page." seems strange to meHow can I do that ???if the user knows the url of the "protected" page they can just type it in and bypass your login. you need to set sessiosn when they login correctly and check to see if the seesions are correct on every protected page. -
Simple Login
in PHP
yeah, I will do a research on it ???
-
Simple Login
in PHP
thanks ! that works correctly !
-
Simple Login
in PHP
Well, just need visitor type the password and ... then jump to the checklogin.php for checkingIf what is typed similar to my password that I set then redirect to another page, else back to the first page$pass = $_POST['passwordField'];if ($pass == 'myPassword') { ??? }else { ??? }I want to ask about the code for directing page ?Thanks !!!
-
<a href="#" target="_blank" > link </a>
-
-
Make a button symbol have a shape of rock, gives it a code or use tween to move it on the screen and add a code onRelease(){ gotoAndStop(?) }I tried searching hittest and the search came up with a few results but none of them were any help. Im trying to make a flash game where your'e cliff diving and you have to avoid certain stuff on the way down. How do I make it so when the guy hits the rock he goes to a different frame. Please help. -
CMS with PHP
in PHP
Do you know Xampp ?It 's really good to begin with PHP and mySQLI am tending to make a simple CMS and got some ways
-
for example, space take 0%, we have 4's width 50%, 3 is a square so 50% width and height of page, 1 and 2 will be 50% width and 25% height
-
Out of bandwidth
-
Get from form
in PHP
my stupid !!! It works like you showed me Thanks you, all of you
-
I think IPB doesn't mind it, another forum service will remember you like vBulletin or ...
-
many software can do .swf to .mpeg but .swf is a form of man-made cartoon video.flv is something inside that make .swf more lively and realI think maybe have software to convert .flv to .mpeg but how can you separate .flv out of .swf, that is problem !!!Hello all, im in the process of converting a .swf to .mpeg. trying to find a good, free converter without watermarks. Reason is I want to go and put this flash movie on Youtube. Thing is that in my movie I also have FLV files which cannot be exported from flash itself to a mpeg file. Please help! -
Hi, check this tutorial http://www.w3schools.com/php/php_file_upload.asp
-
you need something more persuasive :)is it better than Flash ?never have tutorial with it before
-
-
Get from form
in PHP
thanks pulpfiction, but I sure that it hasn't been solved yet What I am trying to do is having a drop down form, its items are get from database, when you choose one item and click submit button, the information of that item will appear below it .Anyone has another way better than what I did ?
-
Get from form
in PHP
uhm ... if the content in form is "hello"your code shows "SELECT Information FROM Person WHERE Name=' Hello 'it make me feel a bit better !
-
Get from form
in PHP
here is the code, I get no error and no display
<?php include("1stfile.php"); $result1 = $_POST["theName"];$sqlstr = "SELECT Information FROM Person WHERE Name='" . $result1 . "'";$result2 = mysql_query($sqlstr) or die(mysql_error());while ($row = mysql_fetch_array($result2)) { echo $row["Information"]; }?>
CMS and Personal Website feedback
in General
Posted
Hi your small forum is really neat, you write a code or have a good link to learn fromCould you share it to methanks !!!I am building for my class something similar to yours !