Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
Selected Reading
imagedashedline() function in PHP
The imagedashedline() function draws a dashed line.
Syntax
imagedashedline( $image , $x1 , $y1 , $x2 , $y2 , $color )
Parameters
image
Create a blank image with imagecreatetruecolor().x1
Upper left x-coordinatey1
Upper left y-coordinatex2
Bottom right x-coordinatey2
Bottom right y-coordinatecolor
The fill color.
Return
The function returns TRUE on success or FALSE on failure.
Example
The following is an example:
Output
The following is the output:

Advertisements
