39,388 Topics

Member Avatar for
Member Avatar for AndreRet

![justmywheels1](/attachments/large/1/justmywheels1.png "justmywheels1") # Please see attached image # a User will click on an img which in return will either show - -if unchecked is visible, checked image will be visible (javascript used for this) -and vice versa. I have no idea how to achieve the following - If a …

Member Avatar for AndreRet
0
194
Member Avatar for OsaMasw

Hello buddies, I have question about pagination am using this code $tbl_name="items"; //your table name // How many adjacent pages should be shown on each side? $adjacents = 2; /* First get total number of rows in data table. If you have a WHERE clause in your query, make sure …

Member Avatar for OsaMasw
0
172
Member Avatar for OsaMasw

Hello there I have question about how to update multi row in MySQL database, I used while function but this do the job with more time and no indecator when to finish the work, is there any efficient way to update like 1000 row with one button and make indecator …

Member Avatar for OsaMasw
0
186
Member Avatar for mpc123

Hi I have variables set in the head of the page as they are used for other parts of the page. I have a problem where by I am trying to get the variable to echo out in the result. I have tried several ways but either ther eis an …

Member Avatar for AndreRet
0
113
Member Avatar for ignatious.francis.9

I am new to zend framework and can anyone suggest me how to add twitter login to my website in zend framework? Thanks in advance

Member Avatar for pritaeas
0
104
Member Avatar for joeyliew7

How to show image for the drop down list? have tried a few alternative but dont work. Thanks <tr> <td class="label"><label for="kelas">Kelas:</label></td> <td class="field"> <select id="kelas" name="kelas" > <option value="Pilih kelas" selected="selected"></option> <option value="1 Tekal" >1 Tekal</option> <option value="1 Tekad" >1 Tekad</option> <option value="1 Tekun" >1 Tekun</option> <option value="1 Tabah" …

Member Avatar for joeyliew7
0
2K
Member Avatar for eerlewein

Good Morning Ladies and Gents, I am having the following issue. I have implemented a captcha widget to my downloads page since there were a log of spam files that were coming through. After hours of working on this I have finally gotten the Captcha app to work and forward …

Member Avatar for blocblue
0
639
Member Avatar for christian.i.wibowo

hi... i want to insert data from array using mysql from php..and now i using this code : for ($i = 0; $i < count($data1); $i++) { $insert_sql = sprintf("INSERT INTO detail_paket (id_paket, menu_paket) select paket.id,'\"%s\"' from paket where paket.nama_paket='$nama_paket'",%data1[$i]); mysql_query($insert_sql); } data1 is the array.. what is the correct …

Member Avatar for simplypixie
0
393
Member Avatar for cussel

>Hi guys,..i've two arrray data1 and data2 then i do intersect to get same value between data1 and data2, and >use count to get total same value,..how to ARSORT count result from intersect array multidimensional? <?php $data1 = array( array( '7' => 'chelsea everton', '8' => 'everton villa', '9' => …

Member Avatar for broj1
0
331
Member Avatar for AndreRet

I have the following code which works just fine... $result = mysql_query("SELECT * FROM test_prefixvehiclefeatures ORDER BY Feature ASC"); $count = 0; echo "<table border='1'> <tr> <th>Select a Feature</th> </tr>"; while($row = mysql_fetch_array($result)) { $count = $count + 1; echo "<tr>"; echo "<td>" . $row['Feature'] . "</td>"; echo "<td><img src='images/unchecked.png' …

Member Avatar for AndreRet
1
194
Member Avatar for JoyBh

I have a project developed in PHP in the Windows platform and it is running well. I am now trying to run it on LINUX (Red Hat and CentOS). It isnot going beyond the index page. I have zeroed in on line where where it is getting stuck. It is …

Member Avatar for JoyBh
0
205
Member Avatar for eyeda

Anybody can help me with this?I would like to update the status of the user in the mysql database whether its disabled/enabled by inserting 0 or 1 through the edit page.

Member Avatar for eyeda
0
1K
Member Avatar for NardCake

Hello! On my registration form I ask for a username and I only want a letters,numbers and underscores(_) in the username. How would I go about checking that? Thanks for any help!

Member Avatar for phorce
0
167
Member Avatar for DEAD TERMINATOR

I am trying to write a program in which the user will type a word into a search bar, submit it, and the program will search the contents of an array of files for that word and echo the contents of the files that contain the word into a text …

Member Avatar for coreyavis
0
258
Member Avatar for tokick4

I have a question of dynamic elements in php loaded through mysql. The PHP code is as follow <?php $query = "SELECT * FROM `fee_table` WHERE fee_class_id = 6 "; $result = mysql_query($query) or die(mysql_error()); // Print out the contents of the entry echo "<table width='400'>"; echo "<th width='10' scope='col'>Qty</th>"; …

Member Avatar for tokick4
0
185
Member Avatar for GraficRegret

I am trying to get my code working so that I can store the path of an uploaded picture onto a table so that I can call upon the uploaded file whenever I need it. So what happens on the web page is, a person enters information on a vehicle …

Member Avatar for diafol
0
180
Member Avatar for phphelp123

<?php session_start(); # start up the session $host="localhost"; // Host name $db_username="root"; // Mysql username $db_password=""; // Mysql password $db_name="shop"; // Database name $tbl_name="users"; // Table name // Connect to server and select databse. mysql_connect("$host", "$db_username", "$db_password")or die("cannot connect"); mysql_select_db("$db_name")or die("cannot select DB"); // username and password sent from form …

Member Avatar for Zagga
0
102
Member Avatar for matusekm

I am new to PHP and I'd like the following form to require all fields. I am unsure whether or not this is possible since I am so new to this language. Here is the code. Any help would be useful! <?php $name = $_POST['name']; $email = $_POST['email']; $message = …

Member Avatar for GliderPilot
0
176
Member Avatar for AndreRet

I have 3 select boxes, each one returns a different field from database i.e., in database - 2010 BMW 320i, record 2 2008 Aston Martin DB9 and so on. What I do is to first get user to select a year, then submit form so I can return all vehicles …

Member Avatar for AndreRet
0
184
Member Avatar for GmanD

Hi. I'm looking for a way to perfrom a recaptcha verification pass on an html form then, if successful, submit the detail to salesforce via their Web2Lead feature (don't have API access unfortunately). Our salesforce integrated contact form has been subject to spam, like many others it seems, therefore I …

Member Avatar for eerlewein
0
260
Member Avatar for anandschiru
Member Avatar for anandschiru
0
122
Member Avatar for diafol

Hi All, not the usual, "how can you help me" thread, but a heads-up on a templating engine I've been using for a while called RainTPL. A few users have posted threads of late asking about templates. I thought I'd give this one a plug, especially as Federico (the author) …

Member Avatar for rajppd
0
959
Member Avatar for giovannitao

Hello, I'm developing script php about cell phone specific, now I want to insert an uploader for image of cell phone. I want to upload image to a fecific folder and save url to mysql table. Can you help me to create form and how to do this?

Member Avatar for B1ts
0
3K
Member Avatar for HelloJarvis

So I'm using an Ajax request and processing input of sentence(s) in my program that will be looked up using a thesaurus API. The processing works fine, but I am trying to get it so that it will strip bad input such as semicolons in order for the API to …

Member Avatar for HelloJarvis
0
306
Member Avatar for Tinnin

Hi all! I'm putting a contact form together to receive emails. It is giving the appearance of sending the form data through to my email address (i.e the "thank you" message appears) but nothing is coming through. I'm not sure if I have incorrect html in my form or if …

Member Avatar for Tinnin
0
143
Member Avatar for rikkitikkitavi

Hi, I need help please. i spent the last 6 hours looking EVERYWHERE for help about using PHP session across web pages. The $_SESSION variable is supposed to be global, right? but I can only access it on the page it was declared. like: //PAGE 1 this works <?php session_start(); …

Member Avatar for jkon
0
683
Member Avatar for james.woods.50115161

Hello I keep getting one error every now and again: Warning: date() expects parameter 2 to be long, string given in /home/web/public_html/set.php on line 727 Below you can see that like ( 727) Any soluctions how to deal with this problem? <div class="bb"><?= date("d.m.y h:i:s",$full_list[ssctime]) ?><input type=hidden id="ssctime" value="<?=$full_list[ssctime]?>"></div>

Member Avatar for pritaeas
0
690
Member Avatar for bimaljr

Hello, I have a website in Wordpress. Example: http://www.mysite.com Than I developed a new theme for the website and I have created a new directory on server for developement and testing only. The URL is http://www.mysite.com/newsite/ Now Google scanned my this testing website and added URL from it. So google …

Member Avatar for bimaljr
0
123
Member Avatar for cussel

>hi guys, how to get first and last (key and value) array multidimesional below? $data1 = array( array( '0'=>array( '7'=>'chelsea', '8'=>'everton', '9'=>'villa', '10'=>'liverpool' ), array( '23'=>'milan', '24'=>'inter', '25'=>'juventus', ), ), '1'=>array( array( '53'=>'madrid', '54'=>'barcelona', '55'=>'altetico', '56'=>'everton', ), array( '243'=>'milan', '244'=>'inter', '245'=>'juventus', ), ), '2'=>array( array( '523'=>'madrid', '524'=>'barcelona', '525'=>'altetico', '526'=>'everton', ), …

Member Avatar for diafol
0
384
Member Avatar for johndohmen1963

Hi hope someone can help me with the following $query3 ="SELECT * FROM narr_turnier_bambini_garde UNION SELECT * FROM narr_turnier_bambini_garde_ster WHERE id_turnier_jaar = ".$idturnierjaar." order by rang, meestepunten DESC"; The WHERE clause dosn't work what i want because it give me all the rows from both tables and column id_turnier_jaar is …

Member Avatar for johndohmen1963
0
168

The End.