Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #4K
~6K People Reached
Favorite Forums
Favorite Tags
Member Avatar for sexycodette

hello all; scratching my head because I have no clue why this query doesn't work. php5, mysql 5.1 [code]INSERT INTO cats (title,type,cat_parent,cat_descr) VALUES ('Category Name', '0','0','Category Description')[/code] BASIC insert query. and the error I get ad infinitum is this: [CODE]Error: You have an error in your SQL syntax; check the …

Member Avatar for Adiel
0
3K
Member Avatar for Clarkeez

Ok so I have this code to submit form to php without reloading page. It works perfectly, and makes sense. form.php <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title>JQuery Form Example</title> <script type="text/javascript" src="http://code.jquery.com/jquery-1.4.2.min.js"></script> <script type="text/javascript" src="http://ajax.microsoft.com/ajax/jquery.validate/1.7/jquery.validate.min.js"></script> <script type="text/javascript"> $(document).ready(function(){ $("#myform").validate({ debug: false, rules: { name: "required", …

Member Avatar for udara86
0
772
Member Avatar for Clarkeez

Hello I'm not sure how this is possible but I want to enter a wildcard(?) into a php variable.. like this, <?php if($_SERVER['HTTP_HOST'] == '*.domain.com') { //do something } ?> Notice the * I basically need it to match if its any subdomain of domain.com Possible?

Member Avatar for Biiim
0
354
Member Avatar for Clarkeez

Hi, I'm in the process of making a forum system for my clan website. I'm currently making a function that convert bbcode tags to html tags ready for echoing in the div. Additionally, it will check all the images posted in forum post to see if they are over a …

Member Avatar for ddymacek
0
120
Member Avatar for Clarkeez

Hey.. I have a problem with my CSS, let me show you.. CSS [CODE].wrap { font-size:12px; width:980px; margin:auto; } .left_wrapper { height:auto; float:left; width:20%; background:#699; } .right_wrapper { height:auto; float:right; width:79.7%; border-color:#b7b6b6; border-top-width:0px; background:#993; }[/CODE] HTML [CODE]<div class="wrap"> <div class="left_wrapper"> blah blah </div> <div class="right_wrapper"> blah blah </div> </div>[/CODE] Now, …

Member Avatar for akhtar.web
0
167
Member Avatar for Clarkeez

Basically. I have this query that is executed on a form submit. [code] $add_proc = mysql_query(" INSERT INTO `proc` (active, title, desc, notes, link, tags1, tags2, tags3) VALUES ( '".$_POST['add_proc_active']."', '".$_POST['add_proc_title']."', '".$_POST['add_proc_desc']."', '".$_POST['add_proc_notes']."', '".$_POST['add_proc_link']."', '".$_POST['add_proc_tag1']."', '".$_POST['add_proc_tag2']."', '".$_POST['add_proc_tag3']."' ) [/code] Now. The form doesn't require you to enter all 3 tags. …

Member Avatar for Clarkeez
0
92
Member Avatar for Clarkeez

Hey. I need to copy the last 2 sets of numbers from this url [url]https://www.molten-wow.com/?display=info[/url] so I can put each one into a php variable Can this be done? Thanks

Member Avatar for rixius
0
204
Member Avatar for Clarkeez

Hey. I'd like someone to point me in the right direction. Basically, my work website shows data from a MySQL db. If a new line of data is added in the DB, the user has no way of knowing that it has gone in until they have refreshed. Now, its …

Member Avatar for Ezzaral
0
73
Member Avatar for Clarkeez

Hey. I'd like someone to point me in the right direction. Basically, my work website shows data from a MySQL db. If a new line of data is added in the DB, the user has no way of knowing that it has gone in until they have refreshed. Now, its …

Member Avatar for thejimgaudet
0
236
Member Avatar for lbargers

Hi, My sql database contains a video table which has a video 'adddate' field. I need to change the code [COLOR="Red"].$video['adddate'].[/COLOR] from the following format: 2010-11-02 to 11-2010 I've changed it in .tpl files doing the following: {assign var='vidMthYr' value=$videos[i].adddate} {$vidMthYr|date_format:"%m-%Y"} However that does not work in my .php code …

Member Avatar for diafol
0
131
Member Avatar for Clarkeez

Hello I've looked around and looks as if this can be done with Jquery, but the guides and full of so much bullshit its insane. Anyone done this and have a good way to do this. Most of the other ones have form validation and crap which 1) doesnt relate …

Member Avatar for diafol
0
74
Member Avatar for Clarkeez

I'm building a portal system for my company and need someway of grabbing the windows username of the person logged on accessing the portal. Setup... Apache & PHP on Windows. This is VITAL so any help is MUCH appreciated. I've tried echo $_SERVER['REMOTE_ADDR']; - returns IP, not username echo $_SERVER['AUTH_USER']; …

Member Avatar for richieking
0
86
Member Avatar for Clarkeez

Hi. I have a PHP script on a form. It generates a mailto command with lots of variables pulled from the form fields. The only problem with it is that if someone types &, % or ; in the fields then it will only generate the email up to that …

Member Avatar for Clarkeez
0
153
Member Avatar for ben.matthews18

Ok I might just be being daft here but.. I am into the whole PHP thing at the moment and learning it at a really basic level.. I was on facebook recently and noticed this code in the url after I clicked some of the buttons; [CODE]'?ref=home'[/CODE] This showed up …

Member Avatar for richardmorris
0
126
Member Avatar for migicikinyanjui

i am trying a case statement that will input different results based on the town a user enters in a form .the code in the form is [CODE]<html> <body> <form action="relay.php" method="get"> town:<input type="text" name="town" /> <input type="submit" /> </form> </body> </html [/CODE] while that one for case is [CODE] …

Member Avatar for Usernamex235
0
140
Member Avatar for Clarkeez

Hi. Im making a web based automatic email generator using php and a form. I've got all it working, apart from the email addresses. Its for works intranet and they use outlook 2003 on exchange. basically.. I have this [code] echo "<meta http-equiv=\"refresh\" target=\"_NEW\" content=\"0;URL=mailto:smith, james;beckham, david; minouge, danni; cole, …

Member Avatar for hielo
0
127
Member Avatar for Clarkeez

Hello world. Im having problems with my companys intranet and can't work it out. Basically, I've got a html form text field, which I want to be able to search. I don't want to make a search engine, its already there, I just need the query typed in the field, …

Member Avatar for hielo
0
111
Member Avatar for Clarkeez

Hey Im getting there with PHP but one thing that does my head in is arrays. Im trying to get all the content from the db and echo it.. For exmaple, in the db it reads under the 'names' column... matt harry dave katie trisha paul tracy brian martin sam …

Member Avatar for hielo
0
82