Jump to content

acidglitter

Members
  • Posts

    355
  • Joined

  • Last visited

    Never

About acidglitter

  • Birthday 05/02/1990

Contact Methods

  • Website URL
    http://vanillaeyeliner.com

Profile Information

  • Gender
    Female

acidglitter's Achievements

Advanced Member

Advanced Member (4/5)

0

Reputation

  1. I have my regular php page, and it has a div. What I want to happen is when you click a link, the content inside the div is refreshed (the content gets reloaded). If I have the link outside of the div (on the php page), the refresh link works fine. But if I put the link inside the div (so it's part of the loaded content) it doesn't work. I'm using jQuery so my refresh link looks like this.. <a href="" id="refreshpage">refresh</a> The actual script is like $("#refreshpage").click(function(){ $("#box").html('<p>loading..</p>'); $.get("page", function(loadthis){ $("#box").html(loadthis); }); return false; }); Why doesn't the link work when it's part of the loaded content? Is it only because I'm using jQuery?
  2. For the site I'm working on they want an email newsletter. Are there any good programs out there for this? Or should I just make like a simple php script that would mail everyone signed up for it?
  3. my professional portfolio is tiny. but i've been making my own websites for a loonggg time. server side languages like php/mysql i have over 4 years experience with. and i'm getting more experienced with javascript/ajax. how much should i charge? also, i'm soo close to getting certified in internet development. once i am, then how much should i charge? btw how do most of you charge? like hourly?
  4. On this site I'm working on, they have digital downloads, and after buying through Paypal they would go to a page on the site that would confirm the order and enable them to download the products. The confirm order page would check for $_POST['payment_status'] to make sure the product was paid for before they could download it. But now Paypal isn't sending any $_POST variables and so that stopped working.. Has Paypal stopped sending $_POST variables on everything? And if they have, does anyone have any idea of how I could (instantly / automatically) make sure the product was paid for?
  5. thanks for the replies. and yea i know i'm in the middle of changing servers today so i'm sure there are errors all over right now
  6. I'm just barely finding out more about other storage engines. For one of my sites, select queries are run pretty often, but update queries run probably 10 times more often, and insert queries are rare. What type of storage engine would be best for my site? I'm using myisam now, and that's the only type I've ever really used. It seems to have problems with tables locking up every now and then and the site loads kind of slow sometimes.
  7. So we have spyware doctor on our computer, and I just did a scan and it came up with this infection.. http://www.pctools.com/en/mrc/infections/id/Spyware.Found_By_Browser_Defender And the website address it was showing was MY site! I don't really know anything about spyware so this freaks me out. Did I have spyware on my computer and then uploaded it to my site? or what happened? and what should I do?
  8. (this isn't exactly php but i'm not sure where else to put it) what do most of you think of rewriting urls? does it really matter how the url looks?
  9. i want to have a first and next link as well.. does anyone know how i could get the row id's with a mysql query? like before i don't want to just put $imgid+1 for like previous because eventually some rows will probably get deleted..
  10. ah thanks! i changed it a little to $start=$imgid+3; SELECT id FROM table WHERE id < '$start' AND id != '$imgid' ORDER BY id DESC LIMIT 4 and its working perfectly now. thanks for the help!
  11. is there a way i could do that where instead of $prev it uses something like WHERE id > '$imgid'? because eventually some rows will probably get deleted so using php to get the row id could select rows that don't exist anymore..
  12. thanks for your reply! thats actually pretty close to what i'm doing already.. SELECT id FROM table WHERE id > '$imgid' ORDER BY id ASC LIMIT 2 SELECT id FROM table WHERE id < '$imgid' ORDER BY id DESC LIMIT 2 the problem with mine is that it goes 6 7 4 3 when i want it to be 7 6 4 3 and i'm so tired i can't think of how to fix it..
  13. i'm working on this gallery, and when you're browsing it would look like this (the numbers are the row id's for each picture in the mysql table) 9 8 7 6 5 4 3 2 1 then if you clicked on picture 5, it would show the picture, then on the side i want it to show thumbnails of the pictures near it.. like 7 6 4 3 what kind of mysql query would be able to do this? it would be nice if i could use just one query that like skips two rows ahead from the current picture, then shows the 4 newest rows (excluding the current picture) from that point descending or something.
  14. how easy is it for you guys to find jobs? i'm going to be moving to san diego (hopefully this fall) and i've been looking on craigslist and it seems like for most of the jobs you need at least a bachelors degree.. if i move this fall all i'm going to be is certified, nowhere near a degree..
  15. one of the examples from that page is is that what you meant? or did you mean actually making a separate table for the new products?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.