Hi every body. I’ve a got a problem for what i couldn’t get an anwser.I’ll try to explain the problem, through an example: supposing that i have two tables where each one references the other: emp(num_emp,name,department,num_ser) service(num_serv,name,num_emp) how can i do to insert in the same time using a view, through a trigger or whatever, [...]
Hi, I was told by statcounter that to use their code on a php redirect page I should create a page with statcounter code on it such as statcounter.html then add it to my page. However, I don’t know where to add it and it may be several days before I get a reply from [...]
I am trying to insert some form data into a table and keep getting a Pharse error. I have successfully done so using another form and copied/adjusted the code to match the 2nd for but get the error. Not sure if it is because I am trying to submit decimal values and I am obviously [...]
Insert combobox’s value at specified cursor in WYSIWYG text area ?? I have a WYSIWYG text area and I want to insert combo-box’ value at current cursor location of the WYSIWYG text area. I have a simple textarea where the value is inserting on combo-box clicking. But when I do integrate both files, the functionality [...]
Hey i have been trying for hours to get this script to work. It comes through fine if i don’t use a variable as the table name but i have different company’s using the same page and their information needs to post to different tables. $info['table'] is the table name for each company specific to [...]
Greetings! I am a hobby php, javascript, c++ programmer… I wish I had time to make it a full time job, but my day job pays better I look forward to picking your brains for information cause I’m still fairly novice. I’ll have lots of questions, but I will put in my two cents in [...]
Is there any way to insert a backspace into a TXT file? I’m trying to combat phishing right now and I was wondering if there was a way to insert backspaces as the entry for the phisher to delete all of the username+password logs that the phisher has. View full post on Webmaster-Talk.com
Hello there. I have to say at first that i am complete noob about sql, and i have just started with learning it. What i would like to explore, is how to inserd content from some web page to a sql tables? For example, i have a .xml file, which i want to insert into [...]
I have this program that inserts data into a database and would like to be able to repeat the form for further data inserts upon submission but don’t know how. Below is code for the form & the testinsert.php: HTML Code: <html> <head> <style type="text/css"> </style> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> <script type="text/javascript"> function getResults() { [...]
The below code is a form to insert a record into a database (test). I want to be able to key in the apt in the form & insert the name from the database (prerentdb) into the input box. Is this possible ? Sorry, Just learning PHP. PHP Code: <?php $apt=$_POST[’apt’]; $name=$_POST[’name’]; $stat = mysql_connect(localhost,root,”") or die(‘Unable to connect to database: ’ . mysql_error()); $stat = mysql_select_db(prerentdb) or die(‘Unable to select database: ’ . mysql_error()); $query = ”SELECT apt,name FROM payments WHERE apt=’$apt’”; $stat = mysql_query($query) or die(‘Query failed: ’ . mysql_error());?> <html> <BODY onload=”document.form.apt.focus()”> <b>Maintenance Log insert form<p> <form name=form action=”testinsert.php” method=”post”> <INPUT TYPE=”text” size=2 name=apt onKeyUp=”if(this.value.length==this.size)document.form.name.focus();”>Apt#<BR> <INPUT TYPE=”text” size=25 name=name>Name<BR> <INPUT TYPE=”text” size=10 name=datereceived onKeyUp=”if(this.value.length==this.size)document.form.time.focus();”>Date Received<BR> <INPUT TYPE=”text” size=10 name=time>Time Received<BR> <INPUT TYPE=”text” size=100 name=symptom>Problem<BR> <INPUT TYPE=”text” size=100 name=action>Action<BR> <INPUT TYPE=”text” size=2 name=compmo MAXLENGTH=2 onKeyUp=”if(this.value.length==this.size)document.form.compday.focus();”> <INPUT TYPE=”text” size=2 name=compday MAXLENGTH=2 onKeyUp=”if(this.value.length==this.size)document.form.compyear.focus();”> <INPUT TYPE=”text” size=4 name=compyear MAXLENGTH=4 onKeyUp=”if(this.value.length==this.size)document.form.ordno.focus();”>Date Completed<br> <INPUT TYPE=”text” size=4 name=ordno>Order# - If Insp<p> <p> <INPUT type=submit value=”submit data”/> <BR></form></body></html> View full post on Webmaster-Talk.com