Jump to content


phpjayx

Member Since 22 Nov 2012
Offline Last Active Jul 23 2013 10:40 PM

Topics I've Started

Using PHP to send data from one site to another

23 July 2013 - 05:04 AM

I'm testing out a simple form.  I'm wanting to have this code be available to other websites to use to allow them to send a couple of variables over to my site.....  my test code isn't even working.  I'm sure its something simple I'm doing incorrectly.

 

Any help would be appreciated.  Thanks in advance.

 

 

------------------------------------------------------

 

        <form action="" method="post">

<div id="entry_fields">        
            <input class="textfield" id="email"  placeholder="Email"   autocorrect="off" type="text"    autocapitalize="off">
            <input class="textfield" id="name" type="password" placeholder="Name"   autocorrect="off"    autocapitalize="on">
</div>            
            
            <div>
     <input type="button" value="Link to site" onClick="window.location.href='http://www.tester.co...Page.php?email=<?php echo $email?>'">
            </div>
        </form>


sorting numbers problem

08 May 2013 - 04:02 AM

    {$sql_select = "select * from data where valid='1' and userid='" . $param['userid'] . "' order by number2, timestamp asc";}

 

 

 

The above code sorts on the "number2", except when the numbers are 10 or above it is only sorting by the first number....

 

 

So if I had a list of the following the order is

 

 

1

1

1

10

11

11

12

2

20

21

3

4

5

 

etc

 

Any help would be appreciated!!!

 

Thanks in advance


Having trouble with a bug displaying .pdf image

08 May 2013 - 02:11 AM

I've built a dynamic list using .JS and HTML similar to the code of the following line....

 

        cellHtml += '                <input class="myButton1 w_50p h_70 margin_top_20px" onclick="' + onClickType2 + '" type="button">';

 

 

--------------------------

The problem is after getting about 7 or more rows built.... only on the IPAD I get images like the attached where about 2 out of the 7 lines the button images overlap with its own image....  It looks fine on my other safari browsers and the IPhone.  For the safari browsers these are .PDF images to get the highest quality.

 

Has anyone seen issues like this?  Any other vector images that people recommend to use?

 

Thanks in advance
 


With a fixed top how do I get a list to always start below the fixed section?

07 May 2013 - 05:42 PM

I have fixed some entry boxes on the list with the following....

 

#fixed_top
{
    z-index:1;
    position:fixed;
    top:0%;
    height: auto;
    background-color:#ffffff;
    width: 99%;
}

 

 

 

I have a list below it, but the first item is alway behind the fixed area.  How can I alway start it so the list starts below the "fixed_top"?

 

 


Getting error with session_start.....

19 February 2013 - 04:02 AM

I haven't updated my code on this page in a little while and now I'm getting this error at the top of my page.... Any tips on whats going on?
I may just try a restart of my server

--------------------------
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at.........................