Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 04-16-2002, 09:28 AM   #1
Direktor
Registered User
 
Join Date: Dec 2001
Posts: 529
ahh shit!< help me. ? MySQL

If anyone knows MySQL/PHP

why is this shit not working? why is the id not geting my $value?
fuck im dead.

$sql = mysql_db_query("images", "SET source=$source info=$info WHERE id =?$value?");
Direktor is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-16-2002, 09:36 AM   #2
ServerGenius
Confirmed User
 
Join Date: Feb 2002
Location: Amsterdam
Posts: 9,377
Quote:
Originally posted by Direktor
If anyone knows MySQL/PHP

why is this shit not working? why is the id not geting my $value?
fuck im dead.

$sql = mysql_db_query("images", "SET source=$source info=$info WHERE id =?$value?");
that looks like a strange query to me explain what you want
to do first then I might be able to help

DynaMite
__________________
| http://www.sinnerscash.com/ | ICQ: 370820 | Skype: SinnersCash | AdultWhosWho |
ServerGenius is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-16-2002, 10:49 AM   #3
Direktor
Registered User
 
Join Date: Dec 2001
Posts: 529
well I figured this one out, but what is the fuction to delete an image file (jpg) from the same directory?
Direktor is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-16-2002, 12:23 PM   #4
buran
Confirmed User
 
Join Date: Mar 2002
Location: how'd I get here?
Posts: 264
Yo, you probably want your query to be of the form:

UPDATE table SET field1=value1, field2=value2 WHERE field3=value3

And, to delete a file in PHP use the unlink() command, http://www.php.net/unlink
__________________
[this signature intentionally left blank]
buran is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.