39,323 Topics
| |
This is a code snippet for the page i am getting the variable $title from [CODE]$title = $this->row->title; // at this point in the script if i echo $title the correct value is stored. ?> <form name="passvalue" action="myscript.php" method="POST"> <input type="hidden" name="title" value="<?php echo $title;?>"> </form>[/CODE] This is a code … | |
Hi, i need a jewellery management system web application in php. can anyone help me please reply in this thread.. Eagerly waiting for your replies.. | |
I m using substr in while loop. Using substr I am getting strike in Text; If I omit substr then I get perfect result. I have to substr function; Is there any another alternate function. [CODE] if($countrecords>=0) { while($row1=mysql_fetch_array($result1)) { ?> <div style="border-top:1px dashed #cccccc; padding-top:10px;"> <div style="font:bold 11px verdana; … | |
Hello y'all, I am a part time php programmer and a photographer. Due to the fact that i lost some many of my photography works to virus that got onto my pc, i have decided to develop a website whereby i can save all my works. I need some one … | |
i got 3 users to be registered in the registration form through radio button admin,manager and employee... after registration of a admin the other 2 raadio buttons shud only enable in the registration form... admin shud be disable............ how to implement this in php........... | |
i have search page to search by title, author, isbn from the dropdown list. But when they display the result for my search, it unable to retrieve my other data from my table (product4) like the price. it shows this error below Notice: Undefined variable: price in D:\xampp\htdocs\book\search.php on line … | |
Hello yall, I'm starting to work with Paypal (just signed up for x.com and sandbox). I was looking at the DoDirectPayment API for credit card transactions. One of the required fields kinda took me by surprise. Here it is. [CODE] IPADDRESS (Required) IP address of the buyer's browser. Note: PayPal … | |
[B]Hello guys i have a problem with PHP code and i dont know what is wrong i want to get the content of a website then search for specific tags then take the value of tags , lets say i want to search for example for these tags [/B] <div … | |
i have the following form which submits to itself. the form is used for editing a row in a database table. [CODE] <?php session_start(); // start a session require_once '../includes/adminheader.php'; require_once '../includes/mysql_connect.php'; require_once '../includes/functions.php'; require_once '../includes/brand_functions.php'; $brandid = (int)$_GET['brandid']; $brandname = getBrandName( $brandid ); $page_title = 'Auto-Zim Administration - Edit … | |
Hello, I am trying to create a photography gallery and at the minute I have it so it uses session variables to pull the cat titles and where a cat title is present it loops through the folder which is passed from a mysql lookup. [code=php]$dir = "photography/".$gallery; $files1 = … | |
I am making an application which queries the database and posts on my facebook account wall. just like twitterfeed/social.But I am not using a blog.I want to have two parts in the application - 1. cron mode : finds the latest rows which come into the database and pushes them … | |
Our online reservation system can be used with magnetic card readers and barcode scanners provided such peripherals are connected via USB and allow keyboard emulation. The cardreader (barcodescanner) provides the cardswipe (scan) as one keystroke. Our system will the look up the corresponding number in the database and return the … | |
[CODE] $dbhost = 'localhost'; $dbuser = 'root'; $dbpass = 'password1'; $dbname = 'DB01'; $conn = mysql_connect($dbhost, $dbuser, $dbpass) or die ('Error connecting to mysql for First Database'); mysql_select_db($dbname, $conn) ; [/CODE] This first connection is where the php file is stored. [CODE] $dbhost02 = '192.168.0.16'; $dbuser02 = 'root'; $dbpass02 = … | |
I am using Joomla , I developed one website in English in (En) folder then i copied all the website to a new directory with the same links and files with (Ar) Then i change the language of the website in Ar directory but the file is still the same … | |
hi frnds, i have issue with my simple script i have audios.php file white fetch all mp3 audio files on the audios.php file i want if someone click on the executed mp3s which makes this type of hyper link [url]http://xyz.com/uploads/123.mp3[/url] its prompt for download and save file option i dont … | |
I wrote a piece of code to search the web using the bing api in csharp. I would like to know how could I do this using PHP and to do it on google.Anyone has any idea how can I do this? [CODE] public void Search1(List<string> search, uint count, List<string> … | |
| Has anybody here had any experience of using OpenID (or FB, Twitter, Yahoo etc) to login into your site. I've been wondering whether I should adopt this approach for a new project. However, as a password will not be stored in my DB, how will the user remember which service … |
I'm trying to write a blog and this comes up : Parse error: syntax error, unexpected '<' in C:\wamp\www\Blog\index.php on line 65 the code: [CODE] $query = "SELECT id, header, body, views FROM information"; $result = mysql_query($query); while($row = mysql_fetch_row($result)) { print "<div class=section odd>"; print "<a href=images/riverside.jpg><img src=images/riverside.jpg /></a>"; … | |
Hi guys, same with the title i just want to know is possible apache & php configuration to be clone? If it possible, we can configure some apache configuration for some machine that we want. sorry for my bad english thanks for attention :) | |
Hello All, I need a small help. I have an application built in php which stores images and videos as in gallery. A user can click on the video , it will play as in streaming way. This part is ok. now, we have a limitation that we cannot play … | |
I'm trying to figure out how to use PHP in Javascript to fill in the options for my drop down menus for my dynamic inputs. I've tried several things already, but I have had no luck. This is how my code stands at the moment. Any ideas are greatly appreciated. … | |
hay all, I currently develop a website using php but I very newbie in php programming I have login issues here, I create a login sytem I success to make that, in my web after login page it will go to admin page but when I click browser's back button … | |
I've just installed the newest version of wamp server and I cannot access phpmyadmin. I keep on receiving this message. You don't have permission to access /phpmyadmin/ on this server. I just don't know what to do with it | |
Trying to figure out how to use the gregorianToJd function in php to determine the julian date when a user inputs a specific date in time. i have my code to where it will do this without using the function, but now i need to show it using the function. | |
hello there, im very new to this php malarky and have been asked if i would take a look at repairing a site that was recently messed with by the old coder. i didnt make nor code this site and my skills are limited ive managed to plod my way … | |
Can someone tell me what is wrong with this code: [CODE]<?PHP include 'topo.php'; include 'db_connect.php'; $sql = "SELECT * FROM cursos"; $query = mysql_query ($sql, $connect); ?> <table> <?PHP while ($row = mysql_fetch_array ($query)) { ?> <tr> <td> <div id="navigation-block"> <ul id="sliding-navigation"> <li class="sliding-element"><a href="prog_curso.php?cod= <?PHP $row ['cod_curso']; ?> "> … | |
i am new to php coding and i am getting an error please help me to solve this Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' [ICODE] <option<?php if ( get_settings( $value['id'] ) == $option) { echo ‘ selected="selected" } elseif ($option == $value['std']) { echo ‘ selected="selected" … | |
Hi every one! In localhost, my site can send email easily (using smtp and phpmailer) but when i upload my codes to oni.cc, that feature does not work at all! Should i config some things or did i do something wrong? | |
Hi, I am trying to delete multiple rows with select buttons. But my code does not work. Could you help me ? [CODE] $user_query= "SELECT * FROM user"; $user_result = mysql_query($user_query); $count=mysql_num_rows($user_result); echo "<form name='form1' method='post' action=''>"; echo "<table>"; echo "<tr>"; echo "<th scope='col'>#</th>"; echo "<th scope='col'>username</th>"; echo "<th scope='col'>Email</th>"; … | |
How to creat the photo gallery like these websites? [url]http://www.citibank.com.hk/[/url] [url]http://www.gigonzone.com/productinfo.do?method=viewTopProduct&subproductid=2757[/url] And one more question. How to creat the countdown clock? [url]http://www.gigonzone.com/productinfo.do?method=viewTopProduct&subproductid=2757[/url] Thank you very much! |
The End.