39,326 Topics

Member Avatar for
Member Avatar for reemasmartin

hai everyone..i have run this file in my server.the following error is display Notice: Undefined index: name in F:\wamp\www\examples1\register.php on line 8 Notice: Undefined index: username in F:\wamp\www\examples1\register.php on line 9 Notice: Undefined index: emailid in F:\wamp\www\examples1\register.php on line 10 Notice: Undefined index: password in F:\wamp\www\examples1\register.php on line 11 Notice: …

Member Avatar for reemasmartin
0
242
Member Avatar for Dendei

Hi, im wondering how i get this to work? <?php $client = new SoapClient("http://localhost:8731/phpwcf/?wsdl"); var_dump($client->KundLandKodAlternativ()); $response = $client->KundLandKodAlternativ(); $array1 = $response->KundLandKodAlternativResult->WCFString1; $array2 = $response->KundLandKodAlternativResult->WCFReturnString; echo count($array1); echo count($array2); ?> the line `var_dump($client->KundLandKodAlternativ());` gives object(stdClass)[2] public 'KundLandKodAlternativResult' => object(stdClass)[3] public 'WCFReturnString' => object(stdClass)[4] public 'string' => array (size=4) ... public 'WCFString1' …

Member Avatar for Dendei
0
261
Member Avatar for andyy121

$construct .="keywords LIKE '%$search_each%'"; $run = mysql_query($construct); $foundnum = mysql_num_rows($run); i wont to know what display $construct?? i wont to know what is the function of mysql_query and what mean this ($construct); i wont to know what is the function of mysql_num_rows what can it do

Member Avatar for cigoL..:)
0
115
Member Avatar for archie.herbias

Why this code doesn't redirect to profile page? i need help.. <?php include('connectvars.php'); if(isset($_POST['login'])) { $con = mysqli_connect(DB_HOST,DB_USER,DB_PASSWORD,DB_NAME); $user_username = mysqli_real_escape_string($con,trim($_POST['username'])); $user_password = mysqli_real_escape_string($con,trim($_POST['password'])); if(!empty($user_username) && !empty($user_password)) { $query = "SELECT * from Account where Username = '$user_username'"; $data = mysqli_query($con,$query); if(mysqli_num_rows($data) == 1) { $row = mysqli_fetch_array($data); $_SESSION['user_id'] = …

Member Avatar for cigoL..:)
0
233
Member Avatar for mikeandike22

I have seen a couple solutions to this problem but none have worked so far. here is the error. [B]Fatal error[/B]: Call to undefined function mysql_connect() in [B]C:\wamp\www\login.php[/B] on line [B]12 [/B]and the code [PHP]<?php // connect to the mysql server $link = mysql_connect(localhost, root, admin) or die ("Could not …

Member Avatar for ashishanand
0
4K
Member Avatar for <M/>

I have a reCAPTCHA form and for some odd reason, the input field is probably 2px in height... I think something in php messed that up... can someone help me with possible solutions... I will post my php if needed and send you the link to the page for better …

Member Avatar for pritaeas
0
120
Member Avatar for havish999

I have generated checkboxes dynamically and want to insert into att field in attendance table.. ie when user checks the checkbox P would be inserted and when he does not check A would be inserted.. I am trying out attendance system for students.. here is what i have tried.. <?php …

Member Avatar for Bachu
0
1K
Member Avatar for muratsal
Member Avatar for <M/>
0
57
Member Avatar for fcvolunteer

I'm working on a dynamic form where based on a visitor's selection of radio buttons certain <div> text and additional fields are shown or hidden. I would like to make some of these additional fields required but only if they are visible. Problem is: I can read php more than …

Member Avatar for fcvolunteer
0
1K
Member Avatar for mbhanley

Hi all I am stuck trying to figure out the best way to get data as at the moment I have tried a few different ways to achieve this with no luck. What I am trying to do is update a block of php code that is in my sidebar …

Member Avatar for mbhanley
0
2K
Member Avatar for Yorkiebar14

Hello, I am making a website to do with different tests so I need a script which can unlock test 2 after test 1 is completed. Then the same for 3, then 4 etc etc. I tried using MySQL to increase an INT so I could tell what the latest …

Member Avatar for Yorkiebar14
1
304
Member Avatar for adishardis

horizontal scroll from while loop Hmmmm, I accidently posted this in the wrong forum. Is there a way to move it? Hey, ive been trying for several hours now to get the list horizontal with scroll instead of vertical. the divs stacks up to the right but wraps at the …

Member Avatar for adishardis
0
469
Member Avatar for <M/>

I have an error message that is supposed to show if you forget to finish filling out the captcha form, but unfortunatly it shows on the very top of my site right when you enter the page... I don't want it to do that... I want the error messages to …

Member Avatar for Will Gresham
0
187
Member Avatar for mozan

hi here is a page for up load it has an upload script in it but it upload from computr. I want to upload from other servrt like transloader please check the script and tell me what should be chande thanks here is script [ICODE]<? //****************************************************************************************************** // ATTENTION: THIS FILE …

Member Avatar for arevindh
0
330
Member Avatar for <M/>

I am using reCaptcha and for some odd reason, I keep getting this error: **is_valid) { echo "You got it!"; } else { # set the error code so that we can display it $error = $resp->error; } } echo recaptcha_get_html($publickey, $error); ?>** Can someone explain to me what is …

Member Avatar for <M/>
0
253
Member Avatar for Yorkiebar14

Hello, I have this code: mysql_query("UPDATE users SET BasicLevel = BasicLevel +1 where username='Admin'"); but its not increasing the integer. The field names are correct as well as the username. Can anyone help me? And yes, I am connected to the database.

Member Avatar for moneeshot
0
124
Member Avatar for kedar9

Hi, I am planning to go for a php certification. Since I do not have a proper work experience, a certification will help me build my portfolio. So, I was planning for Zend certification. Is it worth taking or is some other certification (like w3schools) better? Anybody here who got …

Member Avatar for Nicolo
0
275
Member Avatar for maki.tabasa

i have this main_login.php code <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Untitled Document</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body> <table width="300" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC"> <tr> <form name="form1" method="post" action="checklogin.php"> <td> <table width="100%" border="0" cellpadding="3" cellspacing="1" bgcolor="#FFFFFF"> <tr> <td colspan="3"><strong>Member Login </strong></td> </tr> <tr> <td …

Member Avatar for Will Gresham
0
259
Member Avatar for yoyo12345

Object not found! The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again. If you think this is a server error, please contact the webmaster. Error 404 localhost Apache/2.4.2 (Win32) OpenSSL/1.0.1c PHP/5.4.4

Member Avatar for Squidge
0
312
Member Avatar for James singizi

hello, im using a wamp server and i want to sent an email and after writting the code, im getting an error that says 'warning: mail() [function.mail]: failed to connect to mail server at localhost port 25, verify your SMTP and smtp_port setting in php.ini or use ini_set().' Im not …

Member Avatar for LastMitch
0
294
Member Avatar for asaidi

Hi i m trying to output pdf file from html..this html is a result of a php script i have this error from html2pdf impossible to load the image litre.php?start=2012-09-1&end=2012-09-30&client=13 any help please

Member Avatar for LastMitch
0
8K
Member Avatar for Arjun_Sarankulu

I have a crontab job in which data from csv file get insert into mysql table at regular interval. Now i want the same table data to be inserted in ms sqlserver database. I know i can write code again to take data from csv to ms sqlserver database. But …

Member Avatar for rayidi
0
145
Member Avatar for amit.chaudhari.71

i want to create a text report and i have use this coding:- <?php $f=fopen("c:\amit.txt", "wb"); // adding header $text="\n Your text to write \n ".date('d')."-".date('m')."-".date('Y')."\n\n"; fputs($f, $text); fclose($f); ?> which results me some thing like when i open it in windows [i.e my computer->c drive->mit.txt] :- > []Your text …

Member Avatar for amit.chaudhari.71
0
212
Member Avatar for Riu 2009

Hi everyone :) im a new in php and mysql and doing my final year project..i want to my teacher module to create quizes for students and then want to further grade them after evaluating the marks..i want to put fill in the blanks, MCQs and true false in those …

Member Avatar for Riu 2009
0
129
Member Avatar for shlokka

hi guys, i have a rege code that looks to see if a block of text has a link. i have modded it to show the link as an image if it exists (badly i know this method isnt very good) what i need to do is check if the …

Member Avatar for diafol
0
203
Member Avatar for Priti_P

Hi, I have a doubt as if i have a "xml format" text message in my email body then how can i cobert it into an array so that i can fetch each node form it for example: my email body containts xml format: <?xml version="1.0" ?> <candidate> <name>Superduper automation</name> …

Member Avatar for Priti_P
0
2K
Member Avatar for andyy121

<?php if (isset($_POST['generate'])) { $charset = 'absdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWYZ0123456789%$#-()*&.,'; $generated_password = substr (str_shufle($charset),0, 12); } ?> <form action ="password generator" method="post"> <input type="submit" name="generator" value="Generate"><input type="text" value="<?php if (isset($generated_password)) {echo $generated_password; } ?>"/> </form> when i click in generate button it show me this: Object not found! The requested URL was not …

Member Avatar for yoyo12345
-1
163
Member Avatar for James singizi

i need help ordering my data from a database using time in ascending order.

Member Avatar for James singizi
0
103
Member Avatar for Clanstrom

I need to pass a variable from page1 to page2 without URL, or without making the variable visible to users, to I figured, I might use the hidden field method, but I can't do this with the following script <form method="POST" action="page1.php"> Username: <input type="text" maxlength="25" name="username" value="" class="i_login" /> …

Member Avatar for moneeshot
0
252
Member Avatar for double_cola

Good afternoon everyone. I need to write out a simple validation. It needs to validate only if a user enters certain keywords. Here what I have so far: if(!preg_match("Indiana, Ohio", $state)) { $errors .= "You have entered the wrong state."; } What would be the correct preg_match function to only …

Member Avatar for double_cola
0
187

The End.