vaultdweller123 32 Posting Pro
session_start();

// set session
$_SESSION['your_session_name'] = "your_value";

// read session
$_SESSION['your_session_name'];
vaultdweller123 32 Posting Pro

I admire Indian programmers as they are humble and naturally intelligent, look at Pranav Mistry he's a living proof. If you hate the school.... then so be it, but not the indian people.

vaultdweller123 32 Posting Pro
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-Transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
<title>Teas of the World!</title>
</head>
<body>
<table>

<?php // Script 10.6 - Teas of the World.php
// This function displays a four cell table.
function tea() {

	$types = array ("Chinese Green", "Japanese Red", "Korean Black", "British White");
	foreach($types as $val){
	echo "<tr><td>".$val."</td></tr>";
	}

}
tea();
?>

</table>
</body>
</html>
vaultdweller123 32 Posting Pro

yeah dont worry itech7 i believe you... what do you get from lying? nothing...

vaultdweller123 32 Posting Pro

yeah i agree.... MAYBE itech7 is lying on screenshots, but i will totally agree on him on the page load, it takes a head ache waiting on page loads, good thing i can hover on threads to see its description before i click a thread i want to engage.

vaultdweller123 32 Posting Pro

hahaha lol you mean repopulate
btw i dont understand this line of code

if(isset($_POST[$this->name])&($this->isSticky))

where did you get the $this->isSticky ????
can u remove it? instead

if(isset($_POST[$this->name]))
vaultdweller123 32 Posting Pro
<?php

include('config.php'); //path to the config.php

function connect() {
  
      $link = mysql_connect($db, $name, $pass);
      $dbtable = mysql_select_db($tbl);  
	  
      }

?>

it's impossible you dont get the value from config.php... if you include it correctly

vaultdweller123 32 Posting Pro

its an infinite loop dude....
P H P
PHP hypertext preprocessor
PHP hypertext preprocessor hypertext prerprocessor .......... an endless loop!

vaultdweller123 32 Posting Pro

Sure potential is an important quality, but would you hire a dull person
to make a software for you company, even if that dull person has
potential? Or would you hire a "*smart" person for that same job?
Remember its you ass on the line.


------------------------------------------------------------------------------------------
* whatever smart means these days.

it's really no point talking to a moron.... trying to get a point over his head. im not saying you depend it all to him.. im just saying that a company dont just hire all pure smart programmers... they can give a chance to average programmmer.... coz. they will grow from work experience. of course u must have a smart lead programmer that will lead the team.

vaultdweller123 32 Posting Pro

ok this will be the last thing ill talk about this, bec the mods show up and i only listen to mods. @naraue: i didn't attack you, i just defend my fellow Asian being criticized by unworthy critics like you....its ok if you criticize someone in a good way in a constructive way not by insulting them. and the truth is... i can say im a lot smarter than you coz. i can understand your language but you cant understand mine... like this NARAUE BAHOG BILAT! ahaahaha :D. your just lucky coz. im not that fluent in english coz im not born american and i can't elaborate well on my arguments. If only we can talk this in my language i can surely beat u in a pulp... if you find me entertaining... so do i... your like a party to me.....you're like feeding my hunger. one more thing about the word 'feeler' in my country we always use this.... it denotes people with BIG HEADS that they think they know everything and they always end up lying in the streets DEAD. And ill say this once more... your just NOBODY to me... unless you became a mod then ill acknowledge your existence.

jephthah commented: jesus, learn when to shut the fuck up already. you're embarrassing everyone but yourself. +0
vaultdweller123 32 Posting Pro

I strongly suggest you tune down your tone a bit. No need to start a flamewar over this.

ok sir no problem.

Rashakil Fol commented: suck up +0
vaultdweller123 32 Posting Pro

I think I'm experienced enough, having conducted many interviews, to accurately comment on the OP's answers.

accurately comment? what a feeler

vaultdweller123 32 Posting Pro

She is a super genius.

in your dreams... maybe in your jungle! ahahaha.. but to me shes just nobody! ahahaha

And oh, by the way, you can't defeat a genius through hard work.

i can, and i already proved it. Why don't you make your own signature and don't be jealous. ahaha.

vaultdweller123 32 Posting Pro

@naraue: you criticize people like your a super genius... ohhh... your too full of yourself... you think your so smart?

vaultdweller123 32 Posting Pro

Does it have to be a single image? A table could arrange them. A graphics package with stitch them together. If you've got an underlying grid- this is a snip. Just upload the image. If you want to do this dynamically, have a look at the GD2 graphics library. It should ship with your version of php. Note - this will be sloooow for 32 images.
However, if you want to do it as a routine - you could set up a cron job (e.g. to run at midnight every night) to create new backgrounds.

*nosebleed*

vaultdweller123 32 Posting Pro

My password is always the day of the week my password was created. I tell people that, too, because it's not like they'll know what day of the week I created it. That makes it secure. Extremely secure.

Secure? i can just try to input the 7 days of a weeks until it's correct.

vaultdweller123 32 Posting Pro

suck my boss

Ancient Dragon commented: offensive +0
vaultdweller123 32 Posting Pro

my password is on the list, the 'iloveyou' one.

vaultdweller123 32 Posting Pro

I hope someday India will fix its education system, and when it does, it will take over the world because Indians are the most naturally intelligent people in the world.

i totaly agree with you dude! i always see whites picks on indian people.... making fun of them, theyre just jealous coz. the indians are smarter than them. Indian's value education that's why there smart and americans are just bunch of insecure people always want they are above and they know everything.

vaultdweller123 32 Posting Pro

then save it on a database.

vaultdweller123 32 Posting Pro

well i didn't know that we had the same answer. coz i dont read others post. i just read the problem directly then post my answer.

vaultdweller123 32 Posting Pro

because I had already posted that. like most of your posts that follow mine.

so you mean if you post 1st then i can't? wow! what a feeler!

vaultdweller123 32 Posting Pro

That was already posted. shocker

so? i had my own idea. why your stopping me? im just here to help.

vaultdweller123 32 Posting Pro

changed upload_max_filesize in php.ini, saved changes then restart server.

vaultdweller123 32 Posting Pro

huh?

vaultdweller123 32 Posting Pro

is this solved? OMG! im too late! yeah will is right? i recommend use session, it's the best approach to your problem.

vaultdweller123 32 Posting Pro

this is a very funny thread. specially the PHP definition from samarudge. lol

vaultdweller123 32 Posting Pro

use css, put an inline style rule, add style attribute on body tag.

style="background-image:url('image.jpg')"
vaultdweller123 32 Posting Pro

you want to add the location on the database? then just insert your $dest variable into your database.

assuming you had these table and variables
you query should look like this

INSERT INTO your_table(name,date,location) VALUES('$name','$date','$dest');

vaultdweller123 32 Posting Pro

what? copying you? u got the nerve to say that? why should i copy you what to i get from that? im here to help and learn. Your too full of yourself! if i would copy someone, i would select a more smarter person rather than you. i would prever copy ardav over to you. >:(

vaultdweller123 32 Posting Pro

oh yeah... i think you got syntax error

$sql="SELECT * FROM $tbl_name WHERE id_no='$username' and password='$password='";

you put = after the password, it may be the result why you got no results coz. the query doesn't satisfy the condition.

vaultdweller123 32 Posting Pro

well i haven't really tried using mysql_fetch_assoc(), coz. i prefer mysql_fetch_array(). but from what i know about mysql_fetch_assoc() it returns associative arrays of your recordset. So your array index and values are dependent on your recordset. try print_r() to see the array values.

vaultdweller123 32 Posting Pro

is this thread solved? if so... mark this solved then.

vaultdweller123 32 Posting Pro

can u provide the code? so that we can trace it.... bec. u fail to show it to us... i suspect that 2 possible reason. 1) maybe you put that code outside your html form. 2.) maybe the form method you use is 'get' and not 'post'. coz. your retrieving your values using the $_POST[] global variable.

vaultdweller123 32 Posting Pro

PHP OOP framework? then codeignigter best suites your needs!

vaultdweller123 32 Posting Pro

Hi everyone....I have a problem on my php date function... and i hope someone will help.... the PHP date function outputs incorrect results... It outputted incorrect date which is 8 hours late.... and i found out that the timezone has been set to UTC. So ive search the net and found out that you can set the timezone by explicitly adding a code date_default_timezone_set('Asia/Manila'); for example coz. im from the Philippines. So i tried the code and it works fine, but when i set date.timezone = Asia/Manila in the php.ini file. It doesnt work... I hope i can find answer here coz. these has been my problem for a long time... any response would be greatly appreciated tnxs :'(