floridaflatlander
-
Posts
671 -
Joined
-
Last visited
-
Days Won
1
Posts posted by floridaflatlander
-
-
... 1s logged it shows rlly weird..
It looks almost like the front page to me.
-
See if his helps, plug your URL in here
This is a usefull site, it says you have 32 errors, it seems most are because you defined your site as strict.
I use <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Also get and use firefoxes firebug it displays colored fields to help you see whats what.
-
I don't know if this will help but urlencode().
-
How do you get your info to the destination page? Using something like <form action="destination.php" method="post" >
-
Is "$this = $_GET ['this'];" on another page/file.
-
What do you mean wont die? A couple of months ago I was doing some stuff with a cookie that would cease when the browser was closed and look and it was still present in name after I closed and reopened the browser however the cookie would not work on the site, it had expired. I can't remember which browser using.
PS. open your browser and click the cookie name, it will tell you when it expires. If it is a past date or time it is no good, it's just listed in the browser waiting to be deleted.
-
if (!empty($row[username])) // he got it.
{
$_SESSION[username] = $row[username];
echo "Welcome $_POST[username]! You've been successfully logged in. <a href=\"/index.php\" title=\"Click here to go back to the homepage.\">Home Page</a></li></ul>";;
exit();
}
I don't know why you have two semi colons above.
you need session_start(); at the top of every page that you're going to use sessions, it needs to be the first thing on the page after the opening php tag and a few comments if any.
you can
echo "Welcome {$row['username']}! You've been successfully logged in. <a href=\"/index.php\" title=\"Click here to go back to the homepage.\">Home Page</a></li></ul>";
or
echo "Welcome {$_SESSION[username]} You've been successfully logged in. <a href=\"/index.php\" title=\"Click here to go back to the homepage.\">Home Page</a></li></ul>";
or get rid of all that double quote stuff
echo 'Welcome '.$_SESSION[username].'! You've been successfully logged in. <a href="/index.php" title="Click here to go back to the homepage.">Home Page</a></li></ul>';
-
Yeah, when they close their browser the session ends
$_SESSION[username] = $row[username]; doesn't set a time to stay active.
-
I don't know because it's not my site, if I want to do that in a div, then how do I do it?
You're not looking at the code? Depending on floats or positions put the image in the div
-
Is the image floated to the right?
Is the image inside div or fieldset that you have in the picture?
-
I think you just change $image in imagejpeg($newImage,$image,90); and for the thumb one too. I use time and for thumbs I use thbtime.
-
What image, what text, all I really see for text is "There was a problem, please click Here to return to the main page and try again"
-
Well not to be a smart a but something has changed.
Get and use fire fox's firebug(I think chrome does the same thing), open fire bug click the div tags until you get to the tags in question. Click them, firebug well tell you where the style is coming from if any, what the css file name is, what line the style is coming from, the inheritance if any and the name of the style.
-
... does the browser read/load that file even if no styles are being used on the current page? Especially, if you have images in your css file, does the browser load them, although they are not actually displayed on the page?
A browser will load and read the file even if there is no styles on it and it loads images even if they aren't displayed on your page.
Go here http://www.websiteoptimization.com/services/analyze/ and enter and test your url and you'll see that the browser loads files and images even if they are not used.
-
I would think your file would need some type of Get statement for search and if it was true echo the new header
Also where is your doc types, in the file above and in the headers? You're starting your header then calling headers.
-
I dont have a webserver so I have no webserver to configure and I wouldnt know how to configure a webserver even if I had one. And of course my computer never does what the how-books say it is supposed to do. So just how am I supposed to learn the php language let alone make it work?
Also besides the docs there are videos on youtube that can help walk you through installing xamp and others on your computer. When you make a password for you mysql db make it an easy one to remember and never change it(this is for your local computer). If you don't know what your doing it can be a bear to fix if you change your pw at the control panel later on.
Take your time, you can do it.
-
UPDATE without a WHERE clause? Dangerous.
Yeah that would be nice if you need it.
-
This is how I do it
UPDATE table_name set column_name = replace (column_name, 'this_content', 'with_this_content');
remember to back it up first.
-
Why don't you just enter your info in a db table.
Assign a $last_id.
Use a redirect to www.mysite.com/show.php?item=$last_id
-
I use one parameter for mysqli_insert_id
$lastid = mysqli_insert_id($dbc);
place it directly below $r = mysqli_query($dbc, $q);
-
Okay I was reading about third party cookies, that's not what I want, I think I'll go the db route.
Thanks again premiso
-
Thanks, I just read that somewhere else too. I may use a db table.
As an example, how does one site on the internet know I was looking at motorcycles on another web site?(this has happened to me)
-
I know this has been asked before and I have searched but I can't find an answer.
I have a cookie that is set on a customers web site(yes I've tested it and it is defined) and I was going to use it to display certain info on my web site.
Sooo ... How do I get a cookie to work across multiple (2) web sites?
Thanks
-
That'll do it, thanks
Simplify To Add CSS
in PHP Coding Help
Posted
$result['product_id'] isn't returning a value? So you have a php problem not a css problem .... ??