Jump to content

Jay2391

Members
  • Posts

    167
  • Joined

  • Last visited

    Never

Posts posted by Jay2391

  1. So in my local server i have a folder call

     

    Assets and Public

     

    In the assets folder I have a PHP file call "123.php"

    I am trying to get my "index.php" file that is located in the public folder to include that file.

     

    the issue is that all do they are on the same server folder there not in the same folder

     

    Host    ->    asset  ->  123.php

              ->    public  ->  index.php

     

     

    how do I get that done.

     

    Thanks...J 

     

    PS: First time I use PHP in 4 years can believe how quickly i can for get things

     

     

     

     

  2. I need someone to help update a site and fix some issues, the work will consist of:

     

     

    • As you will be able to see from this link there is big picture and thumbnails at the bottom. The fix here will consist of removing the sale ad and adding the thumbnails on the left side of the screen aligned from top to bottom.

    Link:  http://www.legacyrealtypros.com/view_listing.php?id=2180

    • The second fix is the editor interface we have needs to be updated and modify, the issues:

     Editing does not always take the changes

     Add Error messages on bad inputs

     Picture formatting does not work properly  (need to be tested more)

    • Format colors to look professional and clean (do some maintenance)

    • Maintenance the Email to agents page (TBD)

    • Create a agents addition and subtraction interface for admin to modify Agents database

    • Error page should be created for broken links or delays; the content should direct the client to contact the office directly via phone or email.

     

    There will be more work to be done eventually but this is the bulk of the immediate work.

     

    The owner is Patrik Welty he can be reach at patrikwelty@prodigy.net also copy Jay Reina at JayReina@yahoo.com

    You can call the office as well!!!

     

    Pricing for the work should be included and requirements

     

    Site name is  http://www.legacyrealtypros.com/

     

    THX,

    Jay Reina Technical Advisor

     

  3. Can someone help me understand what technology and connections you need to create a Ladder site for third party games?

     

    My Plan…

     

    I am working on a site that you can create tourneys and register results, but what will it take to get results from the actual game servers.

    Is apache sufficient? Is it a simple feed? Do I need to know Java?

     

    Thx

     

     

     

  4. I havve my brothers in law site

     

     

    Legacyrealtypros.com

     

    He needs dome items finish ...

     

    picture formatting

    color

    data that is display

    editing feature changes

     

     

    I can't finish because my job had me in a tight schedule, he is not rich but i will pay

    acordinily to the work.

     

    There is probably 4 to 6 hours of work to be completed.

     

    Jay

    you can email me at ...

     

    JayReina@yahoo.com

     

  5. i got a database error???

     

     

     

     

     

    Warning: mysql_query() [function.mysql-query]: Access denied for user 'ODBC'@'localhost' (using password: NO) in C:\web\xampp\htdocs\mdo_main\t.php on line 7
    
    Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in C:\web\xampp\htdocs\mdo_main\t.php on line 7
    
    Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in C:\web\xampp\htdocs\mdo_main\t.php on line 8
    
    Warning: mysql_query() [function.mysql-query]: Access denied for user 'ODBC'@'localhost' (using password: NO) in C:\web\xampp\htdocs\mdo_main\t.php on line 12
    
    Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in C:\web\xampp\htdocs\mdo_main\t.php on line 12
    
    Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in C:\web\xampp\htdocs\mdo_main\t.php on line 13
    
    Warning: mysql_query() [function.mysql-query]: Access denied for user 'ODBC'@'localhost' (using password: NO) in C:\web\xampp\htdocs\mdo_main\t.php on line 19
    
    Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in C:\web\xampp\htdocs\mdo_main\t.php on line 19
    
    Warning: mysql_fetch_assoc(): supplied argument is not 
    
    

  6. So i have this code that i go to this page and i display teh data from a table

     

     

    so i click a link that take sme to this page ..

     

    home.php?i=$1&a=$a7t=$t

     

    now i display the info  and i have a submit button that have a post to say yes or no and update a table

     

    now when i click the submit button

     

    it take me to ,,,,

     

    home.php

     

    so what i did is i made it that when you post you go to

    home.php?i=$1&a=$a&t=$t

     

    but the code dosen't get the info back

     

     

    THE BOTTON LINE IS I WANT TO CLICK POST AND KEEP THE DATA FROM CLERING OUT LIKE A STICKY FORM BUT APERANTLY MY GET STATEMENT DO NOT GET THE DATA THE SECOND TIME(WHEN I CLICK POST)

     

    AND I TRY PHP_SELF that did not work  :-\

     

  7. ???  is there any script that pulls score from a central source that you can put in you site???

     

    example nba scores

     

    I do not want to insert the scores i want to pick them up from a location and display them on my site

     

    Thanks

    Jay

  8. Hope this clarifies you question on what I am looking for....

     

    /////the code is inside md_challenge.php
    <?php
    
    $i =100;
    
    ////the browser shows...
    
    /////md_challenge.php?i=&a=
    
    /////the second time I click submit i get 
    
    /////md_challenge.php?i=100&a=TRUE
    
    $i= $_GET['i']; 
    $b = $_GET['b'];   
        
    echo "$i  and $b";
    
    
             print "<form action=md_challenge.php?i=$i&a=TRUE method='post'>";       
    
             <select class="newsmall" name="i"> 
             <option value="1">opt1</option></p>
             <option value="2">opt2</option></p>
             <option value="3">3</option></p>
             </select		
    
             <input type="submit" name="submit" size"20" value="submit">";
    
    }
    ?>
    
    

  9. that won't work i still have to click submit twice to get the result

     

    my issu is not the diplay is why the first time i click submit

     

    I do not get the result post on the browser???

  10. is a ticky form so i use the same page ....md_challenge.php in this case

     

    the issue is that the first time  click submit ..

     

     

    the browser shows...

    $i =100;

     

    md_challenge.php?i=&a=

     

    the secint time i click submit i get

     

    md_challenge.php?i=100&a=TRUE

     

     

  11. Okay here is my issue , I am weak at the posting and HTML deal...

     

    So i have a simple drop down and I want that when i select from the drop down and click submit

     

    that my browser will change to website.php?get_something=$i&another=$b

     

    the issue is that the first time i click submit it sytays the same ...the second time it changes to the prior selection...

     

    I do not want to click twice to get my result any Ideas...here is the code i clean  it up a lot but that is the main idea

     

    
    $i= $_GET['i']; 
    $b = $_GET['b'];   
        
    echo "$i  and $b";
    
    
             print "<form action=md_challenge.php?i=$i&a=TRUE method='post'>";       
    
             <select class="newsmall" name="i"> 
             <option value="1">opt1</option></p>
             <option value="2">opt2</option></p>
             <option value="3">3</option></p>
             </select		 
    
             <input type="submit" name="submit" size"20" value="submit">";
    
    }
    
    
    

  12. Example:

     

    I have a greater total of 61 and I score 45

     

    $i= 61;

    $y= 45;

     

     

    $pct = ($i /$y) * 100;

     

    one is tha correct ??? Two how can i limit the number that result diplays (0.987654321 - i just want .987)

     

    and how do i turn off this error message???

     

    Warning: Division by zero in localhost\info.php on line xxx

     

     

     

  13. :-\

     

     

    now i am confuse...

     

    I need the while statement because i am getting all the names and they all need to have a hyperlink attach to click to access their profile... i do not understand what you are saying can you make notes on my code???

  14.  

    I need to pull some name from a db and as they show they all have a hyperlink that will show each users profile.... i did this but it is not working...any ideas....

     

    <?php
       $q= "SELECT * FROM $users ORDER BY id DESC";
       $r = mysql_query($q);
       while($row = mysql_fetch_array($r)){
    
                                            $id = $row['id'];
    		 $location = $row['location'];
    
    
          print '<table width="600" border="0" cellspacing="0" cellpadding="0"><tr>
    
            	  <tr>
                  <td width="100" height="12" align="center" valign="middle" nowrap="nowrap" scope="col">
     <div align="left" class="style9"><a href=\"info.php?id=$id\">' .$id. '</a></div></td>
                  </tr></table>';	 			 
    
    
      
            }
    ?>
    
    
    
    

  15. right now my post handels goes to the same page and what i did is that if you submit and $problem= False then the information gets inserted.... now what i need is that if the information was inserted to send to a handel page that will display the content that was inserted.

     

     

    Example:

     

    Register here ....... information is okay.... insert and go to Handel page. this is my current comand for the submit that keeps yopu in the same page

     

    print '<form action="md_reg.php" method="post">';

×
×
  • 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.