gdImageLine()

 
Syntax
gdImageLine( im, x1, y1, x2, y2, color )
User Annotations: gdImageLine