39,323 Topics

Member Avatar for
Member Avatar for LastMitch

Hi, The past few weeks, I been creating tables and I usually used **TEXT** but I realized if I have alot of data to type in. If I **echo** the data will it not **echo** if I don't have enough Space usage? I used Godaddy **Space Usage** Type Usage Data …

Member Avatar for LastMitch
0
298
Member Avatar for Zhedeng08

I am sorry if repost I'm making a schedule of course and I am having problems how to apply ant algorithm in php (cakephp), the problem is where the ant algorithm is embedded I have a table - Classroom - Course - readiness - lecturer - schedule I have a …

Member Avatar for rotten69
0
198
Member Avatar for turpentyne

I need a fresh set of eyes. I'm trying to redo a page from scratch, and simplify things. I've gotten a "beginner-stumping" error. And I'm a beginner, so that makes it harder. It's a page where the user makes a selection from a form with fields generated by a database. …

Member Avatar for turpentyne
0
130
Member Avatar for combat.mz

I need the code for inserting and deleting and updating a form in php by using of mysql in the back in this my table table vehicle veh_id veh_name model type color cost airbag speed

Member Avatar for vinay7868
0
108
Member Avatar for shehnaz1991

<?php mysql_connect('localhost','root','root'); mysql_select_db('project'); $dbname="project" require('fpdf.php'); //Connect to your database mysql_connect("$host", "$username", "$password")or die("cannot connect"); mysql_select_db("$db_name")or die("cannot select DB"); //Create new pdf file $pdf=new FPDF(); //Open file $pdf->Open(); //Disable automatic page break //Add first page $pdf->AddPage(); //set initial y axis position per page $y_axis_initial = 25; $pdf->SetX(25); $pdf->Cell(30, 6, 'id', 1, …

Member Avatar for ryantroop
0
178
Member Avatar for da(code)da

Im getting a "Unknown database 'user_admin'" error and i dont see it here is my code $username = mysql_real_escape_string($_POST["Username"]); $query = "SELECT * FROM user WHERE UserName='$username'"; $result = mysql_query($query); if(mysql_affected_rows() == 0) { //All Checks Out: Create Databases $dbase = "user_" . $_POST["Username"]; mysql_query("CREATE DATABASE $dbase",$con) or die(mysql_error()); mysql_select_db($dbase, …

Member Avatar for nunomartinsinet
0
186
Member Avatar for asaidi

Hi > nice to be in DANIWEB > really i m stucked in collecting value from ajax > i have an html select option on onchange on account i have the list of the customers belongs to the account > the problem i cannot collect the value of customer choosen …

Member Avatar for pritaeas
0
94
Member Avatar for arctushar

Hi I have a form with textarea. when user submit content through this text area. indent and paragraph is preserving in mysql. Even when I copy data from mysql via phpmyadmin, it also preserving indent and paragraph. But problem is that, when I get data from mysql via php script. …

Member Avatar for pritaeas
0
71
Member Avatar for BadManSam

Hi, I need a script that on click of a button. Delete a folder/file. So when I click the button the folder deletes and it is for a install file that I made.

Member Avatar for vibhaJ
0
122
Member Avatar for vijayram

Hi everybody, I have problem in meetnewpeopleid meetnewpeopleid value is null how can i getid? anybody plz help me class meetnewpeopleActions extends sfActions { public function executePlanpage(sfWebRequest $request) { $meetnewpeopleId = $request->getParameter("meetnewpeopleId"); var_dump($meetnewpeopleId); $meetnewpeople_obj= Doctrine_Query::create()->select('m.personal_id,m.photo,m.plantitle,m.country_id,m.zone_id,m.city,m.plantype,m.about_plan,m.date,m.what,m.where_go,m.time')->from('meetnewpeople m')->where("id = ?" ,$meetnewpeopleId) ; $meetnewpeople=Doctrine_Core::getTable("Meetnewpeople")->find($request->getParameter('meetnewpeopleId')); $result = $meetnewpeople_obj->fetchArray(); $this->meetnewpeoples = $result; var_dump($result); } }

Member Avatar for vibhaJ
0
185
Member Avatar for laura301019

Not sure if i should be using php or JavaScript however i have a form that uses the following checkboxes td>How do you get to work?</td> <td><input type="checkbox" name="vehicle" value="Train" />Train <input type="checkbox" name="transport[]" value="Bus" />Bus <input type="checkbox" name="transport[]" value="Car" />Car <input type="checkbox" name="transport[]" value="Bicycle" />Bicycle <input type="checkbox" name="transport[]" value="Walk" …

Member Avatar for vibhaJ
0
117
Member Avatar for tim-work

I want to write friendly urls by changing **`fullnews.php?id=123`** to something like **fullnews.php/123/This-is-the-Headline** or **fullnews.php/This-is-the-Headline-123** "This is the Headline" is the headline of the news item as selected from the database, id is the id selected from the database, I want to attach the id to the headline in url …

Member Avatar for vibhaJ
0
186
Member Avatar for Ebiso

I am trying to create a search form for my database where a user can search for a customer name and all of that customers addresses will be displayed. my structure looks like this Customer table + ID + First Name - Last name - Company Name Address Table + …

Member Avatar for smantscheff
0
360
Member Avatar for keyroche

I was not sure how to name this topic, and I also couldn't think of a term to search for to find the answer, so I apologize now if the answer is already on here. I have a form and this is the code: [CODE]<form action="http://wwtele.com/cgi-sys/formmail.pl" method="post" name="Contact" dir="ltr" lang="en"> …

Member Avatar for KushSoneji
0
591
Member Avatar for mdzawaralam

I want to automatically increase 15 minute interval to the cells once I enter in one cell in the Microsoft Excel (.xls)file. For Example: In cell D11 I enter manually 3:00(i.e format h:mm), then automatically data should come to other cells i.e(E11, F11, G11, H11, I11, J11, K11, L11, M11, …

Member Avatar for iamthwee
0
136
Member Avatar for titusnainggolan

Dear All, I have searched pdf viewer in the internet. I have found some library and I have tried the code, but it still occured error. Some library is work but it must be on the internet connection. I want to make the pdf viewer on my web in the …

Member Avatar for titusnainggolan
1
853
Member Avatar for muralibobby2015

Hello, I have to update product prices every 30sec which is like the sites [site1](http://www.coininvestdirect.com/en/) and [site2](http://www.bullionbypost.co.uk/ ). i am just confused how they did in above sites. i am new to magento. please any body sugguest me Thanks

Member Avatar for iamthwee
0
176
Member Avatar for omoayan

Hi, I developed a website with PHP version 5.1.4 and MySQL - 5.0.22. I tested the web on my localhost and it worked perfectly well. However, when I uploaded the website, I could not have access to all have to all the data inserted in my database. I could not …

Member Avatar for iamthwee
0
117
Member Avatar for LadySharon3710

Alright. I don't know how to program in PHP. I don't currently want to know. All I want to know is if &= " and" then what = "or"? I'm on a site with a search. the search doesn't work completly. The admin has much more important things to do …

Member Avatar for diafol
0
298
Member Avatar for subrata_ushasi

Hi all, I want to two drop downs ,one is product and on selection of product there will be an another drop down subproduct . Then on selecting sub product ,the content of that sub product will be displayed in ckeditor. When I update the ckeditor content will be updated …

Member Avatar for diafol
0
342
Member Avatar for CoolFlame

Hi! I recently done marketing for wordpress based job and they said write a proposal to them. I don't have any experienced about writing proposal and any one know where can I find a copy to referenced. and I don't know much about calculation of the project price with working …

Member Avatar for CoolFlame
0
242
Member Avatar for nsteve

Hello friend, I have a registration form and a admin panel for that, In admin panel we can see the list of registered users. I can filter user details by search but i cannot export searched results to .xls or .csv format. kindly help me...!!! Thank you.

Member Avatar for gabrielcastillo
0
214
Member Avatar for goody11

Hey guys. I'm trying to get an idea on how to code a certain table. The table has 6 cells: 3 columns and 2 rows. Each cell needs to be filled with information from a MySQL database. The columns are completely even. However, the second row is very uneven depending …

Member Avatar for diafol
0
329
Member Avatar for rori

hi, i have this code to submit a login form: [CODE] <?php if(!isset($aid)){ ?> you must login:<br> <form name="form1" method="post" action="<?=$PHP_SELF?>"> <input type="text" name="aid"><br> <input type="password" name="apass><br> <input type="submit" name="submit" value=" Login "><br> </form> <?php } else{ ?> welcome etc... <?php } ?> [/CODE] this code was working fine until …

Member Avatar for joelbezerrapinho
0
254
Member Avatar for gilgil2

Hi, it's my first time using captcha with PHP, I think I'm pretty close. I can get it echo everything is right or whatever when the fields are filled in correctly and correct words are entered, but what I can't do is make it run the script from another file …

Member Avatar for gilgil2
0
183
Member Avatar for gurusubramaniam

I want to clear the session in a project. If i have opened an another project in the same browser, that session also cleared. How to clear the session without affecting the other projects?

Member Avatar for rotten69
0
127
Member Avatar for cguan_77

hi gurus, had tried to install apache and php. apache seems to run and work fine and no error displayed during startup. but when i tried to do some testing for the php file. like: http://localhost/test.php the whole php code is displayed not the expected output. i had already load …

Member Avatar for rotten69
0
133
Member Avatar for kejionnet
Member Avatar for m.zheee

how do i create a trigger to display the columns of the record after it is inserted into the table. how do integrate php and mysql to do so?

Member Avatar for pritaeas
0
121
Member Avatar for joshmac

Ok, so I finally was able to convert my framework to the PSR-0 standards, but now I am getting errors in the sample application that I have not been getting before. I am not sure why, so I need a fresh pair of eyes. Any help is greatly appreciated. The …

Member Avatar for joshmac
0
213

The End.