Posts
 
Reputation
Joined
Last Seen
Ranked #2K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
88% Quality Score
Upvotes Received
8
Posts with Upvotes
8
Upvoting Members
7
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
4 Commented Posts
~18.8K People Reached
Member Avatar for lightningrod66

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 …

Member Avatar for Ryan Mark
0
5K
Member Avatar for Awah Mohamed

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 …

Member Avatar for Awah Mohamed
0
112
Member Avatar for RykeTech

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 …

Member Avatar for RykeTech
0
156
Member Avatar for Nyight

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 …

Member Avatar for Dani
0
192
Member Avatar for saideepthi.bits

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 …

Member Avatar for saideepthi.bits
0
228
Member Avatar for aldm

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 …

Member Avatar for FeralReason
0
510
Member Avatar for Marian0

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 .= …

Member Avatar for P0lT10n
0
148
Member Avatar for s2xi

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 …

Member Avatar for SolidSolutions
0
150
Member Avatar for dennishall

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 …

Member Avatar for dennishall
0
334
Member Avatar for akvlko

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 …

Member Avatar for baltazar
0
143
Member Avatar for iammirko

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 …

Member Avatar for iammirko
0
440
Member Avatar for BzzBee

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 …

Member Avatar for Ezzaral
-4
113
Member Avatar for kracko

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

Member Avatar for kracko
0
100
Member Avatar for pieterv

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 …

Member Avatar for pieterv
0
2K
Member Avatar for becraig

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 …

Member Avatar for becraig
0
99
Member Avatar for digiplaystudios

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>. …

Member Avatar for P0lT10n
0
213
Member Avatar for pokiaman

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 …

Member Avatar for vaibhav1983
0
135
Member Avatar for slap01

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"]; …

Member Avatar for Nyight
0
176
Member Avatar for raul8

In PHP, how can I print the list of directories and their sub-directories? Files should not be printed.

Member Avatar for mschroeder
0
96
Member Avatar for segiboy

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.

Member Avatar for Nyight
0
108
Member Avatar for BzzBee

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 …

Member Avatar for accountholder
0
152
Member Avatar for nick3592

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 …

Member Avatar for brandonrunyon
0
253
Member Avatar for ronaldpaul

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 …

Member Avatar for Nyight
0
357
Member Avatar for SoulMazer

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 …

Member Avatar for Tomsky
0
172
Member Avatar for Geordie_Ben

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 …

Member Avatar for Geordie_Ben
0
259
Member Avatar for designershiv

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]

Member Avatar for hielo
0
138
Member Avatar for mikecronauer

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 …

Member Avatar for mikecronauer
0
257
Member Avatar for HedoBum

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 …

Member Avatar for Stefano Mtangoo
0
173
Member Avatar for Meg_Spence

[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 …

Member Avatar for Meg_Spence
0
131
Member Avatar for nehapitale

$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 …

Member Avatar for Nyight
0
242