39,316 Topics

Member Avatar for
Member Avatar for joshvanslam

Hey, this is my first post here, so greetings lol. Back to the topic, Is it possible to make a text box that can put the text into html code and if so how? Sort of like the box you type your post's with on forums or blogs.

Member Avatar for diafol
0
152
Member Avatar for cliffcc

If I have an event which consist of 100 tasks, how to rewrite the below code,so i can show all the dealine of each task into <table>? Thanks! [CODE] <?php require("connect.php"); $deadline = mysql_query("SELECT * FROM events WHERE taskid='1001'"); $row= mysql_fetch_assoc($deadline); $deadline2 = ($row['deadline']); //dealine for this task(1001) is 2011-3-10-5-45// …

Member Avatar for diafol
0
119
Member Avatar for Staggasaurarts

Hi, i would like to send data from a C++ application to a php script i am creating that will then put it into a mysql database after manipuating it a bit. If you don't get what i mean then think of it like this. An HTML form can be …

Member Avatar for ziggystarman
0
1K
Member Avatar for feoperro

Hi, I'm trying to somehow download all pictures on a website FIRST before anything else happens... the problem I'm experiencing is that when a user comes to the site - none of the images are loading, sometimes they show, sometimes they don't... I believe that if the client downloads all …

Member Avatar for samarudge
0
127
Member Avatar for samcreator

Hi all I want to create following payment gateways with only php paypal visa bank transfer master card but the problem is I only want to use simple php in other words without frameworks like magento. How can I do this.that would be really nice if you can provide me …

Member Avatar for samarudge
0
108
Member Avatar for tape enterprise

well I am having a problem with my class I made to connect to my DB ok here is the class[CODE]class database { private $db_host = 'localhost'; private $db_user = 'root'; private $db_pass = 'McSteel8'; private $db_database = 'cmte'; public function connect() { $this->link = mysqli_connect($this->db_host, $this->db_user, $this->db_pass); mysqli_select_db($this->link, $this->db_database …

Member Avatar for tape enterprise
0
86
Member Avatar for MDanz

i have a form on submit.php, with method post to the same page($PHP_SELF). If i made a mistake i want to be able to press 'Go Back' to the previous page(same page) and have the values in their textfields. [code] if(isset($_POST['new'])) { <a href='#' onClick='history.go(-1)'>Go Back</a> } else { // …

Member Avatar for Airshow
0
134
Member Avatar for Stefano Mtangoo

I'm doing a project and would like to hear your opinions. I want to make Integrated library system and I want to have these folders 1. classes - where all classes will be stored 2. templates - where all templates will be stored 3. admin - where admin files will …

Member Avatar for Stefano Mtangoo
0
118
Member Avatar for rajandass65
Member Avatar for R0bb0b
0
129
Member Avatar for Lapixx

Hi, I was reading a few articles about secure login systems without SSL, as it looks a bit difficult to set up a server to accept HTTPS connections, create a certificate etc. Anyway, the main problem would normally be that when a user logs in, the password is sent to …

Member Avatar for Stefano Mtangoo
0
235
Member Avatar for codemonkey88

Hello, I have been developing a cms system using php and for some reason it has suddenly started printing a Æ’ character at the top of the page. There are no errors returned, and the page has all expected functionality but it is pushing my layout down, skewing the design. …

Member Avatar for codemonkey88
0
112
Member Avatar for BleepyE

Im trying to right my first php script. Im trying to get the script to look at a defined site's source to see if a length of code is present. Ive been given this by a friend but im not sure its working as I get this error, and it …

Member Avatar for BleepyE
0
338
Member Avatar for eng.mina

hello every one i was looking for some help in this php code i have php code for gallery flash required file >> data.php to show pic and thumbs and categories can any one help me in the code if there was some thing wrong [CODE]<? include('init.php'); define('LF', chr(10)); print …

Member Avatar for eng.mina
0
194
Member Avatar for ankita17gupta

This is my code [CODE] <?php $ebits = ini_get('error_reporting'); error_reporting($ebits ^ E_NOTICE); mysql_connect("localhost","root","") or die(mysql_error()); echo"Connected to MySQL<br /><hr/>"; mysql_select_db("college") or die(mysql_error()); echo "Connected to database<br /><hr />"; $query = "select student.Rollno, departments.Dept_name, student.Name, student.PercentsgeSoFar from student inner join(departments inner join studentdept on studentdept.Dept_id = departments.Dept_id)on student.Rollno = studentdept.Rollno "; …

Member Avatar for ankita17gupta
0
94
Member Avatar for andrewliu

Hello, I have a problem that I'm trying to figure out. I'm trying to come up with a solution where I have multiple links in a form... Let me give an example : [CODE] <form name='newForm' method='post' action=''> while($row .....) { <input type='hidden' value='".$id."' name='selBillAdd'/> <a href='#' onclick='document.forms["newForm"].submit();' >Use This …

Member Avatar for andrewliu
0
148
Member Avatar for it2051229

I can't find the forum section for Apache here in daniweb so I just posted it here in PHP because we typically use Apache with PHP. The problem is not concerning with my PHP program but with the settings of apache. The domain of my website is "www.whatever.com" (this is …

Member Avatar for Shanti C
0
163
Member Avatar for xagutxu

When I execute my php script with this sql code: [CODE]$key = "aaaabbbbccccddddeeeeffffgggghhhh"; $con = mysql_connect($sql_host, $sql_user, $sql_pass) or die ('Error connecting to mysql'.mysql_error());; mysql_select_db($sql_db, $con) or die("Could not select $sql_db"); // To work in "utf-8": $query = "set names 'utf8'"; $result = mysql_query($query); // Query: $query = "UPDATE personaldata …

Member Avatar for Shanti C
0
88
Member Avatar for Fresco Vivir

Greetings everyone i'm working on small php project and you help me a lot so far , what i want to know is how can i know the name of last column in a table i found away to know the last record in a column thats SELECT LAST(column_name) FROM …

Member Avatar for diafol
0
128
Member Avatar for Bennyton

Hey all, new to this site but i'm trying to call multiple values from multiple mysql databnases to show up in one table, but its throwing up an error at line 55, or [CODE]while($row = mysql_fetch_array($result));[/CODE] so i was wondering if I'm causing havoc with this statement here, im new …

Member Avatar for diafol
0
234
Member Avatar for andrewliu

Hello, If a user logs in with an email address and I have a session to save its email address so I can pass it along to other pages, how does it work if the user decides to update their email address in their account page? Will the session that …

Member Avatar for andrewliu
0
116
Member Avatar for Macko888

Hey Guys... Brain is kind of dead on a late thursday afternoon in Cape Town, Can anybody please assist... what i am trying to do is: 1) in a table i have a column that is an array, its all in plain text 2) i have a table that has …

Member Avatar for diafol
0
252
Member Avatar for jrhitokiri

Hello! I have tried using this line of code: [CODE]$output = array(); exec('grep "some_keyword" some_file.txt',$output); echo "<pre>";print_r($output);echo "</pre>";[/CODE] Upon looking for a keyword that I was sure was in the file, the output was: [ICODE]Array ( [0] => [1] => )[/ICODE] Otherwise if the keyword was not in the file, …

Member Avatar for jrhitokiri
0
2K
Member Avatar for puvi

Hi frens.. I have a requirement, where the user selects a option from dropdown, depending on the option selected, the next 2-3 fields must get populated from data coming from db(this must happen without refresh) so i decided to use ajax. I am getting a error which i am not …

Member Avatar for puvi
0
218
Member Avatar for drewpark88

Hey Guys, I have downloaded the [url]http://www.swis.nl/ga/[/url] google analytics class and it is working just fine. It shows a graph of things like pageviews and visitors in a graph per day. What I want is just a solid number like: Visitors Last 30 days: 1,2043 | Visitors This Month: 1,434 …

Member Avatar for pritaeas
0
104
Member Avatar for d3rck

Hi everyone, I strongly believe that this topic will not just help me but everyone else using php. My question is how to manually change the settings where in the storage of the sessions is set to the database tables that we will create in the phpmyadmin (mysql)? I have …

Member Avatar for d3rck
0
108
Member Avatar for william604

Hi im new to php, so can some body help me out with this code? "Parse error: syntax error, unexpected $end in E:\EasyPHP-5.3.2i\www\Survey\register.php on line 79" [CODE]<html> <?php if (isset($_POST['button'])) { if ($button) { // get data $username = $_POST['username']; $password = $_POST['password']; $retypepassword = $_POST['password']; $email = $_POST['email']; if($username …

Member Avatar for diafol
0
198
Member Avatar for nyler01

Hi Guys. Please help me.. I am familiar in passing form values to another page using submit button.. But what i need now is to pass the values of the form using the href link. please help me. thanks a lot. <form name="pass" action="validate.php" method="post"> <input type="text" name="Form1"> <a href"revalidate.php">revalidate</a> …

Member Avatar for Shanti C
0
819
Member Avatar for luweegee

i have a forum wherein a user can create a topic,delete and edit a topic. and i have a admin panel that can delete a topic,edit and locked a topic or closed. I'm done in delete,edit and create what I'm looking for is how can i lock the topic if …

Member Avatar for floatingDivs
0
104
Member Avatar for systray

Hello, I want to ask how to retrieve the value of javascript variable in PHP, like this: [code]<script type="text/javascript"> var data = "12345"; </script> <?php $phpVar = $data; ?>[/code] thanks

Member Avatar for happytogether
0
155
Member Avatar for yellowfeet

Hi, I've finished fixing a website for a client. However, he has a form that is not validating and I'm not exactly sure why. Here are some of the errors - Missing Fields Your form located at does not work because you forgot to include the required "rec_mailto" field within …

Member Avatar for yellowfeet
0
230

The End.