Jump to content

Search the Community

Showing results for tags 'dreamweaver'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Welcome to PHP Freaks
    • Announcements
    • Introductions
  • PHP Coding
    • PHP Coding Help
    • Regex Help
    • Third Party Scripts
    • FAQ/Code Snippet Repository
  • SQL / Database
    • MySQL Help
    • PostgreSQL
    • Microsoft SQL - MSSQL
    • Other RDBMS and SQL dialects
  • Client Side
    • HTML Help
    • CSS Help
    • Javascript Help
    • Other
  • Applications and Frameworks
    • Applications
    • Frameworks
    • Other Libraries
  • Web Server Administration
    • PHP Installation and Configuration
    • Linux
    • Apache HTTP Server
    • Microsoft IIS
    • Other Web Server Software
  • Other
    • Application Design
    • Other Programming Languages
    • Editor Help (PhpStorm, VS Code, etc)
    • Website Critique
    • Beta Test Your Stuff!
  • Freelance, Contracts, Employment, etc.
    • Services Offered
    • Job Offerings
  • General Discussion
    • PHPFreaks.com Website Feedback
    • Miscellaneous

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests


Age


Donation Link

Found 13 results

  1. I have this first example for ajax but it dosent work is there importance for import jquery librery? <!doctype html> <html> <head> <meta charset="utf-8"> <title>Untitled Document</title> </head> <body> <div id="commit"> </div> <script type="text/javascript"> function getinfo () { var xmlhttp; if(window.XMLHttpRequest) xmlhttp = new XMLHttpRequest(); else xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); xmlhttp.onreadystatechange = function () { if(xmlhttp.readyState ==4 & xmlhttp.status == 200) document.getElementById("commit").innerHTML =xmlhttp.responeText; } xmlhttp.open("GET","info.php",true); xmlhttp.send(); } </script> <button type="button" onClick="getinfo()">send</button> </body> </html>
  2. hi I'm create a form and I connect it by database and when I submit the data the data is inserted correctly in the table ,but it's show me some wrings this is HTML code <!doctype html> <html> <head> <meta charset="utf-8"> <title>Untitled Document</title> </head> <body> <legend> <form action="cccccccccc.php" method="post"> <label>user name <input type="text" name="uname"> </label> <label>pasword <input type="password"name="pass"> </label> <input type="submit"> </form> </legend> </body> </html> and this is php code <!doctype html> <html> <head> <meta charset="utf-8"> <title>Untitled Document</title> </head> <body> <?php mysql_connect("localhost","root","")or die (mysql_error()); mysql_select_db("abubakerdb") or die (mysql_error()); $user=$_POST['uname']; $pass=$_POST['pass']; $query = mysql_query("insert into user_name (name , password)values('$user','$pass')")or die (mysql_error()); if($query) { echo $user ."is added"; } ?> </body> </html>
  3. I have a CSV file which has more than 50k records and i want to convert this using regex Item Code,,Qty CMAC-389109,,6 ,Serial No., ,954zg5, ,ffnaw8, ,gh8731, ,gxj419, ,hc6y9q, ,y65vh8, CMAC-394140,,1 ,Serial No., ,4cu3z7, and I want to convert this data to below format: ItemCode,Serial Number,Qty CMAC-389109,"954zg5, ffnaw8, gh8731, gxj419, hc6y9q, y65vh8",6 CMBM-394140,"4cu3z7",1 Can i achieve this using find and replacement ? Any help will be highly appreciated.
  4. The error is very common "Unable to Connect" I have been sorting out in my head why I should be using index.php rather than index.html. My pages are dynamic so I am using index.html. I modified my httpd.conf file because it only had index.html <IfModule dir_module> DirectoryIndex index.php index.html <IfModule> I am on a macbookpro 10.8.3 and this Document Root is standard. Document Root Library/WebServer/Documents so my path is: Library/WebServer/Documents/dwwdSite (dwwdSite = DreamWeaverWebDevelopmentSite) I set up the server settings as shown in the .pngs. Have to attach them separately. So many people know this stuff intuitively. Sorry that I am rusty. (not a novice). Can someone spot and Explain to me Why I am getting this error. I am really stuck. When I do this from within Netbeans /localhost/phpWithAlex/index.php I get output in the browser. It is not working with Dreamweaver. Thanks.
  5. Think there's some prase error here, but i can't figure out what is wrong. anyone? if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "form1")) { $insertSQL = sprintf("INSERT INTO kommentar (tittel, navn, tekst, tidsstempel, innleggid) VALUES ( %s, %s, %s, NOW(), %s)' GetSQLValueString($_POST['tittel'], "text"), GetSQLValueString($_POST['navn'], "text"), GetSQLValueString($_POST['tekst'], "text"), GetSQLValueString($_GET['innleggid'], "int") ); mysql_select_db($database_bloggkobling, $bloggkobling); $Result1 = mysql_query($insertSQL, $bloggkobling) or die(mysql_error()); } Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in C:\wamp\www\bloggprosjekt\visinnlegg.php on line 50
  6. Hey ,, what's going on guy ! I've a question how i can uplaod image to a database inside Dreamweaver ? without coding ? using dreamweaver tools ?
  7. I am creating a website in Adobe Dreamweaver CS6. I am trying to add a page with a membership form that inputs fields to a database. I have set up a local test server(using xampp) that has worked. Ie the form accepts the data and passes it through to the database. However, when I put the form and files to the Remote Server and try to access the membership entry form page (www.friendsofchopin.org.au/mem_form.php) I get the following error: Warning: mysql_pconnect() [function.mysql-pconnect]: Access denied for user 'chopinau_admin'@'localhost' (using password: YES) in /home/chopinau/public_html/Connections/memconn.php on line 9 Fatal error: Access denied for user 'chopinau_admin'@'localhost' (using password: YES) in /home/chopinau/public_html/Connections/memconn.php on line 9 code is: <?php # FileName="Connection_php_mysql.htm" # Type="MYSQL" # HTTP="true" $hostname_memconn = "localhost"; $database_memconn = "chopinau_membership"; $username_memconn = "chopinau_admin"; $password_memconn = "xxxxxxxxxxx"; $memconn = mysql_pconnect($hostname_memconn, $username_memconn, $password_memconn) or trigger_error(mysql_error(),E_USER_ERROR); ?> Any help would be greatly appreciated
  8. Hi there, Okay so I have a recordset created in dreamweaver, displaying a "repeating" table with results from the recordset. What I am looking to figure out is how to replicate that "dynamic dropdown menu" functionality, but just for the results. The situation: Transactions table has a field called "concert_id_link" which has the primary key from the table "Concerts". Right now, I just have it echoing that result "<?php echo $row_GetTransactions['concert_id_link']; ?>". What's the best way to have it retrieve the "title" field from the concerts table, based on that primary key echo from the transactions recordset? Thanks much in advance for you guidance!
  9. I am encountering a problem with Dreamweaver and PHP. The attached example is a simplification of the problem I have a php header with the following code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title>Untitled Document</title> </head> <body> <table><tr><td> This is my header </td></tr></table> </body> </html> I then reference this in a main page using the following code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title>Untitled Document</title> </head> <body> <p>more text goes here</p> <p><?php include('whit_head.php');?></p> <?php echo('test value');?> </body> </html> I encounter the following problems. The errors are illustrated in the attached document. The title of the whit_header.php file is some how imported leading to the "Untitled Document </head>" occurring above "This is my header". The php is also being displayed which is odd since "Live view" is not enabled. The set up I am using has worked on previous websites but now it is giving this error. I have no idea what is causing this and I will appreciate any help. Thank you.
  10. hey guys, im trying to create a website similar to craigslist and ebay except i dont know much about php, so far i have created a basic website using mostly only css and html and a little bit of javascript. but im having a hard time figuring out how to work with php is there anybody on here that would be interested in working together to build a website with me that could have the potential to make money if it is build right ?
  11. Hi all, Okay, I'll try to explain briefly but thoroughly on what I'm trying to do. FYI I have a general working knowledge of PHP & mySQL, and use Dreamweaver and it's built-in tools regularly. I have a registeration form, which gives the option to register into 4 age groups (via a radio button), which just submits as text into the database. What I am looking to be able to do is "Show If" (I think?) a disabled="true" to disable a radio button, once a certain amount of records have been submitted for a specific group. So I'm assumming the way to do this is to call up the full list from the database (not very many entries) and check if the limit of 15 per age group is reached? Let me know if that makes sense, any if you can give me any guidance. It will be much appreciated! Also, if you have the time to explain your coding to me too, so I can learn from it, that would be great! --EVP
  12. Hiya I use dreamweaver at times and i was wondering if i could get some advice on find and replace function. If i want to add a new category across many pages i use the find and replace and it works fine.. but it makes that piece of code a little messy because i need to add a return space seperating the new category. e.g. I'll search for: Category one... and replace it with: Category One Catagory Two Its on the same line i want a return space to seperate the code so its nice and neet. If i hit return whilst in the find and replace it doesnt add a return space but just starts the find and replace procedure.. How do i do this please? Thanks
  13. Hi there, I am not a proper coder, and am using the built in Dreamweaver options to display some tables and do some updates to tables. I have a form on a php page to update a record, which works fine, but I would like the page to send a php email of the contents of the form either before or after it updates the database. How can I do this? I think the code that Dreamweaver uses to update the table and redirect is this: $updateGoTo = "thank-you.php"; if (isset($_SERVER['QUERY_STRING'])) { $updateGoTo .= (strpos($updateGoTo, '?')) ? "&" : "?"; $updateGoTo .= $_SERVER['QUERY_STRING']; } header(sprintf("Location: %s", $updateGoTo)); } What I would like to do is insert a script there somewhere, that will send an html email to a recipient with the information contained in the form, so that they are notified of the update, and what the contents of the update are. Is there someone on this site who could explain to me where to insert the code for the php email, or explain a better way to do it? Thanks for the help
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.