Posted by: Hydrogen Sulphide September 16, 2013
Login in to Rate this Post:
0
?
How do I use a loop to find $query value in an array and display a message "present" if the value is present?
for example, I have
@array= (1..10)
I need to check if it has $query= "6" using loop.
Thank you in advance!
for example, I have
@array= (1..10)
I need to check if it has $query= "6" using loop.
Thank you in advance!