Posts
 
Reputation
Joined
Last Seen
Ranked #3K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
2
Posts with Upvotes
2
Upvoting Members
2
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
~27.4K People Reached
Favorite Tags
Member Avatar for lifeworks

Hi quite a simple question i hope, i want to include a couple of checkboxes in my form and if they are checked i'd like to set the appropriate db cell as true... should i be looking at something like? [quote] if(chkbox_name == 'checked') { $cdplayer = true; } ... …

Member Avatar for bilalbinamar
0
6K
Member Avatar for lifeworks

Im stuck in a mire of infinite child/parent relationships and trying to print out an organogram type tree. I have widgets with an id... a widget can have a parent widget and reference its id as the sub-widget's parent_id... now I need to print this out in a hierarchy, and …

Member Avatar for broj1
0
80
Member Avatar for lifeworks

Hi Im getting into a php mvc framework, available here ([url]http://www.phpro.org/tutorials/Model-View-Controller-MVC.html#8[/url]), but they only explain their code, and dont offer much other advice on the basics of working inside a framework... how would i go about posting a form? working outside of any framework i usually just post the form …

Member Avatar for speedovic
0
3K
Member Avatar for lifeworks

Hi I work on a 'play play server' on my pc, for lack of a real server, for this I use WampServer, I have recently updated my version. I suspect its running PHP5 - and Im used to PHP4 behaviour... Most of the pages I use forms on have the …

Member Avatar for eelias75
0
340
Member Avatar for lifeworks

Hi Ive been fiddling with trying to emulate classes in javascript - but currently getting an undefined error hen I click one of the vote buttons... Ive got two vote buttons, 'vote_positive' and 'vote_negative' and have cretaed two vote button objects... on construction they firstly assign a value to the …

Member Avatar for stultuske
0
164
Member Avatar for lifeworks

Hi I have a table storing time-sheet data, including a start & end time. I've set those fields as 'TIME' format, and tried doing the following calculation [code] SELECT SUM(log_end - log_start) AS timetotal FROM time_logs WHERE log_client = 'ECDC' [/code] It returned an integer, which doesn't correspond with any …

Member Avatar for smantscheff
0
144
Member Avatar for lifeworks

Hi, story goes... I need to process a timesheet - I want to use a csv file of the spreadsheet, so I was hoping to plug in the path to what Google said was a CSV output of a spreadsheet... [url]https://spreadsheets0.google.com/spreadsheet/pub?hl=en_US&hl=en_US&key=0AhhCntOrEg9FdF9PZkIwY08tZTdwd3lkYkJFNEtkMkE&single=true&gid=1&output=csv[/url] Unfortunately if you click on that link, it prompts …

Member Avatar for almostbob
0
190
Member Avatar for lifeworks

Hi This isn't specifically a roll-over related question exclusively. More and more when I 'Inspect element' on a roll-over link in Chrome, which clearly has two images, i see that it is infact 1 image, and the two images are stacked... How does this work? how is only one half …

Member Avatar for Airshow
0
91
Member Avatar for lifeworks

HI I have this js function for pulling out a couple of links which I want to add onclick handlers to... but IE can't find the rel attribute the way Im doing it, Im assuming it can another way, but I dont know how?! this works in Chrome, but not …

Member Avatar for Airshow
0
227
Member Avatar for lifeworks

Hi Im processiing a json response [code] link_cart.setAttribute('id',bits[i].product_id); link_cart.onclick = function(){ add_to_cart(bits[i].product_id); } [/code] In the first line, the product_id value is correct, the json is a list of products, but it doesn't behave strangely, But the second reference in the onclick handler, displays a value of 22, which is …

Member Avatar for lifeworks
0
128
Member Avatar for lifeworks

Hi Building an e-commerce store, got a product table, with a price field got a discounts table with product_id, and an active field my query left joins discounts onto products, but I only want to pull in the discount if discount.active = '1'... but if I use 'WHERE discount.active = …

Member Avatar for smantscheff
0
77
Member Avatar for lifeworks

Hi Not the first time Ive wondered about this, just the first time Im asking the internet :) I have a list of 'users', and there is a table of 'photos'... each matched to a user via a 'link' table... When I use a left join, and the 'user' doesnt …

Member Avatar for smantscheff
0
78
Member Avatar for lifeworks

Hi Im pulling a list of users out of a user table and want to include photos, from the photo table, for each user. But not all users have a photo in the photo table... If I left join 'photos' onto 'users' i only get users who have photos... is …

Member Avatar for pritaeas
0
74
Member Avatar for lifeworks

Hi Ive written my own MVC framework, which uses the mod_rewrite apache tool... first part of the url is the controller and second part is the 'action'... some of my controllers have functionality which is publicly available, and other functionality which i want to restrict to logged in users... i …

Member Avatar for quasipickle
0
434
Member Avatar for lifeworks

hi Ive been posed this problem. A friend does maintenance on a companies network, and would like to do it remotely. Currently, their IP changes every 24hrs and so he has to phone them to find their IP so that he can log in... He asked me to write him …

Member Avatar for monica singh
0
182
Member Avatar for lifeworks

Hi Im trying to make a script which when I click on the list element... it will replace a big image with anotehr picture. The list element is a thumbnail... and I want to swop the big image with the big version of the thumbnail. Each <li> has a rel …

Member Avatar for lifeworks
0
318
Member Avatar for lifeworks

Hi I need a solution for sending an email newsletter to a database of clients. Is there a script which will allow me to do this. I have read a lot about servers timing or my browser doing the same... if the script executes for too long. I am looking …

Member Avatar for lifeworks
0
162
Member Avatar for nicnac23

Hi please help, I have a simple web form and when the submit button is pressed I would like the form to post to two locations. One location is local and the other is external. Hope you can help. Thanks

Member Avatar for JenniC
0
1K
Member Avatar for lifeworks

Simple issue... If my website is storing text in a database (MySQL) - and will ordinarily be outputted in good ol' HTML... but possibly via XML, or JSON... how do I store the text, allowing for eg. paragraph breaks, but not using HTML to format it?? lworks

Member Avatar for Lsmjudoka
0
96
Member Avatar for lifeworks

Hi I have a photo gallery... I was wondering if its possible using DOM scripting, to dynamically add a div around an existing image, making the new div the image's parent?! Thanks

Member Avatar for hielo
0
103
Member Avatar for lifeworks

Hi Just curious to see what everyone else thinks - its a small issue, but can be applied to a variety of situations. The website Im building allows people to rate news stories, I was just wondering if you would record each vote individually, or open a line in the …

Member Avatar for rajarajan2017
0
90
Member Avatar for lifeworks

Im building something that awkwardly resembles Facebook, to use as an intranet... and as such, the system allows you to organise meetings. In my attempt to make this thing useful, I thought it would be cool to email everyone thats invited to the meeting an 'Outlook meeting Request', which I …

Member Avatar for nquinlan
0
480
Member Avatar for lifeworks

Hi Been trying to use the json_parse function from the json.org website - looking for a link to a tutorial (or a short example) to show how i would use it to cycle through a list of responses - in this case im returning a JSON object with an id …

0
84
Member Avatar for lifeworks

Hi I wasnt sure where to stick this, so Im asking this crowd I am putting together a website which works on an MVC principle, my own framework, and need some help with the .htaccess file. Specifically, if I want to make a pdf available for download, my url parser …

Member Avatar for lifeworks
0
6K
Member Avatar for lifeworks

Hi Im trying to pull out a list of meetings, and the associated number of comments attached to each meeting. Comments are assigned a category (ie meetings) and a linkid (the uniqe id of the meeting) - Im using this query, buts its cutting out all meetings that don't have …

Member Avatar for d5e5
0
82
Member Avatar for lifeworks

I tried to get as much info into the title as posible... hope it doesnt confuse anyone i have an initAll() called on window.onload within initAll() I assign a few onclick handlers to some links. However, it would be great if I could pass an argument to the handler, so …

Member Avatar for lifeworks
0
1K
Member Avatar for lifeworks

Hi I think what Im trying to do is possible, just not sure how... On a button click - Ive created an object, with some properties in it. If I want to access those properties when clicking another button... how do I do that? [code] function build() { var circ …

Member Avatar for Airshow
0
103
Member Avatar for lifeworks

Hi I spent the morning hacking together the basic components of my own MVC framework, which currently only parses a url, loads the class and calls the right method... Because I obviously dont want someone to be able to access the 'add/remove' methods associated with future classes, i need to …

Member Avatar for lifeworks
0
126
Member Avatar for lifeworks

Hi This isn't specifically a php issue, but i would be using php for the project... i am creating a site where people can upload articles, photos, docs etc - thing is, I want to keep everything as its own entity and use tables to link articles to images etc... …

Member Avatar for lifeworks
0
136
Member Avatar for lifeworks

Hi Need some advice - Ive been going more and more OO in my coding, just coming into some best-practice issues... Lets say I have a User object, and the user has some contact details... whats preferential, to call the getUserDetails() and include the layout HTML in that method, or …

Member Avatar for blocblue
0
91