39,323 Topics

Member Avatar for
Member Avatar for ak47carbon

i want to know that what is php frame work and how it use tell me benefits,uses and disadvantages of php frame and also tell mee benefits,uses and disadvantages of oop in php

Member Avatar for pritaeas
0
47
Member Avatar for Octet

I am attempting to create a script which checks to see if the user has a warning level of less than 3. Basicaly, I want to automatically deny any account which has a Warning Level (stored in the Database) of 3 or more from logging in but whenever I attempt …

Member Avatar for Octet
0
164
Member Avatar for rogerg

hello, I use a script I found on this site [Click Here](http://www.html-form-guide.com). I don't think the htmlentities check work and I don't know what's wrong. the .php file for the registration starts with <?PHP require_once("./include/membersite_config.php"); if(isset($_POST['submitted'])) { if($fgmembersite->RegisterUser()) { $fgmembersite->RedirectToURL("thank-you.php"); } } ?> and the user registration form starts with …

Member Avatar for rogerg
0
199
Member Avatar for fabzster

Hi I pull data from a MYSQL database to populate a Drop down <td class="<?php print $Bank_ca_error;?>">Bank Name</td> <td> <select name="Bank" id="Bank" tabindex=24 style="color: <?php print $TextColour;?>"/> <option><?php print $_SESSION['Bank_ca'] ;?></option> <?php //Get Data to populate drop down $BankQuery = "SELECT BankName FROM tblbank ORDER BY BankName"; $BankResult = mysql_query …

0
76
Member Avatar for mariaceline_21

i have this code ,im doing a shopping cart an dwhat i want is whenever i edit the admin panel agg new products and image. . i want to display it in my online catalog , but i can do that . `// Image Load $st_id_img=$st_id.".png"; $sfile = $_FILES['img']['tmp_name']; $dfile …

Member Avatar for pritaeas
0
84
Member Avatar for ak47carbon

i want that when user type username in from fiel it validate from process.php and after validate it show result in front of name field . i want that when user select uk from contry it show uk city and if selected india then show india cities how can it …

Member Avatar for ak47carbon
0
223
Member Avatar for momo219

I am using Notepad++ and I have just been investigating using the Workspace. If I want to create a new file in the workspace I either have to manually locate the actual working folder and create the new file -- or I can use the Notepad++ Explorer to create the …

Member Avatar for clivepaterson
0
426
Member Avatar for ehpratah

**Hi guys** I’m new to this site and i really need a professional help out here. I am trying to make a search form in my page and basically i can search my database already but i need to revised the code because the process of my **search form depends …

Member Avatar for neatric
0
7K
Member Avatar for gavin_am

Hi everyone, Does anyone have any ideas on how to intall a music player in a php page where the file name is called from a mysql database. I have done this within html 5 with audio tag but however I need to stop the preload of the music and …

Member Avatar for BSkiLLs
0
163
Member Avatar for vijayram

Hi everybody, What is the problem in this code,loop does not working . layout page display loop. i need 12 columns. in page layout. plz help me. <div class="planbooks"> <b><?php echo date(" 'F 'y") ?></b> <?php $i=0; foreach ($planbooks as $planbook): ?> for($i = 0; $i <=15; $i++) { if(!($i …

Member Avatar for vibhaJ
0
174
Member Avatar for bossie09

I want to develop a website that source all the prices of a particular item in town. For example the user log on to my website and he/she want to know the cheapest supermarket in town which sell bread. The user the type in "bread" in the search bar on …

Member Avatar for veedeoo
0
103
Member Avatar for hwoarang69

i have a form in html. when user hit sumbit. i want to run top php code. when i run it it give me 2 errors Notice: Undefined variable: _SESSION in C:\xampp\htdocs\login_test\register.php on line 134 Warning: array_key_exists() expects parameter 2 to be array, null given in C:\xampp\htdocs\login_test\register.php on line 134 …

Member Avatar for fobos
0
482
Member Avatar for geneh23

Hey everyone, I haven't been on here in a while and I have probably a stupid error somewhere but anyway, I have three files: one is a php(header) file and the other is a css file linked into the index page. I think I've coded the php and I'm pretty …

Member Avatar for geneh23
0
137
Member Avatar for deathscarz

hi i am developing a website in php actually i want to welcome a user by getting his name in text field and give him an option to choose the desired color in which welcome note displayed i-e(red , green .blue) so how can i do it

Member Avatar for diafol
0
134
Member Avatar for taylortay

I have scoured the web for the answer to this question. I am a nubie to PHP so the answer may be simple I just don’t see it. I’m trying to dynamically create two drop down menus from the results of one query. Sounds simple enough but I want to …

Member Avatar for taylortay
0
1K
Member Avatar for Albert Pinto

Hi People, Got a php related issue.. I have a form Which has some textboxes, few checkoxes and a Textarea. Say for example, Name: Email Address: And then the checkbox values....... Hobbies (Reading, Trekking, Gardening, Outdoor Sports, Birding) Once I click the submit button, All my data gets inserted in …

Member Avatar for fobos
0
143
Member Avatar for Octet

Hello, I am trying to create a members page for my website and I want it to display a welcome message for when the person views it, something like: "Welcome <USERNAME>" I am new to PHP so I am not sure if there is something I am doing wrong, here …

Member Avatar for cereal
0
8K
Member Avatar for piotrekw

I have e.g. example: $some_text='some example text [title=some_title]some title[/title] next text'; and I want make function, which will search for the word. I make function: function text_check($text,$search_word) { $text = preg_replace('/'.$search_word.'/i','<span style="color: red;">'.$search_word.'</span>',$text); return $text; } $search='title'; echo text_check($some_text,$search); How to construct a function of instruction which will steer clear …

Member Avatar for piotrekw
0
163
Member Avatar for Kewne

well... I have this code... <?php function ARG_FF() {?> <!--AIR RESTRICTION GAUGE--> <td><select name="gauge"> <option value="8">8</option> <option value="11">11</option> <option value="15">15</option> <option value="22">22</option> <option value="25">25</option> </select></td> <!--FUEL FILTER--> <td><select name="filter"> <option value="20">20%</option> <option value="40">40%</option> <option value="60">60%</option> <option value="80">80%</option> </select></td> <?php }?> and I use it multiple times.... then here comes mysql: …

Member Avatar for Kewne
0
99
Member Avatar for chrisiek

Hi, I created a log file **log_php.txt** *to store some things that happens in my PHP code used by Apache.* .I use it like this $strmsg = "An error appeared here."; $file = "c:\logs_php.txt"; error_log($strmsg, 3, $file); and sometimes but not always this error appears. You may noticed that i …

Member Avatar for veedeoo
0
103
Member Avatar for Shougat

I want to use while loop in html. I have the following php code. But it does not work. How can i solve this problem? Please any one help me. while($row = mysql_fetch_array($result)) { echo "<tr>"; echo "<td>" . $row['ID'] . "</td>"; echo "<td>"; echo "<input name="txtf" type="text">"; echo "</td>"; …

Member Avatar for broj1
0
435
Member Avatar for ebanbury

Hi I'm trying to re-do my code so that SELECT, INSERTS etc use prepared statements..... But I'm having a problem My original code which worked was: if (isset($_POST['submit1'])) { // Grab the profile data from the POST $condo_nm = mysqli_real_escape_string($dbc, trim($_POST['condo_nm'])); // Make sure a review doesn't already exist for …

Member Avatar for mamdouh ramadan
0
147
Member Avatar for ping0ping

Hi, this is my first post. I'm new here and also just start playing with CakePHP. And sorry for my English since its not my native language. I had problem to call data from two tables since I dont know how to do it in CakePHP. So basically I doing …

Member Avatar for ping0ping
0
193
Member Avatar for my3h

Hi , I am trying to display images stored in database. Actually, i have stored image names with extenstion in the database, images are stored in my root directory images folder. Now i want to display all the images with other filelds in that table, in same page. I have …

Member Avatar for my3h
0
166
Member Avatar for azareth

I can't update my database by using select .. i've tried searching for different solutions but those didn't helped me .. any ideas why this doesn't update my DB?? i need to update the row with such conditions: the query/queries i used $records = mysql_query("SELECT * FROM cot_cargovolume WHERE VoyageNo …

Member Avatar for diafol
0
161
Member Avatar for gssr

Please tech gurus Help me ! Please help me urgent iam total newbie in MySQL and in PHP actually i want to auto generate user id if gender male selected in radio button than user id will be m00001,m00002,m00003..... like this, if gender female selected in radio button than user …

Member Avatar for pritaeas
0
330
Member Avatar for kairoland

I've created a While loop that prints out the info of a MySQL table into a simple html table. This part works just fine. I've created a variable which has a prefix tableID and then adds the number of the row ID. ID is the primary key and row is …

Member Avatar for blocblue
0
110
Member Avatar for Tharanga05

I am creating a registration form for my web site. In my registration form, there are two select boxes to select user's district and there city. So I need to do it, when a user select their district then automatically display city select box with cities which relevant to above …

Member Avatar for broj1
0
494
Member Avatar for aecha

Hello, I just want to ask. Is it possible to do the insert and select in one time and in one form? I can't see any example of this problem. Can somebody help me? Thanks.

Member Avatar for vibhaJ
-1
139
Member Avatar for hwoarang69

i have a form in html. when user hit sumbit. i want to run top php code. when i run it it give me 2 errors Notice: Undefined variable: _SESSION in C:\xampp\htdocs\login_test\register.php on line 134 Warning: array_key_exists() expects parameter 2 to be array, null given in C:\xampp\htdocs\login_test\register.php on line 134 …

Member Avatar for hwoarang69
0
317

The End.