I don't know if this is the right forum for this question ..

I have a script that is written in PHP and in the middle of this:

<a href=\"#main\" onclick=\"form_visible();\">Click</a>

This is supposed to make a form show by a click on the link "Click".

What I want to do is to have this form directly on the page (I guess it's the "#main\" part) without the Link / form_visible();\ part.

The form can be displayed or kept hidden by using the 'display' and 'visibility' css properties which are manipulated in javascript function. Either you can change these properties or call the function 'form_visible()' on loading of the page.
You can try something like this

<body onload=\"form_visible();\">
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.