Hi all,
I have some scripts which I want to kick off so other programmers can use them but I don't want to put out the source codes. I know that there was some thread about it some time ago but I can't find it now. Could anybody gimme some link where I can find more information about the...
I faced the same problem some time ago. Even on the computers with cookies turned on I wasn't able to use them. Fortunately, php can pass the session ID also through the URL and it will do it for you automatically in case it can't use cookies ;-). Go to php.ini if you would like to change the...
hos2 is right, but try rather this query:
$query = "select from tablename where categorie
like '%$cat%'";
The % (percentage) character represents any count of any characters so it will return a possitive search result even if you have e.g. "dkjfasldmathematicsddfkjasdl" in...
oh, just one suggestion:
if the link you wrote above is also located in the index.php page, you should have the code snippet (I wrote in the previous reply) enclosed in the if statement like this:
if(isset($_GET['dvdId'])) {
$id=$_GET['dvdId'];
$result=mysql_query("SELECT * FROM `dvdtable`...
Hi xWasteMindx,
Now, after clicking the link, you will have the following variables available in index.php page:
$_GET['dvdId']
$_GET['dvdName']
So at the top of the page, you should have some database query like this:
$id=$_GET['dvdId'];
$result=mysql_query("SELECT * FROM `dvdtable`...
Hi guys,
this is probably very simple question for Javascript gurus like you but I don't use JS very often and don't know this. I need to open new window after clicking on a link and I'd like the window to have specified dimensions in pixels. E.g. I have link on my pages and after clicking it...
Check this out:
if(!isset($_COOKIE['cookietest']))
{
//set cookie
setcookie("cookietest", $_SERVER['REMOTE_ADDR'], time()+360);
//increase the counter value
print "Hello World";
}
I have some experience with using cookies and I suggest you not to use them. They aren't...
Records in database are added in order you add them in. If you delete one record, you have to optimize the table so the records after the deleted one are moved one record ahead. If you only update some record, it remains on it's same place. Therefore you can't rely on the order in which the...
If you want to force some function not to display error, just put @ before the function. In your case, it will be something like this:
$var=@date();
But this is not a real solution. You should eliminate the errors correcting your code instead of hiding the errors ;-)
As Skute said, remove the </INPUT> tags. They shouldn't be there since <INPUT> is not pair tag. After removing the tags, your form should be submited using <ENTER> key.
Hi danielhozac & skiflyer,
I have main webpage where I have stored the user name in session variable $_SESSION['auth_user']. When I create a link on that page like this:
<A href="aa.php" target="_blank">aaa</A>
and have aa.php like this:
<?php echo $_SESSION['auth_user']...
Hi spurs100,
I personally prefer storing images on the FTP and having only the file location string in the database. If you choose this option, you won't have to worry about the best format to store the image into the DB to and you will also be able to watch all the files located on the FTP and...
Hi guys,
I'm facing a little problem now because I need to pass a session to the new _blank window opened using
<A href="something" target="_blank">
I'm making chat window which should be opened in new window and still should have the session variable containing username...
well, if you see anything after the question mark in the URL that means ?variable=value&variable=value etc.
This is very useful and clear when you think little about it - it allows you to pass some variable to various pages and adjust the page content according to some needs.
if you have this...
There are several free webhosting providers in Czech Republic who supports PHP and MySQL (50 MB web space+2 MB MySQL database) but I noticed that these web pages cannot be accessed from US. I also don't expect that you can speak czech so this will be useless for you. Here is the link though...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.