Jump to content

GerryCarr

Members
  • Posts

    10
  • Joined

  • Last visited

Profile Information

  • Gender
    Not Telling

GerryCarr's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Fixed, just had to change jquery to an older version.
  2. Made an even simpler test that doesn't work, http://www.bbloggers.net/platform/test.html It's like jquery doesn't exist but it does, this issue is only on some computers, javascript works, just not jquery.
  3. The site is http://www.bbloggers.net/platform/ when I hit login or register on the computer it doesn't work on, nothing shows.
  4. Weirdly I've thrown some alerts in, it all works until any jquery is called the second that happens it all fails.
  5. Hi, I recently wrote a site in almost pure javascript/jquery. I tested on firefox, ie, safari, chrome...windows, mac, iphone, android. I then launched the site and have had complains that when they click a button that should show a login box(jquery show) it doesn't work. I then tried the site on my parents old Ubuntu computer running firefox and had the same issue. Does any one know why this could be? or how to start debugging or finding out? I've worked very hard on this.
  6. Hi, I made a site about 8 years ago, that's extremely weak to sql injection. I'm now working on a new site, but need some advice on how to make my new site secure. How do I prevent SQL injection? I used addslashes last time but this doesn't seem to of helped.
  7. The query is fine. $page is in the URL website.com?page=1
  8. $head_query = mysql_query("SELECT * FROM article_cats WHERE id='$page'") or die(mysql_error()); Doesn't work $head_query = mysql_query("SELECT * FROM article_cats"); does work, any ideas?
  9. The SQL is 100% the same, I think it's something to do with variables being directly called from a URL string into the database? is there some new way of doing this?
  10. My web hosting with 1and1 was just updated and now my php is failing and I don't know why. Heres the code: if(empty($article)){ $head_query = mysql_query("SELECT * FROM article_cats WHERE id='$page'") or die(mysql_error()); } if(empty($page)){ $head_query = mysql_query("SELECT title, `desc`, keywords FROM articles WHERE id='$article'") or die(mysql_error()); } echo(mysql_num_rows ($head_query)); while($load_info = mysql_fetch_array($head_query)){ $title = $load_info['title']; $desc = $load_info['desc']; $keywords = $load_info['keywords']; } The connection is working. echo(mysql_num_rows ($head_query)); is throwing out 0 even tho if you ran the sql, in sql it returns 1 The issue seems revolves around mysql_fetch_array Please help!
×
×
  • 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.