- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 8
- Posts with Upvotes
- 8
- Upvoting Members
- 7
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
Re:
I have a form on our website that a user can fill out for custom product. I want the form data to be 1) stored into a mysql database AND after storing said data, 2) email the same data to our sales department. 1) The form data DOES get stored … |
|
Re:
hey everyone i need your help i want to create a mailling list in php and mysal but i dont know how to do it , so please if you know how to do it please tell me or if you know where i can get it also tell me … |
|
Re:
Hey everyone, been a while since I have been here but I need some advice in a bad way. Being new to PHP I am at wit's end with this one. I created a main website that displays images and info about the images. All of the images and info … |
|
I'm not sure if this should go in this forum or not so please move it accordingly if necessary. I was wondering how difficult it would be to implement code highlighting. Personally I like to show the person where their errors might be or are without giving them a direct … |
|
Re:
hi, i have a page which shows user details(div1) by default there will be an admin who enters username and pwd and then a new div(div-layer) is displayed. also ,a user can edit his data by pressing edit button on which he will be displayed div2 and div1 will be … |
|
Re:
Hi, I have a php file session.php: [CODE] <?php require_once("functions.php"); session_start(); ... ?> [/CODE] I tried to include this in one of my php scripts, but it shows me a warning: Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at E:\xampp\htdocs\cjenovnik1\uredi_profil.php:1) in E:\xampp\htdocs\cjenovnik1\includes\session.php on … |
|
Re:
Hello. I am trying to get the correct code in order to get specific content shown according to the current site the visitor is on. I have done two tests: [CODE=php] <!--START TEST 1--> <?php class address { function curPageURL() { $pageURL = 'http'; if ($_SERVER["HTTPS"] == "on") {$pageURL .= … |
|
Re:
Hey guys, I was making a form that is um... quite large and all inputs consist of the form looking like [CODE]<input type="text" id="first_name" name="first_name" />[/CODE] so instead of having to do [CODE]$first_name = $_POST['first_name'];[/CODE] and so on for every input, is there a way to grab every 'name' or … |
|
Re:
Hi All: I have been working very hard and long at understanding this situation. I have tried many different sample scripts, to check my work and find find my solution. I have created a job board for a client, the user applies for a job in application form.php which then … |
|
Re:
Hi Friends! Can you people help me out about this I have Two Array's 1: a[] =>1 =>3 =>4 2: b[] =>5 =>6 =>8 and I want to combine both array like this c[1]=5 c[3]=6 c[4]=8 Means the value of first array will be the Index of Third array and … |
|
Re:
Hi, I am trying to execute the following script, but each time it is failing and returning "Unable". Note: "Unable" is the response returned when isset($_POST) is not working, refer the code for more details. [COLOR="red"][B]PHP CODE[/B][/COLOR] [CODE]<?php $test = "Hi!"; if ((isset($_POST['usrName'])) && (isset($_POST['pWord']))) { $user = $_POST["usrName"]; $pass … |
|
Re:
I am member of daniweb since last 2 and half years. That was very good when i joined this. But now its just rubbish here. No one try to help others. I had post 5 different threads but i didnt find any solid suggesstion, any sound solution. In my following … |
|
Re:
hey ppl. I have many submit buttons in a form. Each of them does its thing in different php pages. But when, for example, 'add' button goes to 'add.php' it does its work but stays there) how to redirect page back? thanks |
|
Re:
Could someone please explain why the following code works: [code=php] <html> <head> <script type="text/javascript"> function test(){ phpTest = "<?php echo 'hello'; ?>"; document.getElementById("php_code").innerHTML = phpTest; } </script> </head> <body> <a href="#" onclick="test(); return false;"> test </a> <span id="php_code"> </span> </body> <html> [/code] while this code doesn't: [code=php] <html> <head> <script … |
|
Re:
I need to assign a variable based on its value. ie: $variable = 'value' (if value != "Session['value']" My brain is not really working atm I know there has to be a simple way to do this. I am selecting a random file from a directory and do not want … |
|
Re:
Hi There, I've got a membership script and a login using PHP and MySQL databases however when it logs in it simply displays a PHP page - the same one for all users. I want to be able to customise the members page so it says things like: Hello, <username>. … |
|
Re:
I m trying to get it work in php but i cant, since i m new in PHP :( i was wondering if someone can help and i would really appreciate it!! :* Description: In a php page i want to choose from a drop down menu (Houses) a choise … |
|
Re:
i do believe my code in update is wrong because saving it is working but having trouble with the "Edit". help anyone? [CODE]<?php include 'conn.php'; $flag=$_GET["flag"]; if ($flag=="1") { $id = $_GET["id"]; $lname = $_GET["lname"]; $fname = $_GET["fname"]; $mname = $_GET["mname"]; $age = $_GET["age"]; $sex = $_GET["sex"]; $course = $_GET["course"]; … |
|
Re:
In PHP, how can I print the list of directories and their sub-directories? Files should not be printed. |
|
Re:
I'm fetching data from database but problem is if i leave my field blank then result is shown like attached file... I want that if field is empty then auto value set into "N/A" . Is it possible from phpMyAdmin-2.11.10. Please reply Thanks Farhan. |
|
Re:
hi, I am trying to upload picture using PHP. I made this title because if the thread contains title with tough problem, no one even open thread and try to help. Actualy i have problem in picture uploading, but critic part is that my code is at one site and … |
|
Re:
Hi i have a membership system on my site and i noticed a problem that is on my site. The user can change the a cookie information which holds the users id, after that the user can be logged in as a different user by changing the id, i was … |
|
Re:
I've built a website using php and mysql. I wanted to host this site. So I registered a domain name and buy a web hosting package. The webhoasting package provider gave me 2 name server addresses. I pun the in the domain name control panel. But still when i type … |
|
Re:
Hi, I made a post about a similar subject quite a while ago, but I'm a little more serious about it now. I've created two games in C++ and one in Python, but I'd like to start making games for the web to let them be more visible and more … |
|
Re:
Hi all, I want to create a required field on a registry form. I am using php nuke evolution and want the field "Game GUID" as a requirement. Where i am having the problems is i dont know where to put it in mysql and how to read it from … |
|
Re:
Can anyHere my code: [CODE] <script language="javascript" type="text/javascript"> jQuery(document).ready(function() { $('#countdown_dashboard').countDown({ targetDate: { 'day': 17, 'month': 9, 'year': 2010, 'hour': 1, 'min': 0, 'sec': 0 } }); }); </script> [/CODE] |
|
Re:
I am using a web page to input data into mysql using php. I am using ajax to pull back the same data from a php file on the same web page. I click my "get data" button (it runs my ajax/php function) right after I make an update to … |
|
Re:
Hello fellow code heads! I have issues (or so my wife says) but mine stem from the wonderful world of PHP. My web design knowledge is largely based on XHTML and that's where I left the scene. I was recently asked to delve back into the world of web design … |
|
Re:
[CODE]$OrderId = (int) $_REQUEST["OrderId"]; // query one of two $sql = 'select * from mickey.mouse where OrderId='.$OrderId ; $result = mysql_query($sql) or die('Query failed'.mysql_error()); $orderID_Passed =1; echo "test2<br/>"; $numfields = mysql_num_fields($result); echo $numfields ; echo "<br/>"; echo "<table><table cellpadding='4' cellspacing='3' border='1'>"; $orderID_Passed = 1 ; //replace with the request object … |
|
Re:
$select_query2 = "SELECT * FROM EmployeeBirthdayDetails Order By E_ID"; $employeedetails = mysql_query($select_query2); $emp_details = array(); $j =0; while($row2 = mysql_fetch_array($employeedetails)) { $emp_details[$j] = $row2; $j++; } echo "<table border='1' width='100%'> <tr> <th>Employee ID</th> <th>Employee Name</th> <th>Date Of Birth</th> <th>Edit</th> <th>Delete</th> </tr>"; for($i=0;$i<sizeof($emp_details);$i++) { $empId=$emp_details[$i]['E_ID']; echo "<tr>"; echo "<td>" . $empId … |