Hi I have found this script for zipping up directorys how would I zip all file EXCEPT 2, index.html and style.css
Here's the code
function Zip($source, $destination)
{
if...
Type: Posts; User: TwitterRooms; Keyword(s):
Hi I have found this script for zipping up directorys how would I zip all file EXCEPT 2, index.html and style.css
Here's the code
function Zip($source, $destination)
{
if...
Try this i use this site for reference all the time
http://www.w3schools.com/php/php_cookies.asp
HI GUYS HE IS THE FINISHED WORKING CODE
stuporglue.org
ENJOY....
hi guys have this script to deal with the email it works great when you send from G-mail to script but ANYTHING else it does not handle the attachment and i just dont understand whats going on...
Please anyone i'm still stuck with this i found this
$handle = opendir(dirname(realpath(__FILE__)).'/uploads/'.$id.'/');
while($file = readdir($handle)){
if($file !== '.' && $file !==...
hi guys i'm using a picture view but want it to display ALL images in a folder heres the codes
<script type="text/javascript">
jQuery(function($){
$.supersized({
...
hi guys me again doing a simple chat system very basic at the moment but stuck with if user A posts then user B then A then B all works ok but when user A posts twice it still displays A,B,A,B not...
Hi guys sorry if this should be in the javascript section i wasn't shore so here goes....
i have this upload script with i have modded a bit for my own need but i need to refresh the (HTML) page...
hi guys i'm playing about with a website and i want people to be able to upload images witch are displayed as thumb till clicked
i'm using a simple login system with this
$member =...
I have found this only works IF the tables have the same fields how would i go about doinging it with differant fields in each table??
hi guys i was working on my site when this error came up for no reason does any one know why
Warning: session_start() [function.session-start]: open(/tmp/sess_79beb3aeefcc73f4e665579affcc61f2,...
Hi guys if you read my other post http://www.dynamicdrive.com/forums/showthread.php?t=67166 then you know last time i was asking about fields not tables now this time i want tables LOL
ie
...
This is great thanks but too complicated if i have say 5 fields once all fields have something in them it will say complete without having to click submit
<?php
echo $_POST['firstname'];
?>
and your in the wrong forum
hi guys i am trying to get some javascript to check if all inputs are filled in here is my form
<legend><a id="myHeader1" href="javascript:showonlyone('newboxes1');" >
<fieldset...
you are correct THANK YOU
hi guys me again this is what i have
$result = mysql_query("SELECT * FROM table WHERE firstname LIKE '%".$searchterm."%'");
which works just great BUT if i want to seach
$result =...
ok i still have a problem
$query = "UPDATE data SET make=$make, model=$model WHERE entryid=$_SESSION[id]";
print $query;
mysql_query( $query );
echo mysql_error();
works fine BUT when...
UPDATE data SET make=1, model=2 WHERE entryid=23Unknown column 'make' in 'field list'
WHAT A COCK!!!!!! thank you for your help i feel very stupid now
This is the whole file
<?php
session_start();
$con = mysql_connect("XXXXXXXX","XXXXXXX","XXXXXX");
if (!$con)
{
die('Could not connect: ' . mysql_error());
}
ok i'm not shore what you mean but i have echo'ed all the $XXX in the query and they all have a value lets make it simple and try this
mysql_query("UPDATE data SET make=$make WHERE...
thanks but even with the comma removed same error is there any whey to get more details of what it wrong with the WHERE clause
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE id = 4,' at line 1
this is the error i get and this is...
yes BUT the time is coming from the database not the server clock
hi all the problem this time is TIME i put the time in the DB eg "1326995615"
how do i display it on the page like "9th Jan 2012, 6:46"
ATM i'm using
'.$row['time'].'
to call it back from...