Posts
 
Reputation
Joined
Last Seen
Ranked #495
Strength to Increase Rep
+5
Strength to Decrease Rep
-1
100% Quality Score
Upvotes Received
10
Posts with Upvotes
10
Upvoting Members
8
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
7 Commented Posts
1 Endorsement
Ranked #858
Ranked #1K
~43.9K People Reached
About Me

I'm a web developer and and an SEO specialist.

Interests
Web development, mobile app development and SEO
Favorite Tags

127 Posted Topics

Member Avatar for chrishardin

On-site optimization plays a big role in bringing traffic to your site. Check all the likely words and phrases people searching for what you sell might be using in search engines, and then include them in the META Keywords and META Descriptions of your related pages. Exchange links with other …

Member Avatar for m2host
0
150
Member Avatar for mexabet

I have a two-step login form. In the first step, I have "username" as "id" and "name" of the text input. I also have "password" as id and "name" of the second input field, where the user is prompted to enter username and password. In the second step, I have …

Member Avatar for Dani
0
88
Member Avatar for mexabet

I have two MySQL tables, which I want to SELECT using a single PDO query and positional placeholders. I've been going through similar questions here to find a solution, but none seems to match the issues I'm having. The following code is the section of my script: <?php // query …

Member Avatar for mexabet
0
1K
Member Avatar for mexabet

I'm trying to redirect user to "**userinfo.php**" after successful registration, but the browser terminates the redirection because it goes into endless loops. Moreover, I need your insight on if the script is secure or not. I need your help, please. Thanks. The following is the "**register.php**" script: <?php // include …

Member Avatar for Dani
0
361
Member Avatar for mexabet

I'm struggling to build a PHP registration script using PDO prepared statements with positional placeholders. But the MySQL queries don't execute. `var_dump();` doesn't display any error. Please, I need your help to fix this. Your time and input are much appreciated in advance. Thanks. **register.php:** <?php // include configuration file …

Member Avatar for rproffitt
0
635
Member Avatar for mexabet

I'm struggling to add a course to a MySQL database table using PDO prepared query with positional placeholders. When the form is submitted, the database table is not updated, as expected and no error is displayed. Please, where exactly do I place `var_dump()` to display the error? And how can …

Member Avatar for mexabet
0
248
Member Avatar for mexabet

I'm struggling to create a two-paged form using $_SESSION. What I want to achieve is the first page (page1.php) requires the user to enter his/her email address. And the second page (page2.php) requires the user to enter his/her password. When the user submits page1.php, it takes you to page2.php, where …

Member Avatar for mexabet
0
139
Member Avatar for mexabet

I have a script that populates a form from MySQL database table row for editing. I'm performing MySQL SELECT and UPDATE via PDO. After editing a particular table row and clicking on the submit button, the table row doesn't update. The following is "modify-course.php": <?php // configuration require("../includes/config.php"); // query …

Member Avatar for rproffitt
0
1K
Member Avatar for mexabet

I'm doing both SELECT and UPDATE queries using named placeholders. But course data from the database doesn't populate form, as expected. The database table row records don't populate, each time I try to edit a course in the browser. I connect to the database usining PDO. And I do SELECT …

0
322
Member Avatar for mexabet

I'm trying to upgrade my script from PHP 5.5 to PHP 7.2. And that came with the script not able to modify a selected table row as before. The records don't even populate whenever I try to edit a course in the browser. Please, note that I'm connecting to the …

Member Avatar for alan.davies
0
498
Member Avatar for davy_yg

You can simply use HTML bookmarking to redirect visitors to a certain location on a web page. You first need to create an id bookmark like this: <a id="faqs">Read our FAQs</a> And then, create a link pointing to the bookmark like this: <a href="#faqs">FAQs</a>

Member Avatar for Daniel_87
0
520
Member Avatar for mexabet

I'm trying to create an online learning courseware and connecting to MySQL database via PDO. What I'm trying to achieve is: if a user is logged in after registering for a particular course, the courseware should display the registered course, as well as its course weeks. I want each course …

Member Avatar for broj1
0
358
Member Avatar for mexabet

I got a syntax error flag in my "users" database table, but can't figure the issue out. Please, I need your help. The following is the error message: Error SQL query: --------------------------------------------------------- -- -- -- Table structure for table `users` -- CREATE TABLE IF NOT EXISTS `users` ( `user_id` INT( …

Member Avatar for mexabet
0
377
Member Avatar for Saif_10

It would have been better for you to post your code, so we can see where the error is coming from. Show some effort. That said, let's assume that I have a MySQL table named "users" and I want to be able to delete any user I choose. I achieve …

Member Avatar for mexabet
0
392
Member Avatar for mexabet

I'm creating an online learning courseware using PHP 5.5 and connecting via PDO. But I'm confused as to how to get the courseware to work, as I want. This is what I've done: I created a table for students and named it "users" and another for courses and named it …

Member Avatar for mexabet
0
390
Member Avatar for Unknown_2

I'm assuming that you simply want to display the details of all the users of your own script. Lets assume you have a table named "users" that have "id", "userimage", "username", "firstname", "lastname" and "usersex" columns. You can use the "*foreach*" loop to display the details of each user like …

Member Avatar for mexabet
0
838
Member Avatar for mexabet

I have a form on "add-category.php" that enables the admin to create a category and doing so includes uploading an image to a folder and inserts its file name and relevant text into the database. The script worked well with mysql_, but now it stopped working after I upgraded my …

Member Avatar for mexabet
0
669
Member Avatar for mexabet

My login script is displaying the following error message: Warning: Illegal string offset 'hash' on line 30. Here is the code that generates the error: <?php // configuration require("../../includes/config.php"); // if form was submitted if ($_SERVER["REQUEST_METHOD"] == "POST") { // validate submission if (empty($_POST["username"])) { adminapologize("You must provide your username."); …

Member Avatar for mexabet
0
411
Member Avatar for Designfiver

I can see that on hover the background color changes to grey and font color changes to black. What exactly do you want to achieve that is now working?

Member Avatar for mexabet
0
152
Member Avatar for mexabet

I'm trying to automatically populate a navigation menu based on available categories in the database. As follows is my code: <?php $sidenav = query("SELECT cat_id, cat_name FROM prod_cat ORDER By cat_name LIMIT 20"); if ($sidenav != false) { $sidenav->execute(); while($result = $sidenav->fetch(PDO::FETCH_BOTH)) { echo "<div class='left_button'><a href='/customcms/products/index.php?page=list-product&category={$result['cat_id']}'>{$result['cat_name']}</a></div>"; } } ?> …

Member Avatar for mexabet
0
329
Member Avatar for mexabet

I have a custom function called "query" with PDO statement in the functions.php file: /** * Executes SQL statement, possibly with parameters, returning * an array of all rows in result set or false on (non-fatal) error. */ function query(/* $sql [, ... ] */) { // SQL statement $sql …

0
169
Member Avatar for mexabet

Please, I need help to echo atable row and div tag within PHP code. The following is what I have unsuccessfully tried: echo '<tr>' '<td style="text-align:left">' . '<div class="describe">' . $row['im_description'] . '</div>' . '</td>' '</tr>'; I don't want it to appear in this format: <tr> <td style="text-align:left"><div class="describe"><?php echo …

Member Avatar for mexabet
0
409
Member Avatar for mexabet

I'm experiencing an issue deleting data via PHP/MySQL query. The following is the error message: Delete product category failed. You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 3 This is …

Member Avatar for cereal
0
783
Member Avatar for mexabet

I wrote a modify password file, but unfortunately, the MySQL query is throwing error: Warning: mysql_query() expects at most 2 parameters, 3 given in admin\modify-password.php on line 40 This is the PHP code: if (mysql_query("UPDATE admin SET hash = ? WHERE admin_id = ?", crypt($_POST["newpassword"]), $_SESSION["admin_id"]) === false) I modified …

Member Avatar for mexabet
0
351
Member Avatar for mexabet

I'm getting the following error message, while inserting data into a MySQL database table: Sorry, an error occurred while inserting data into the database. You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '?, …

Member Avatar for mexabet
0
379
Member Avatar for mexabet

I have a user registration script that includes image upload. Everything works, but each time a user registers, the image he/she uploads replaces the image (userimage) of every other user. What I need is to only update the userimage of that user based on ID. Any help would be much …

0
120
Member Avatar for mexabet

I have some data in a MySQL table, and I want to use them to populate form fields, so the site's admin can edit them. This is what I have so far in modify.php, but it's not working: <?php // configuration require("../../includes/config.php"); // query users table to retrieve admin homepage's …

Member Avatar for mexabet
0
6K
Member Avatar for gogs85

For Facebook share button: [https://developers.facebook.com/docs/plugins/share-button]() For custom Twitter tweet button: [http://www.seotreats.com/04/02/2012/how-to-use-custom-image-for-tweet-button.html]()

Member Avatar for mexabet
0
86
Member Avatar for mexabet

I want to insert a URL inside an echoed table row. Here is the URL and table column: <a href="modify-user.php?id=<?php echo $row["id"]; ?>">Modify</a> Here is the table column: printf("<td class=\"listusers\">" "</td>"); Thanks for your help in advance.

Member Avatar for mexabet
0
183
Member Avatar for mexabet

I'm coding a registration form that includes a file upload field. Basically, there are two queries that need to be simultaneously inserted into a database. But unfortunately, I don't know how to do it. So, I need your help. if ($my_upload->upload()) { // new name is an additional filename information, …

Member Avatar for mexabet
0
245
Member Avatar for adebayo23

You have to use the foreach statement to populate the form via autocomplete. Eg: <?php foreach ($stocks as $symbol) { printf("<option value='$symbol'>" . $symbol . "</option>"); } ?>

Member Avatar for wikit
0
312
Member Avatar for mexabet

I'm trying to code a registration form. But I'm stuck at adding a borrowed code of image upload, resize, save and store its path in MySQL database. The error message is "Undefined index: fileimage" on the line where I have this code: if($_FILES['fileimage']['name']). Here is the register.php: <?php // include …

Member Avatar for mexabet
0
721
Member Avatar for mexabet

I'm having an issue with coding a script that enables a logged in user to change his/her password. But when the form is submitted, a strange, blank page is displayed. There's no error message. Can you guys please, help me to resolve this issue? I'm not yet proficient in PHP …

Member Avatar for cereal
0
345
Member Avatar for mexabet

I'm trying to prevent the user from purchasing any share, if the cash in his/her account is less than the desired stock cost (price * shares). However, I'm getting the following error: Warning: mysql_query() expects parameter 1 to be string, array given in /home/jharvard/vhosts/pset7/public/buy.php on line 39 Here is the …

Member Avatar for Adrian_5
0
321
Member Avatar for mexabet

My script has a two bugs, which I've been unable to fix. So, I need your help. Here is the file: <?php // configuration require("../includes/config.php"); // check if form was submitted if ($_SERVER["REQUEST_METHOD"] == "POST") { // type of transaction - for tracking history $transaction = 'SELL'; // validate submission …

Member Avatar for mexabet
0
310
Member Avatar for mexabet

I'm creating a basic C program that I want to accept both positive and negative inputs. However, as it is it doesn't accept negative inputs. Any help on how to fix it will be much appreciated. here is the code: int main(void){ // Here we declare integer and floating point …

Member Avatar for mexabet
0
308
Member Avatar for topgun79

I cannot say submitedge is a scam site. They specifically stated the money they charge is for submission and not for listing. The money is for helping clients to choose the right category, title and description. And of course, they profess to submit in accordance to DMOZ guidelines. However, their …

Member Avatar for allenhill99
1
272
Member Avatar for mexabet

I successfully created a C++ window but got an error message when I tried to add menus. I will surely appreciate any help to fix the issue. As follows is the code: #include <windows.h> /* Declare Windows procedure */ LRESULT CALLBACK WindowProcedure (HWND, UINT, WPARAM, LPARAM); /* Make the class …

Member Avatar for mexabet
0
185
Member Avatar for phuongvy

Try to get many external high PR web pages to link to your site. That would really help a lot.

Member Avatar for seobellawright
0
724
Member Avatar for mexabet

My company is planning to develop a web search engine with a crawler, and we're considering using three languages, namely C++, Java and Python. Now we're a bit not sure which language is best suitable for features like web crawling, extracting keywords & indexing, ranking of indexed pages and searching. …

Member Avatar for JeffGrigg
0
297
Member Avatar for mustafaneguib

Mustafa, nice job! You're getting there, but you need to do more finishing touches. I logged in and went to write a new article. I wrote the first one without entering anything on the "Subject" field, and the form was submitted successfully. Again the form was submitted when I filled …

Member Avatar for megadata
0
142
Member Avatar for charlie123

I prefer PHP personally. It is open source and help can be found almost everywhere on the web.

Member Avatar for kwesiaryee
0
248
Member Avatar for mexabet

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 …

Member Avatar for sarajohnmich
0
145
Member Avatar for php4ever

I really want to try this code out and see if it works for me. But can you enlighten me which spot exactly to insert this code? Please, use the sample below to give insight: [CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" …

Member Avatar for dennishall
0
152
Member Avatar for allena
Member Avatar for dynastyqueens

Register a few domain names and develop them into websites. Some web hosts [URL="http://www.bluehost.com/track/mexabet/CODE22"]Bluehost.com[/URL] allow clients to host multiple domains on one account. Build some links on those sites pointing to your main web site.

Member Avatar for morkat
0
195
Member Avatar for mexabet

I'm having an issue getting two Javascripts to work on one page. It seems that one disables the other and only one is working when previewed together. I know of a code that can be inserted so that both codes can function on one page, but I just can't lay …

Member Avatar for fxm
0
138
Member Avatar for gym_shorts

I have tried some PHP redirection methods and they all were giving me this error message: [COLOR="Green"]Warning: Cannot modify header information - headers already sent by.... on line...[/COLOR] Then I tried this and it works fine. You can even customize it to the number of seconds it takes before redirection …

Member Avatar for riaver
0
3K
Member Avatar for allhimachal.com

Try to reach out to other site owners in your niche and request link exchange with them. Their visitors might find what you offer interesting and vice versa. This is how link exchange will benefit you. You can also write good articles that are related to your business and submit …

Member Avatar for marketpostcard
0
375
Member Avatar for mexabet

Please, I need a code that is capable of preventing SEOQuake from loading on my websites, even if a user has installed the plug-in. For example, Google, Yahoo and Bing implements such feature. I just don't want it to load whenever anybody visits my sites.

Member Avatar for mexabet
0
155

The End.