- Strength to Increase Rep
- +6
- Strength to Decrease Rep
- -1
- Upvotes Received
- 7
- Posts with Upvotes
- 7
- Upvoting Members
- 7
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
Check out my blog about PHP, HTML and CSS: http://blog.pepa.info/
Can anyone help me on how to store checkbox values in my database? I have a site which is a student registration form and I need to store his/her interest/s in my database. Interest/s are my checkboxes which contains sports, music, entertainment and adventure. Please help me! Thanks! |
|
Hello all, Im trying to do this tutorial on cakePHP website for 1.3 It asks me to use the cake bake function to automically create models based on the tables I made. (using .cake bake all) The bake functionality it self works great, but it presents one problem. cakePHP creates … |
|
Okay, so I'm doing an e-commerce website for my school project. Basic run down of the cycle is that the user logs in, views items, adds the items that he likes to his shopping cart, and checks out the items at the shopping cart. Now, for the the add to … |
|
I am stuck on inserting the data into mysql via php. Its a foreach method and I am just stuck [CODE=php]include '../Database/take_an_exam.php'; $intNum = 1; $intnumber = 1; while( $info = mysql_fetch_array( $sqll )){ echo "<input type='hidden' name=\"Que_ID\" value=\"{$info['Que_ID']}\" /> "; echo " $intNum, {$info['Que_Question']} <br />\n"; $intNum++; for ($i … |
|
Hi, I am uploading a file(text,doc) in php.its working fine. I want to send this uploaded file as attached file to admin.my mail function is working fine.but i don,t know how to attach that uploaded file. need help. Thanks |
|
Hello, I was thinking what would be a best way to create another column if a list is too long? Say I have a <ul> tag and doing a while loop output <li> tags. Would it be good to just use like a while loop and set the condition to … |
|
I am trying to create a regular expression that can parse both variables ($src and $src1) and get the result of Prop, Nam and Tra. (Ignoring any information after). [ICODE] <?php $src = "{{Data#Prop=11a|Nam=33a|Tra=46b}}"; $src1 = "{{Data#Prop=11a|Nam=33a|Tra=46b|extra=384v}}"; preg_match_all('/\{\{Data#Prop\=([a-z 0-9]*)\|Nam\=([a-z 0-9]*)\|Tra=([a-z 0-9]*)????\}\}/Umis', $src, $st); ?>[/ICODE] For both $src and $src1 the … |
|
I have a script which parses xml feeds, the url's to the feeds that are being parsed are in a table on my database. Below is the query for storing the url's in an array [CODE] $getUrls = "SELECT * FROM sscape_blogroll"; $result = mysql_query($getUrls); $urls = array(); while($row = … |
|
hi, please help.. I need php code to upload file from one FTP to another FTP.. thanks/regards vijay |
|
I am stuck on inserting the data into mysql via php. Its a foreach method and I am just stuck [CODE=php]include '../Database/take_an_exam.php'; $intNum = 1; $intnumber = 1; while( $info = mysql_fetch_array( $sqll )){ echo "<input type='hidden' name=\"Que_ID\" value=\"{$info['Que_ID']}\" /> "; echo " $intNum, {$info['Que_Question']} <br />\n"; $intNum++; for ($i … |
|
Earlier today I created simple database (user and login fields), login, and registration PHPs. Now I need help going about the following enhancement: In a nutshell: I am trying to create a registration form like facebook's with php code (and link it a mysql database)... 1.) My updated registration.php has … |
|
Hi, I am working on a form which is as follows - +---------------+----------------+--------------+-----------------+---------------+ |Item_Code |Item_Name |Quantity |Rate |Amount | |[ COMBO BOX ] |[ COMBO BOX ] |[ USER INPUT ]|[ Auto Fill after| [ CALCULATED ]| |Generate Field2|Generate Field 1| |selecting f1/f2 | | +---------------+----------------+--------------+-----------------+---------------+ The user can either … |
|
I'm currently developing a domain whois lookup script in PHP. I want it to display a snapshot of the homepage of the searched website. Moreover, I would like to get this script to display Google PageRank. Please, does anyone know how to incorporate these features into my script? I would … |
|
Hello, I call the imagettfbbox function like so `imagettfbbox($font_size, 0, 'monofont.ttf', $code)` but its generating the following error: 'imagettfbbox() [function.imagettfbbox]: Could not find/open font' monofont.ttf is in the same folder. And the code executes fine on the server. It just won't work on my computer. This leads me to believe … |
|
Hello, Quick question...For the email code in the PHP script to work, do I have to make any server settings? or make any accomodation for the type of server it is being run on? If so, then please guide me... The application is located on a Linux server. |
|
Hi all, I have a problem with my php and mysql project. I use an auctions software, named phpauction for my project. I import into my database with utf8 encodingm and I can see the greek letters inside the fields. The problem is that when i go to the site … |
|
Hi all, I am currently doing on this project and i am struck at this section - which is deleting multiple rows from mysql with checkbox. The code i am using is [CODE]<?php $host="localhost"; // Host name $username="root"; // Mysql username $password="root"; // Mysql password $db_name="advert"; // Database name $tbl_name="test_mysql"; … |
|
i want to design a database for cricket game where players will be selecting their players and while live cricket is goin on i want all user data base to get updated when the specefic player in his team hits.so i just want to know how to do this updation … |
|
I have two file one called show.php and one is show.tpl. On show.php it has this code //----------------------------------------- // Fetch Media //----------------------------------------- $db->query("SELECT files.*, categories.*, users.id, users.username FROM categories, files LEFT JOIN users ON files.mid=users.id WHERE $search_addon files.category_id=categories.category_id AND files.type != 'plug' AND $v $ss ORDER BY files.featured DESC, files.$sort … |
|
Hi all I'm trying to get a jquery progress bar working. What I'd like to know is if there is a specific command I need to include in my php or something I need to add to my php.ini file in order to report back to the progress bar. The … |
|
actually, i'm a newbie in php...i'd like to ask you guys.....how to display back all the data from the database for these coding....here's the coding.... [code=php]($_POST ['action'] == 'pointofcontact'){ $projectid = $_POST['projectid']; $poc = ''; //echo "Pastikan pilihan anda betul!!<br><br>"; for ($i=1; $i <= 3; $i++){ $poc = 'poc' . … |
|
Hi All, i'm new here but hoping someone can give me some much needed help! :) I'm new to PHP Completely, the script i currently use to pull pages for this website is something i borrowed from a freind. I Kinda understand this one script, but the rest is unknown … |
|
Hi - Can someone please help me? I have a html table generated by php mysql and have a header to download it to excel. My problem is, I have this cell/table data that displays .10 in html and when I exported it in excel it displays as 0.1. The … |
|
hi all; i have a problem on my code, it does not display the city after I click the selected city. intead i got an error. please check the line of my code. this code works fine. [table]echo '<td><a href="index.php?menu=hotel&select='.$value->id.'">'.str_replace("&","&",$value->name).'</a></td>';[/table] but this part of code here is the the problem. … |
|
Is it possible to drag and drop file and folders like windows application using php |
|
hi all; what is wrong with in this code, please correct it thanks [code] <?php $value=""; $city=""; echo $result=city::getDisplayName($value->id==$city); ?>[/code] |
|
Hi Can anyone please help me sort this problem out I create store procedure in mysql and I want to call this in php. The store procedure is executing ok in mysql but when I call this into php I get fatal error: call to a member function prepare() on … |
|
Hi there, I desperately need help with this. I need to develop a code to upload an image to mysql database. The upload have to be done with a foreign key attached to the upload. eg.(image_id, image(blob), fileType, date_entered and your_id(foreign key). please can any one help me with this, … |
|
Hi there, I have read a few articles about WordPress plug-ins and themes but I can't figure out how to create a completely new page that uses theme. Let's say that my blog is set up to display post detail with the following url: [url]http://myblog.com/2008/06/29/this-is-title[/url] I want the comments listing … |
|
Hey folks, I have made an image-based shoutbox and now users can view older and newer message on the shoutbox depending on the $_GET['page'] - pagination - that works. However, since it's image based and can be linked in forums etc. on the Internet I only want it to save … |