Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
4
Posts with Upvotes
4
Upvoting Members
3
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
4 Endorsements
Ranked #397
Ranked #977
~18.4K People Reached
About Me

A WordPress and REACT developer who plays with PHP, Javascript, jQuery, Bootstrap

Interests
REACT, WordPress
Favorite Tags

52 Posted Topics

Member Avatar for AndreRet

Well, I can suggest [URL="http://www.heidisql.com/"]HeidiSQL[/URL] a fast and robust MySQL front-end software.

Member Avatar for twexpresscars
1
2K
Member Avatar for nitos

Hello nitos, What is really the problem and what you are trying to accomplish? As far as getting the current url is concern this code is correct, this is also correct: $current_url = "http://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]";

Member Avatar for nitos
0
295
Member Avatar for UK-1991

Hello UK-1991, I believe to properly structure your table you may change `vendor_v_name` to `v_id` as reference to vendor table, so: `prod_id` int(11) NOT NULL AUTO_INCREMENT, `product_name` varchar(255) NOT NULL, `product_price` int(20) NOT NULL, `prod_details` text NOT NULL, `v_id` int NOT NULL, PRIMARY KEY (`prod_id`) and your query to get …

Member Avatar for UK-1991
0
221
Member Avatar for ribrahim

Hello ribrahim, Kindly enable debugging mode by printing the error on your browser. The copy and paste the error here so that we have a hint to help you.

Member Avatar for ribrahim
0
325
Member Avatar for Vishnu_4

Hello Vishnu4, Please try: var oneDay = 24*60*60*1000; // hours*minutes*seconds*milliseconds var start_date = new Date(2015,01,20,1,0); //year, month, day, hours, minutes, seconds, milliseconds var end_date = new Date(2015,03,25,2,50); //year, month, day, hours, minutes, seconds, milliseconds var diffDays = Math.round(Math.abs((start_date.getTime() - end_date.getTime())/(oneDay)));

Member Avatar for reygcalantaol
0
145
Member Avatar for admiralchip

Hello admiralchip, Please try this $result = $wpdb->get_results("SELECT number FROM " . $table_name . " WHERE list_id=" . $list . " AND expiry_date > '".$scheduleddate."'"); The above query puts your date as string.

Member Avatar for reygcalantaol
0
154
Member Avatar for pelusa

Hello pelusa, I am not sure what you are trying to accomplish but here is a simple way to redirect url to another using .htaccess Redirect 301 link1 link2 example: Redirect 301 http://www.domain.com/publication/?id=test http://www.domain.com/publication/?id=test&tkn=25MMI7

Member Avatar for reygcalantaol
0
223
Member Avatar for reygcalantaol

Hope somebody can help me regarding regular expression. I have a shortcode format "<!--myproductsku-->" in the string, I want to use regular expression to extract myproductsku. And if there is a match replace "<!--myproductsku-->" with "This is my myproductsku.". Rey

Member Avatar for Daemon_CC
0
268
Member Avatar for dealerit

Please examine this code below. This is a working example I made on one of my clients. This may not what you need but you may use this code as a reference. <?php $arrDealer = getdealer($_POST['cmDealer'], $db); $filename = 'Lead-'.time().'.xml'; //Send email with attched adf xml $xmlDoc = new DOMDocument("1.0", …

Member Avatar for cbenedict
0
1K
Member Avatar for missy_mi

<a href="javascript;" onClick="if(confirm('Are you sure?')) alert('You choose yes!'); else alert('You choose no!')">Click me</a> Try: http://jsfiddle.net/Je8pP/

Member Avatar for missy_mi
0
272
Member Avatar for mnemtsas

I believed forum signature gives points to backlinks, specially, when you post to a forum that has the topic related to your targeted keyword.

Member Avatar for smithsinha
0
561
Member Avatar for reygcalantaol

Hello everyone. I do not know where to post this but I think is it php related topic. Currently I am working on WordPress plugin. The problem I have is that I have a url "http://www.widgetel.com/sales/affiliatecode where affiliatecode is unique for every affiliate member. What I want to acomplish is …

0
102
Member Avatar for davy_yg
Member Avatar for azeem786
0
2K
Member Avatar for reygcalantaol

Hello guyz, I'm glad I finally back here. I need help using the preg_match function. I am scraping url and I need to get the specific value from the html tags. Here is the string [I]<p><b>1,664</b> Referring IP addresses</p>[/I], I need to get [I][B]1,664[/B][/I] How can I achieve it using …

Member Avatar for reygcalantaol
0
125
Member Avatar for ste713

Please review your code, you my have a typo on the second code, or george might have the same cash value with fred.

Member Avatar for jcarbillon
0
93
Member Avatar for reygcalantaol

I am wondering if anyone notice this. When I search my site keywords on google using firefox mozilla it shows my site at nearly high place but when I use google chrome browser it show different result which put my site at low place. Anybody can explain this?

Member Avatar for peexter
0
191
Member Avatar for reygcalantaol
Member Avatar for reygcalantaol
0
171
Member Avatar for kurtopia
Member Avatar for tadisaus2

Forum posting with dofollow link signature. :) But I realized it just last year when I buy my own domain.

Member Avatar for Grade1
0
176
Member Avatar for Siberian

Please show some code and specify what is the problem, so that we can decide if we can help you.

Member Avatar for MooGeek
0
192
Member Avatar for utthu

Your login script is incorrect, try this code: [CODE]<?php //initilaize the mysql user name and password //Database Config $dbHost='localhost'; //Database server $dbName='project'; // Name of the database $dbUser='root'; // Database username $dbPass=''; // Database password $source = mysql_connect($dbHost, $dbUser, $dbPass); if (!$source) { die('Not connected : ' . mysql_error()); } …

Member Avatar for utthu
0
155
Member Avatar for Joe34

Yes, vibhadevit is right. addslashes only accepts string as an argument, so to make it safe, have a condition to check where the string you supplied to addslashes funtion is not null or something that is not a string.

Member Avatar for karthik_ppts
0
224
Member Avatar for Espenij
Member Avatar for reygcalantaol
0
93
Member Avatar for chaychie

In your code, you are making as many forms are how many records are there in the database, but when you submitted the form, you are doing like "document.forms[0].submit();" which submitted the first form element in the document. You can try this code: <html> <body style="background-color:#E0FFFF;"> <script language="javascript" > <!-- …

Member Avatar for chaychie
0
260
Member Avatar for zebnoon

Before going to your question, let me ask first. What DBMS you are using and what reporting tool you are using?

Member Avatar for zebnoon
0
584
Member Avatar for reygcalantaol

I am developing google search application using google search API. I am almost done with it but I have one problem which I am hardly find the solution over the net. My problem is to get the cache date (a date where google last crawled the site). I will be …

0
74
Member Avatar for reygcalantaol

Good day everyone, I new this is not to hard but I forgot on how to do it. I have this form: [CODE]<form><table><tr> <td>Add Picture:</td> <td colspan="3"><input name="txtPics" type="file" /></td> <td> <input type="button" name="addFileField" onClick="Add_New_field('fieldName')" /> </td> </tr> <tr> </table></form>[/CODE] My problem is that I want to dynamically add new …

Member Avatar for twiss
0
73
Member Avatar for ckdoublenecks
Member Avatar for Jaseem Ahmed

@jaseem, Are table1 and Table2 has relationship? If there is then you can join them. To make the query easier, you can use data environment to make queries.

Member Avatar for reygcalantaol
0
98
Member Avatar for vinothmca

Please explain what you are doing and what you want to accomplish. Your post doesn't make explain that well.

Member Avatar for Jx_Man
0
67
Member Avatar for TechySafi

This code show how to retrieve rss feed into php array. First: Download-> magpierss from [url]http://magpierss.sourceforge.net/[/url] Second: Copy and paste the following code into php file. [CODE] require_once('magpierss/rss_fetch.inc'); $url = "http://reygcalantaol.com/feed/"; $rss = fetch_rss($url); // $rss = fetch_rss($url); $cnt = count($rss->items); //print_r($rss->items); //To access your array foreach ($rss->items as $key …

Member Avatar for TechySafi
0
310
Member Avatar for Cece Skies
Re: PHP

PHP is easy to learn as long as you are committed to learn into it.

Member Avatar for chrishea
0
102
Member Avatar for ckdoublenecks

Do not declare your function inside the loop. That will make your function declared as many as the loop iterate and php don't allow it.

Member Avatar for reygcalantaol
0
176
Member Avatar for Giggaman

You can make a fucntion and assign your result set into an array for further used. [CODE] function getResult() $query = "SELECT name, desc, city FROM table"; $result = mysql_query($query) or die('Could not find info'); while($row = mysql_fetch_array($result, MYSQL_ASSOC)){ $result['name'] = $row['name']; $result['desc'] = $row['desc']; $result['city'] = $row['city']; } return …

Member Avatar for reygcalantaol
0
155
Member Avatar for prakashghai
Member Avatar for omeralper

You can view the source code and look for the CSS used and see also the html code. You will definitely come up with what you want. To view the source you can "[I]right click[/I]" this page and choose view source code.

Member Avatar for reygcalantaol
0
71
Member Avatar for meetmani017

Why looking for the ready made project. Why not plan for a project that is in need now a day and hired a team to materialize it. I am also a web developer with expertise in PHP and ASP. I can be one in a team. :)

Member Avatar for epathtrade
0
101
Member Avatar for youvi

"SELECT Field_Name FROM Table_Name WHERE substr(Field_Name,1,4) LIKE 'A%'" where; Field_Name is the name of fields to return Table_Name is the name of your table substr(Field_Name,1,4) only evaluates the first four characters

Member Avatar for Stefano Mtangoo
0
99
Member Avatar for saddas

Insert into table_name (boolean_field) values (true); where table_name is the name of your table boolean_field is the name of the field with boolean type true/false are the possible values to be inserted in boolean type field.

Member Avatar for reygcalantaol
0
106
Member Avatar for satti

Be sure that in the project properties the main() procedure was set in the startup object so that the connection object opens first before the other forms.

Member Avatar for reygcalantaol
0
170
Member Avatar for ZER09

Are you using datareport and data environment in as your reporting tool? If so then, you can filter your query result by just selecting the last record. How? for example you have an autoincrement field (id) in your table then the last record would be the record with largest (id). …

Member Avatar for ZER09
0
117
Member Avatar for JimBobUKII
Member Avatar for vinothmca

If your are using dataenvironment, you can re-open the source recordset with the new sql query. Note: close the recordset after the datareport.show command.

Member Avatar for reygcalantaol
-1
169
Member Avatar for erioch
Member Avatar for reygcalantaol
0
433
Member Avatar for critznikkian

One other solution for that is to create a frame with invisible property, put a textbox on it with assign password characater, and when a user click a button just change the frame property to visible. Here is the example: [URL="http://reygcalantaol.com/projects/fake inputbox.zip"]http://reygcalantaol.com/projects/fake inputbox.zip[/URL]

Member Avatar for AndreRet
0
308
Member Avatar for Tabone3
Member Avatar for lewilaloupe

Group the result by adding GROUP BY clause after the WHERE clause. [QUOTE]SELECT DISTINCT id.[Title],id.[Description],id.[LastModified], c1.[Cat1], c2.[Cat2] FROM IndexData id, Category c1, Subcat c2 WHERE c1.[FileID]=id.[FileID] AND c2.[FileID]=id.[FileID] AND c1.[Cat1] = '" & strcat1& "' AND id.[Title] LIKE '%" & strtxt &"%' GROUP BY id.Title,id.description,id.lastmodified,c1.cat1.c2.cat3"[/QUOTE]

Member Avatar for reygcalantaol
0
186
Member Avatar for anirban1087

(1) Input each product with unique product_code for each size. Like for example: T-001 for Large Shirt, T-002 for Medium Shirt, in that way you can easily keep track your inventory. (2) It is good idea if you will make three tables (a) items/products (b) bills (c) Item_bill , where …

Member Avatar for anirban1087
0
132
Member Avatar for alleybye
Member Avatar for AndreRet
0
157
Member Avatar for neosonic

The End.