263 Posted Topics

Member Avatar for tryphy

yes there is a way, but its easier with javascript the key is the "return confirm" [CODE] <form action="something.php" onSubmit="return confirm('Are you sure?');" method="post"> // Fields // Fields <input type="submit" name="Submit" class="button" value="Submit"> </form> [/CODE] I hope this helps

Member Avatar for tryphy
0
1K
Member Avatar for virtualmisc

Ok i found this, but i know its not PHP. I figured its something u can have in the mean time. [CODE=html] <SPAN ID="copytext" STYLE="height:150;width:162;background-color:pink"> This text will be copied onto the clipboard when you click the button below. Try it! </SPAN> <TEXTAREA ID="holdtext" STYLE="display:none;"> </TEXTAREA> <BUTTON onClick="ClipBoard();">Copy to Clipboard</BUTTON> …

Member Avatar for fobos
0
105
Member Avatar for xuexue

its ok to have buttons in php. just name them different names. Then use the following coding for each button.. [CODE] <?php if(isset($_POST['name of button'])) { // mysql code or php code } ?> [/CODE] does this help

Member Avatar for xuexue
0
105
Member Avatar for SuntechWebsites

Fileupload: [URL="http://www.w3schools.com/php/php_file_upload.asp"]Click Here[/URL] Email: [URL="http://www.w3schools.com/php/php_mail.asp"]Click Here[/URL]

Member Avatar for SuntechWebsites
0
79
Member Avatar for tryphy

Here this will help.. i use this in my code.. This list the users. so.. Users.php [CODE] <?php mysql_connect("localhost","root",""); mysql_select_db("my_db"); $result = mysql_query("SELECT * FROM my_table"); while($row = mysql_fetch_array($result)) { echo" <table width="100%" border="0"> <tr> <td><a href='view_profile.php?id=".$row['id']."'>".$row['name']."</td> </tr> </table>"; } ?> [/CODE] And this the "view_profile.php". Basically when u click …

Member Avatar for fobos
0
2K
Member Avatar for preetg

[QUOTE=preetg;1113303]hi........... my update code is working correcty.... .....but i want update links in front of every record of table ... plz tell me how it is possible........... thanx for last reply..... m pretty new in php [code=php] [file name=updaterecord.php] <? $con=mysql_connect('localhost','root','root'); if (!$con) { die('Could not connect: ' . mysql_error()); …

Member Avatar for preetg
0
113
Member Avatar for trickslide

Try using $_GET[]. Ex.. say we are on the math training course, so it would be.. <a href="www.something.com/contact.php?course=math">Contact Us</a> then on the contact form, just use the get function $course = $_GET['course']; echo $course; The only problem with that, is u have to manually add the link to all the …

Member Avatar for trickslide
0
64
Member Avatar for motters

Ok well there are a couple of ways to go about this, but im gonna show you one. 1. [CODE] <?php $con = mysql_connect("server","username","password"); if (!$con) { die ('Could not connect!: ' . mysql_error()); } mysql_select_db("db_name", $con); $result = mysql_query("SELECT * FROM tablename"); <-- this is gonna be what ever …

Member Avatar for Fbody
0
338
Member Avatar for dw8081

This was posted on a previous thread. [CODE] <% On Error Resume Next Dim sConnection, objConn , objRS sConnection = "DRIVER={MySQL ODBC 3.51 Driver}; SERVER=localhost; DATABASE=Your_Mysql_DB; UID=mysql_username;PASSWORD=mysql_password; OPTION=3" Set objConn = Server.CreateObject("ADODB.Connection") objConn.Open(sConnection) If Err.Number <> 0 Then Response.Redirect "maintenance.asp" Response.End Else 'continue coding here '... objConn.close Set objConn=Nothing End …

Member Avatar for fobos
0
142
Member Avatar for babydol

What u could do is, have the main page with navigaton links up top then have an iframe below the navigation bar. Ex... Web address bar.. [url]www.something.com[/url] <body> Nav bar --> Home | Something | Something 2 Iframe --> <iframe></iframe> this way, when someone clicks on "Something" it gets loaded …

Member Avatar for fobos
0
184
Member Avatar for fobos

hello all who read, im here to write this forum, because i have exhausted all means (to my knowledge) of figuring this out. I used the same settings with another outlook and it worked. Basically i have a form and when the user hits "submit", the form gets directed to …

Member Avatar for Atli
0
129
Member Avatar for fobos

Hi, I have just installed a clean version on Windows XP 64-bit on my computer. Every worked fine, i logged in and no problems. I restarted the computer just to make sure everything is good before i start installing my drivers. The first thing i installed was my chipset drivers. …

Member Avatar for Suspishio
0
144
Member Avatar for ahmadjhoney

ahmadjhoney, Here is a link to a php e-mail form. [URL="http://www.w3schools.com/php/php_mail.asp"][/URL] instead of $header="from: [email]dummy@myweb.com[/email]"; try: $from = "dummy@myweb.com"; $headers = "From: $from"; mail($to,$subject,$message,$headers);

Member Avatar for fobos
0
118

The End.