39,326 Topics

Member Avatar for
Member Avatar for SuPrAiCeR69

I have an example below from the registrar and when implemented (in a loop) it takes between 500ms to 1s between checks. I need it to run as quickly as possible, whether it be through curl or without. It seems curl takes forever between checks. I only need the script …

Member Avatar for mschroeder
0
2K
Member Avatar for rinkarto

Hello, anyone has an idea of how to use php to check to see if a field in a mysql table is empty or has no values? i tried this $query="SELECT fieldId FROM table WHERE fieldName IS NULL" ; but this works only if the field in the table has …

Member Avatar for hielo
0
146
Member Avatar for keshu.krazycode

when i run a php file on my site....I get an error msg The server encountered an internal error or misconfiguration and was unable to complete your request. one page as example .....[url]http://www.lifeline400.com/corp/staff.php[/url] Any help mch appreciated!!!!!!!!!!!!!!

Member Avatar for keshu.krazycode
0
126
Member Avatar for imranalirizvi

Is anyone help me to learn PHP? or give me some good links about PHP tutorials and examples? Thanks in advance.

Member Avatar for diafol
0
57
Member Avatar for Cuchara

[CODE]<form action="<?php echo $_SERVER['PHP_SELF']?>" method="post"> <table cellpadding="0" cellspacing="0"> <tr> <td height="35" width="80">Username:</td> <td><input type="text" name="username"></td> </tr> <tr> <td height="35">Password:</td> <td><input type="password" id="pass" name="pass"></td> </tr> </table> <input type="submit" name="submit" value="Login"> <input name="submit" type="image" src="./images/button.png" style="width: 160px; height: 25px; margin-left: 35px; margin-bottom: -20px; margin-top: 20px;"><a href="" style="color: white; text-decoration: none; font-weight: bold; …

Member Avatar for dos_killer
0
121
Member Avatar for shafeequeom

I am starting a word press website for downloading softwares. can any body suggest a good template

Member Avatar for diafol
0
45
Member Avatar for isilus

Ok so this being my first post i hope im doing it correctly i took this from another post and tried to modify it to what i was supposed to do as u can see basic knowledge here.. ahhaah so i dont even know where to start what i need …

Member Avatar for diafol
0
122
Member Avatar for rinkarto

I need help on dynamic forms with php. With a select action "Employees" checked, I want to show information of employees from a database in a text box. Thanks

Member Avatar for rinkarto
0
99
Member Avatar for aslamdoctor

I am using buddypress plugin on my wordpress project to create a social networking site. I have created a User login module & also used a plugin called BP-FBConnect to allow users to log in as facebook users. So here there are 2 user categories 1. Site Users 2. Facebook …

0
53
Member Avatar for pakunoda

Hi! Good day to all.. . can somebody help me with my code because when it comes to browser it always say this thing. Notice: Undefined index: submit in C:\wamp\www\pm_login\register.php on line 3 Notice: Undefined index: fullname in C:\wamp\www\pm_login\register.php on line 5 Notice: Undefined index: username in C:\wamp\www\pm_login\register.php on line …

Member Avatar for pritaeas
0
223
Member Avatar for AdriftUniform

Hi there. I am creating a social networking website and I am having an issue when posting messages on a users profile. The message posts correctly and displays correctly too but when I refresh the page a duplicate of the last message is submitted. I do not want to prevent …

Member Avatar for itisnot_me
0
6K
Member Avatar for Snowbell

Hello, I'm trying to customize thesis theme of wordpress. I've done most of the things by using custom_functions.php, but the comment box is still under my home page. I've tried removing several functions, but none seem to work.here's a screenshot of my problem : [url]http://tinypic.com?ref=wmayj9[/url] right now, I'm using wordpress …

Member Avatar for Snowbell
0
145
Member Avatar for surendrastha
Member Avatar for pakunoda

can you please help me guys.. i just wanted to start practicing phpandmysql and my only problem is the apache,php, and mysql 1. i tried to install the apache 2.2.17 to my computer and the installation was successful. i tried to browse the localhost to my web browser and it …

Member Avatar for pakunoda
0
256
Member Avatar for xuexue

hi guys, could you help me? how could i create a dropdown button automatically once a value is inputted in the textbox.. thanks thanks..

Member Avatar for Shanti C
0
100
Member Avatar for phpDave

Hi, Does anybody know of another way to display an image from mysql besides [CODE]header("Content-type: image/jpg");[/CODE]

Member Avatar for Shanti C
0
29
Member Avatar for muralibobby2015

hello... i am not getting image url in I.E when ever drag the image into textbox. it is working fine in all browsers. but not in I.E. drag the image into textbox. url not getting in textbox. how to get this url when drag the image thanks.

Member Avatar for muralibobby2015
0
101
Member Avatar for arsala khan
Member Avatar for benjaminFowl87

Hi there, I have a slight problem with an email script that I have written, i'm using the mail() function. It sends an email a [email]ben@gmail.com[/email] (doesn't exist) I have hosted a website online and created a send us a quick message script that works from the site, this script …

Member Avatar for Dr Lopes
0
66
Member Avatar for leprakhauns

I have been working on a PHP site and it is really slow. It takes over 9 seconds to load and moving servers it is still just as slow. I have taken over programming it from a company who coded it in the Zend Framework using Doctorine and PHPTal. Killing …

Member Avatar for mschroeder
0
180
Member Avatar for rsmbd

I face the problem:: To Insert data to update data When I go www.myweb.com/cpanel user:xxxxx Pass:xxxx Go Database PhP MyAdmin by this way I can update my database.. But when I connect by PHP... I failed... Pls suggest some one.......pls !!1 1) test.php.. of a row <a href="update.php?id=<? echo $rows['id']; …

Member Avatar for hielo
0
123
Member Avatar for tcollins412

i am making a login page for my website. here is the code: [CODE]<?php include='dbconnect.php'; $tbl_name="members"; $myusername=$_POST['myusername']; $mypassword=$_POST['mypassword']; $myusername = stripslashes($myusername); $mypassword = stripslashes($mypassword); $myusername = mysql_real_escape_string($myusername); $mypassword = mysql_real_escape_string($mypassword); $sql="SELECT * FROM $tbl_name WHERE username='$myusername' and password='$mypassword'"; $result=mysql_query($sql); $count=mysql_num_rows($result); if($count==1){ session_register("myusername"); session_register("mypassword"); header("location:memberpage.php"); } else { echo "Wrong Username …

Member Avatar for hielo
0
101
Member Avatar for changeco

I have the following code and need to not display decimals... I'm unsure where to add a round() function... [code]<?php $nmdwiid = $row_eLearningSuite['nmdwiid']; $sql = "SELECT COUNT(*) AS total FROM eLearningSuiteProduct"; $query = mysql_query($sql); $recordset = mysql_fetch_assoc($query); $count = $recordset["total"]; echo $nmdwiid/$count * 100; ?> [/code] Any help would be …

Member Avatar for changeco
0
112
Member Avatar for leprakhauns

Sorry this was posted in the wrong place, didn't see a web development section with PHP there.

0
83
Member Avatar for vedro-compota

Good day) Advice please - is it permissible to use this syntax - [CODE] insert into EXAM_MARKS ( EXAM_DATE) values (str_to_date('26-05-2000', '%d,%m,%y')); [/CODE] This line does not work. I can not understand on what went wrong. Thank you for your answers)

Member Avatar for asaenz
0
1K
Member Avatar for imti321

newbee i get the following error in the below mentioned code: Parse error: parse error in C:\wamp\www\webdesigning1\webdesigning1\loginsession\login.php on line 25 [code] <?php $username = $_post ['username']; $password = $_post ['password']; if ($username&&$password) { $connect = mysql_connect {"localhost","root","webdesigning1") or die ("couldnt connect to mysql data base "); mysql_select_db("phplogin") or die("couldnt find …

Member Avatar for Sanket_s
0
158
Member Avatar for Drako12

i have a php variable that holds a date and i want to pass to a javascript function, but what happens is that i get a junk value instead, what should i do? [code] $data = $_POST['datep']; echo "<script language=javascript>fnClickAddRow($nplaca,$defeito,$posicao,$data);/script>"; [/code] [code]<script type="text/javascript"> function fnClickAddRow(n__placa,defeito2,posicao2,dataf) { var lext = "<?php …

Member Avatar for Airshow
0
177
Member Avatar for Drako12

i have a php variable that holds a date and i want to pass to a javascript function, but what happens is that i get a junk value instead, what should i do? [code] $data = $_POST['datep']; echo "<script language=javascript>fnClickAddRow($nplaca,$defeito,$posicao,$data);/script>"; [/code] [code]<script type="text/javascript"> function fnClickAddRow(n__placa,defeito2,posicao2,dataf) { var lext = "<?php …

Member Avatar for Drako12
0
171
Member Avatar for cristi08

Hello I have a form for a shoping cart that input even the value 0. How can i program php to not insert into table the products [CODE]$row['Denumire_produs'][/CODE] where the quantyti=$cantitate is 0 Here is the form input[CODE]$query="select*from produse"; ?> <form action="cumpar.php" method="post"> <td><input type="text" name="cantitate[]" value=" " size="1"/></td></tr> <input …

Member Avatar for cristi08
0
173
Member Avatar for Resentful

I'm currently almost done with a new site of mine, but one MySQL insert query is giving me trouble. The error message I am receiving is : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to …

Member Avatar for Resentful
0
93

The End.