39,316 Topics

Member Avatar for
Member Avatar for OsaMasw

[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 …

Member Avatar for OsaMasw
0
619
Member Avatar for dinhunzvi

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 …

Member Avatar for pzuurveen
0
294
Member Avatar for dkjuk

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 = …

Member Avatar for cereal
0
144
Member Avatar for anubhavk

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 …

0
90
Member Avatar for dlagewaa

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 …

Member Avatar for niranga
0
126
Member Avatar for sesniel

[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 = …

Member Avatar for cereal
0
78
Member Avatar for matiulhaq

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 …

0
128
Member Avatar for tahirkhanafridi

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 …

Member Avatar for pzuurveen
0
167
Member Avatar for eduard77

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> …

Member Avatar for cereal
0
124
Member Avatar for diafol

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 …

Member Avatar for cereal
0
264
Member Avatar for Warl30ck

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>"; …

Member Avatar for pritaeas
0
139
Member Avatar for ahromi

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 :)

Member Avatar for ahromi
0
235
Member Avatar for jeevanism

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 …

Member Avatar for jeevanism
0
952
Member Avatar for socialmd

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. …

Member Avatar for Airshow
0
299
Member Avatar for fredy91

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 …

Member Avatar for fredy91
0
157
Member Avatar for eduard77

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

Member Avatar for eduard77
0
77
Member Avatar for jetlife76

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.

Member Avatar for diafol
0
88
Member Avatar for angelclawdust

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 …

Member Avatar for angelclawdust
0
122
Member Avatar for PF2G

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']; ?> "> …

Member Avatar for asprin
0
110
Member Avatar for justzamir

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" …

Member Avatar for justzamir
0
596
Member Avatar for .:n'tQ-boy:.

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?

Member Avatar for pzuurveen
0
130
Member Avatar for peter20

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>"; …

Member Avatar for klemme
0
139
Member Avatar for cliffcc

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!

Member Avatar for pritaeas
0
107
Member Avatar for klemme

Hi all, I have created a small test app - And I want to login users when they first arrive to the app - and log them out and redirect them after they have used it. Quite simple right, but using facebook php sdk - I am not able to …

0
142
Member Avatar for dualzNZ

Hi all i am having a small problem with my dynamic output code to produce a signature in php the signature comes out fine with text but when i add another .png image to add ontop of the main signature i get a black background when i would like it …

Member Avatar for cereal
0
129
Member Avatar for Ismatus3

Hello everyone , i just need to insert into my database the state of 4 checkbox , i'm trying now only for two . For this, i have two file formulaire.html and form.php , I've created for each checkbox a column in my database , so , what i want …

Member Avatar for Ismatus3
0
130
Member Avatar for borgyborg

Hi, I would like to have a php script or javascript to calculate the array textboxes where values fetched from the database. My array textboxes code below: [CODE] $sql="SELECT * FROM records WHERE is_active = 'Yes'"; $result=mysql_query($sql,$connection) or die(mysql_error()); while ($row=mysql_fetch_array($result)) { $default_salary = $row["default_salary"]; echo "<input onkeyup=\"AddInputs()\" type=\"text\" class=\"validate[required,custom[onlyNumberSp],maxSize[5],minSize[3]] …

Member Avatar for borgyborg
0
405
Member Avatar for bops

Hello, I am looking for a little help with regular expressions in PHP. I have used them a bit before but not really to this extent. What I want to do is, parse a string and look for pattern matches in a certain format, in this case being %GETVALUE#% (Where …

Member Avatar for bops
0
137
Member Avatar for Virangya

hi, i encoded a long string before i sent it to a url trough javascript. now when i display it using php $_GET[] all the text displays correctly except a "'" (single quotation) it displays as, %u2019 . i'm not sure if there are other encoding that $_get[] won't convert.. …

Member Avatar for Virangya
0
139
Member Avatar for arunkumarm03

hi, please tell me anyone how to install LAMP in linux i don't know the admin password, while i am trying to install it, i am getting a error like mkdir /usr/local/apache2 mkdir: cannot create directory `/usr/local/apache2': Permission denied and also tell me how install using password.

Member Avatar for dualzNZ
0
116

The End.