User Profile

Collapse

Profile Sidebar

Collapse
George Thompson
George Thompson
Last Activity: Jul 17 '12, 11:59 PM
Joined: Dec 1 '11
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Thanks for the reply. Here is the problem. For some reason when I click on the tabs it will open my hidden div. but Is blank when I try it with a php file. Even left the php file simple with just an echo. Still nothing. However. If I use a regular HTML page. When I click on the tab it will load that... Any ideas?
    See more | Go to post

    Leave a comment:


  • JavaScript load and pagination in a div

    eh, ok this is a little bit complicated, i have a webpage that has 11 tabs that i currently use jquery to "slide" open and close each div that corresponds to one of the 11 tabs. also, for each tab im running a mysql query, so when you load the page its runs 11 querys and loads all the information at once. to me this is very poorly coded, and what i would like to have it do it when you load the page, only 1 query is run and then once you...
    See more | Go to post

  • ok thanks, im running mysql 5.1 but i think ive created a php script that will explode and insert into the new table. i really appreciate all of your help. ill start work on that tonight, i appreciate the help, better to restructure it now with it somewhat small system, as apposed to later where it might be to big of a job to handle. thanks again!!
    See more | Go to post

    Leave a comment:


  • i see... sounds great. but here is the new problem with that idea... i already have a database set up with members and the members have friends... so i would have to go through one by one and re-set up their friends individually? might take me quite a while... any other suggestions? or maybe a quicker way to restructure the friends
    See more | Go to post

    Leave a comment:


  • hm, ok so your saying i should create a new table, call it "friends" or whatever, and in that table have that hold who is friends with whomever?
    See more | Go to post

    Leave a comment:


  • sorry meant to say "field" just forgot the "d"... did you get a chance to see the post i had made just after that? with the multidimensiona l array? what are your thoughts there? and for me to make each friend have their own field seems like it would be a lot of code? how do other "communitie s" structure their friend fields? thanks again buddy gt
    See more | Go to post

    Leave a comment:


  • ok so did a little research and found something that may work Rabbit. with the code above i am creating a multidimensiona l array correct? where the first array is the friends list, and the second array would be the information from the "updates" table? if thats really the case then i could sort by the second array, i found some code that might lead me in the right direction... here is the snippet i got from the other website.
    htt...
    See more | Go to post

    Leave a comment:


  • is there a way to do that via php, or are you saying that each friend should have his/her own field in the mysql database? how would i go about doing that?

    if your saying each friend should have their own fiel in the database that would take a lot of reconstruction of an already existing database..
    See more | Go to post

    Leave a comment:


  • Rabbit, i dont understand what you mean by normalize my data... is there anyway i can get a sample senario? i hate asking for things to be handed to me, but this is the last piece of the puzzle and im going on day 3 for this part, searching online for what im trying to accomplish. it has to be doable, i just cant get my hands around it.

    no matter how i try to put it in the query, it just keeps out putting the data from "updates"...
    See more | Go to post

    Leave a comment:


  • sorry, i didnt leave more information, I was hoping to be able to do most of the work myself. but i havent had much luck, i will try to give more information... in the myMembers table i have a whole bunch of tables, only one i need from where is the ("friend_array" ) and from the updates table ill need all tables. ("id, user, name, datetime, type, profile_id, location_id, album_id, thread_id")

    now what i think is the...
    See more | Go to post

    Leave a comment:


  • ordering data by datetime from 2 different tables

    ok, so, what im trying to do is complicated for me, im trying to do this with as least amount of server usage as possible... what im trying to do is basically make an output that shows my "friends updates" but in time order.
    Code:
    $sqlF = mysql_query("SELECT * FROM myMembers WHERE id=6 ");
    while($rows = mysql_fetch_array($sqlF)){
    	$friend_array = $rows["friend_array"];
    }
    $friend_array
    ...
    See more | Go to post

  • George Thompson
    started a topic Pushing a PHP variable through Ajax

    Pushing a PHP variable through Ajax

    ok this is pretty simple, im just up against a wall here, forgotten a little bit of things. i have a script below, and i calls to the php file, but i need to push an 'id' variable through the ajax function so that the other php file will know what the variable is... i know im staring at the answer just have had no luck, thanks

    Code:
    <script>
    function fetch(){
    	$.ajax({
    		url: 'fetch.php',
            success:
    ...
    See more | Go to post

  • George Thompson
    started a topic backup of mysql from a crashed database

    backup of mysql from a crashed database

    ok, so i made a dummy mistake, i updated mysql without backing it up, and guess what? it crashed and wont load.... i get an error for a mysql log file error. anyways, so i didnt backup the mysql database, and now it wont load, so i was wondering, hoping, there is a way to backup the database files with the server down, so that i can fix it and reload it all back up. all i have access to is a terminal. any help would be great, thanks. gt
    ...
    See more | Go to post

  • George Thompson
    started a topic my.cnf error's

    my.cnf error's

    hey guys... so ive been fighting a problem lately, no matter what i put in my.cnf file, it fails, i keep getting the same error:

    error: Found option without preceding group in config file: /etc/my.cnf at line: 1
    Fatal error in defaults handling. Program aborted

    i get the error no matter what, if there is no file, error, even with the origenal my.cnf file on the server i get the same error, and if i delete it all...
    See more | Go to post

  • the following was my solution.. thank you gt

    Code:
    <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script>
    <script type="text/javascript">
    	var geocoder;
    	var map;
    function initialize(){
    	var latlng = new google.maps.LatLng(36.879,-96.537);
    	var myOptions = {
    		zoom: 3,
    		center: latlng,
    		mapTypeId:
    ...
    See more | Go to post

    Leave a comment:


  • George Thompson
    started a topic my.cnf errors..

    my.cnf errors..

    ok, so ill just say it, im new to mysql.. atleast when it comes to trying to modify it, i've read in places about how to make mysql run more efficiently for different servers, and so i tried to get a new file to use based on the hardware i have, but when i try to resart mysql from Putty, im getting this error..

    /etc/init.d/mysql restart
    error: Found option without preceding group in config file: /etc/my.cnf at line: 1
    ...
    See more | Go to post

  • no there were no aparent errors... but i fixed it, i just pretty much re wrote the whole code in a different fashion.... thanks gt
    See more | Go to post

    Leave a comment:


  • George Thompson
    started a topic after click delay link reclick

    after click delay link reclick

    ok, so... need a little help, i have a link that allows people to upload files.
    Code:
    <div class="interactionLinksDiv"><a href="#" onClick="document.getElementById('agileUploaderSWF').submit();">Upload!</a></div>
    what i would like to do is be able to do is after the link has been clicked, have it then disabled for some amount of seconds to keep people from uploading duplicate files...
    See more | Go to post

  • George Thompson
    started a topic google map markers from database

    google map markers from database

    ok so this was a strange one... i have code written that loops through my database and pulls out markers and siplays them on my google maps... but here is my problem, last week my web hose was networksolution s, and i was on a shared web server... the code worked and ran fine. this week i changed over to a dedicated server, and trying to run the same code, when i add a point on the map and refresh, the map goes blank... and the whole map disapears....
    See more | Go to post

  • hey i ended up rewriting the whole thing and used your advice an changed a bunch of different things, i just wanted to say thanks, i appreciate your time and help.
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...