Part of the reason why nobody may have answered up to now is that they looked at your thread title and saw "SOLVED" in all caps, and they assumed you had solved the problem for yourself

. That is usually what that means on the forums.
The equation for a 2D surface in 3D space is, of course, going to depend on what coordinate system you use in that space. For a cylinder, it's MUCH easier to work in a cylindrical coordinate system, where you have (r, θ, z), rather than (x, y, z). The coordinates (r, θ) are the standard polar coordinates that you can use in a 2D plane, and the z coordinate changes which 2D plane you're talking about. So, for an infinite circular cylinder of radius R oriented along the z-axis, the equation for a cylinder is just going to be r = R. The angle θ can vary to be whatever it wants to be, and so can the z-coordinate. The cylindrical surface is the locus (collection) of all points in space with the same r-coordinate. Some plotting programs allow you to specify equations for plots in 3D polar coordinate systems (e.g. spherical, cylindrical). For example, in Grapher, in Mac OS X, if I plot r = 3, it gives me a sphere, and if I type r
0 = 3, it gives me a cylinder. This is because "r" is the symbol that the program has reserved for the radial coordinate in a spherical coordinate system, and r
0 is the symbol it has reserved for the radial coordinate in a cylindrical coordinate system. It even let's you write equations in implicit form, so that you don't have to solve for one variable in terms of the others.
Maybe your plotting program doesn't have this feature, and so you want to use a Cartesian (rectangular) coordinate system so that you can write equations in terms of x, y and z. In that case, you just have to think about it a little bit. What is the intersection of the cylinder with any flat plane corresponding to z = constant? Why, it's just a 1D curve (a circle) of radius R in that plane. So, the equation for that circle is going to be ##\sqrt{x^2 + y^2} = R##. Now imagine "extruding" that circle into a cylinder along the z-axis by letting z vary. So, the equation for a cylinder in Cartesian coordinates isn't going to have z in it, because z is a free parameter. It can vary to be whatever it wants to be. The points are constrained to lie on the 2D surface defined by the equation above. So the equation for a cylinder along the z-axis is indeed just ##\sqrt{x^2 + y^2} = R##.