39,320 Topics

Member Avatar for
Member Avatar for LegateLucius

i want to do something like this how do you do it? <?php $meat="cow"; <script type="text/javascript"> document.write($meat); </script> ?>

Member Avatar for mmcdonald
0
234
Member Avatar for PriteshP23

I would like to get **all** Equipment values. *I have used DOM Document.* It is reading **ONLY LAST Element**. *Equipment Id: 28*. I need all three. Thanks in advanced. XML File: <?xml version="1.0" encoding="UTF-8"?> -<Physical> <Catalog> </Catalog> -<Installed> -<Equipment> <Id>26</Id> <Ref>Tew12</Ref> -<Characteristic> <CharacteristicName>Height</CharacteristicName> <CharacteristicValue>160</CharacteristicValue> </Characteristic> -<Characteristic> <CharacteristicName>Tilt</CharacteristicName> <CharacteristicValue>30</CharacteristicValue> </Equipment> -<Equipment> …

Member Avatar for PriteshP23
0
592
Member Avatar for cgull

Hello, I am developing a site with CI 2.1.3 I have a blog module, in this blog I have a form to post a comment. I am calling this form inside a view with: `echo Modules:: run('blog/comment');` When I submit this form with ajaxForm, or refresh the page, the values …

Member Avatar for cgull
0
3K
Member Avatar for roseblue

How to add textbox values from a database table depending on user's choice from a combobox",in php wampserver can anyone help me..?

Member Avatar for broj1
0
132
Member Avatar for spothao

I am doing a simple server to capture the incoming SMS with the Gammu, but i a beginner in PHP. After the cofiguration, how do the php page use the GSM device? How do configure the Gammu to capture the incoming SMS?

Member Avatar for c-tech
0
206
Member Avatar for nacedo

I am searching for an e-commerce solution that integrates with paypal and wordpress wich can show the remaining balance for the payment for a customer. I sell services and sometimes my customer needs pay with multiple payments, within multiple days. For example : My typical price for my service is …

Member Avatar for nacedo
0
265
Member Avatar for newbie26

help. all of a sudden, UPLOADING of files in all my forms didnt work. i tried may things as i had googled it. i tested the code, $_FILES seemed to be empty. > free-up /tmp folder > check php.ini; increase post_max_size, upload_max_filesize, memory_limit > restart apache after each configuration > …

Member Avatar for newbie26
0
362
Member Avatar for veledrom

Hi, I try to do the examples in these pages but none works. When i run, it shows "Error" word on the status bar of my browser. What do you think it doesn't run? Thanks [url]http://www.w3schools.com/PHP/php_ajax_xml.asp[/url] [url]http://www.w3schools.com/PHP/php_ajax_database.asp[/url] [url]http://www.w3schools.com/PHP/php_ajax_responsexml.asp[/url] [url]http://www.w3schools.com/PHP/php_ajax_livesearch.asp[/url]

Member Avatar for kanoy83
0
452
Member Avatar for davy_yg

Hello, I wonder how to create a floating link like in: [Quick links](http://www.grinova.com) I am just thinking about changing the name into Contact Us for example or something else.

Member Avatar for cereal
0
41
Member Avatar for bradly.spicer

Hi again, Using a web script to show the servers I have, which are working here: http://www.bradlyspicer.net/ServerStatus-master/index.php Trying to add it into wordpress. And this is happening: http://www.bradlyspicer.net/server-status/ Saying it is down and saying N/A etc. If I go to http://www.bradlyspicer.net/wp-content/themes/twentyeleven/index_server.php it works. If I go to http://www.bradlyspicer.net/server-status/ it doesn't. …

Member Avatar for bradly.spicer
0
226
Member Avatar for Shikha_1

<?php session_start(); echo 'POST: '; print_r($_POST); echo '<br />SESSION: '; print_r($_SESSION); require("DBconnect.php"); $user=$_SESSION['username']; $pass=$_POST['password']; echo $pass; $salt = dechex(mt_rand(0, 2147483647)) . dechex(mt_rand(0, 2147483647)); $password = hash('sha256', $pass . $salt); for($round = 0; $round < 65536; $round++) { $p= hash('sha256', $password . $salt); } echo $salt; echo "...."; echo $p; $qry="update …

Member Avatar for Shikha_1
0
127
Member Avatar for Shikha_1

registration.html <!<!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=utf-8" /> <title>Register</title> <script type='text/javascript'> function refreshCaptcha() { var img = document.images['captchaimg']; img.src = img.src.substring(0,img.src.lastIndexOf("?"))+"?rand="+Math.random()*1000; } </script> </head> <body> <fieldset> <legend>Registration</legend> <form name="register" action="register.php" method="post"> <table width="510" border="0"> <tr> <td colspan="2"><p><strong>Registration Form</strong></p></td> </tr> <tr> <td>Username:</td> …

Member Avatar for cereal
0
723
Member Avatar for thearts.beach

I am trying to update the shirtnumbers in table crew, by the ID from the .php page before. <?php include('conect.php'); $page = (isset($_GET['page'])) ? $_GET['page'] : 1; $startPoint = $page - 1; $data = "UPDATE crew SET shirtnumber=$POST['shirtnumber'] WHERE ID=<?php $_GET['ID']?>"; $query = mysql_query($data); $data2 = mysql_fetch_array($query); $rowCount = 0; …

Member Avatar for thearts.beach
0
159
Member Avatar for khushhappy

Dear Respected Members/Users, I Cannot add/insert mysql last insert id in the third table. Kindly please help me out in adding the para_id into the last insert query. I have demonstrated in the Image file which will help alot in getting my point. Waiting for response. thanks. ![94fea611ba93443aecd1d5f13b6b82c8](/attachments/small/2/94fea611ba93443aecd1d5f13b6b82c8.gif "align-left")

Member Avatar for khushhappy
0
176
Member Avatar for old_apache

i developed a system in xampp 1.7.2, and now i run it in xampp 1.8.2 (lastest version) i got this error Parse error: syntax error, unexpected end of file in C:\xampp\htdocs\ hint: in xampp 1.7.2 no error anybody can tell me why?

Member Avatar for old_apache
0
244
Member Avatar for Priti_P

I have an array which contains data as: array(name,contact1,e_mail ,reference_type,resume_source,current_employer,highest_degree ,skill_set,track) now i want to create an excel sheet(.xls file). In short I want to generate a reropt for query. Array is nothing but the query result. I want to just put this data rows into excel sheet. How can …

Member Avatar for iamthwee
0
208
Member Avatar for LD-005

Hi! I have a table with few thousand records on few pages in a simple html table.. I made a search function that works fine apart from one thing... It displays only one result in a table (which is great cause it means it works!).But... I was wondering is there …

Member Avatar for diafol
0
364
Member Avatar for keishawndavid

<html> <head> <title>Form Sheet</title> <style> </style> <script type="text/javascript"> </script> </head> <body> </body> <form name="formsheet" action="grade.php" method="post"> <table width="300" border="5"> <tr> <td>FirstName:</td> <td><input type="text" id="fname" name="fname"/></td> <tr> <td>SurName:</td> <td><input type="text" id="sname" name="sname"/></td> </tr> <tr> <td>Age:</td> <td><input type="text" id="age" name="age"/></td> </tr> <tr> <td><input type="radio" id="gen" name="gen" value="Male"/>Male <input type="radio" id="gen" name="gen" value="Female"/>Female</td> …

Member Avatar for Zagga
-3
202
Member Avatar for newbie26

help. all of a sudden, UPLOADING of files in all my forms didnt work. i tried may things as i had googled it. i tested the code, $_FILES seemed to be empty. > free-up /tmp folder > check php.ini; increase post_max_size, upload_max_filesize, memory_limit > restart apache after each configuration > …

Member Avatar for pritaeas
0
173
Member Avatar for bradly.spicer

Hey guys, just a quick one. Got this: $memmath = $memcache + $memfree; $memmath2 = $memmath / $memtotal * 100; $memory = round($memmath2) . '%'; Which finds the % free. How would I find the % used? Been messing with algorithms and I'm screwed in the head now

Member Avatar for bradly.spicer
0
102
Member Avatar for sanbhu2105

hello guys i have created the below codes. the first one is the mysql select statement which works fine when i echo. the second one is an html/css table i created. i am stuck to the point where i can merge both of them so that i get a nice …

Member Avatar for broj1
0
969
Member Avatar for austin.datong

Please I want to know. between ASP and PHP, which is better for web development?

Member Avatar for spiralclick
0
112
Member Avatar for cguan_77

hi guys, I have this code which I get from the link below. http://stackoverflow.com/questions/3826963/php-list-all-files-in-directory Need your help, why the current directory is the directory of the root server. Like i'm using WAMP for windows. The current directory for this code below that is recognizing is: c:\wamp I want the code …

Member Avatar for cguan_77
0
619
Member Avatar for winbala5

i have create a table for analytics purpose month wise. so how can i fetch the all the tables in dynamic. help me how to form the query for fetch the records from multiple tables

Member Avatar for diafol
0
275
Member Avatar for deepak.fugo

Hi All, I want to select rows from dynamic created tables i.e we have tables like web_analytics_mm_yy(ex: web_analytics_06_13, web_analytics_05_13, web_analytics_04_13 and so on) web_analytics -> table name mm_yy -> month_year. I know this can be acheived in PHP by using for loop { // CONSTRUCTING SQL STATEMENT USING // UNION …

Member Avatar for diafol
0
283
Member Avatar for Shikha_1

*login.html* <html> <head> <title> login </title> </head> <body> <fieldset> <legend title=login>login</legend> <form action="login.php" method="post"> Username:<br /> <input type="text" name="username" value="" /> <br /><br /> Password:<br /> <input type="password" name="password" value="" /> <br /><br /> <input type="submit" value="Login" /> </form> </fieldset> <a href="register.html">Register</a> <a href="forgotpassword.php">Forgot Password</a> </body> </html> ***login.php*** <?php session_start(); …

Member Avatar for broj1
1
155
Member Avatar for Priti_P

Hello All, need one help! How can I send iwo invitation in one mail only? two inivitaion has diffrent time obviously! So how can I do this in PHP? Help is needed urgently :(

Member Avatar for diafol
0
286
Member Avatar for elamigosam

Hi I am interested in a basic, and simple code for to check for a user and make sure he only has access to such pages, I am just starting to undestand PHP, if you can help me and not make it really complicated, it would rally help . tanks.... …

Member Avatar for pp0007
-1
318
Member Avatar for yavindu

I've created a web app using PHP version 5.12.If I host this in a server which supports PHP version 5.3+ will it be a problem.If so how can I update PHP version.I'm using Apache2triad as my server. Thanks.

Member Avatar for Atli
0
265
Member Avatar for mmcdonald

Good'ay all, I'm looking for a method of saving a users session (I.e. automatically logging them back into the same page they logged out from). But I have a few things to consider: 1) Will they logout or will they just close the browser? This means I can't add the …

Member Avatar for mmcdonald
0
175

The End.